[dpdk-dev] [PATCH 1/9] cryptodev: add feature flag for non-byte aligned data
Trahe, Fiona
fiona.trahe at intel.com
Tue May 5 14:04:07 CEST 2020
Hi Akhil,
> -----Original Message-----
> From: Akhil Goyal <akhil.goyal at nxp.com>
> Sent: Tuesday, May 5, 2020 11:13 AM
> To: Trahe, Fiona <fiona.trahe at intel.com>; dev at dpdk.org
> Cc: Ruifeng.Wang at arm.com; Doherty, Declan <declan.doherty at intel.com>; asomalap at amd.com;
> anoobj at marvell.com; Zhang, Roy Fan <roy.fan.zhang at intel.com>; tdu at semihalf.com;
> rnagadheeraj at marvell.com; adwivedi at marvell.com; Gagandeep Singh <G.Singh at nxp.com>; Hemant
> Agrawal <hemant.agrawal at nxp.com>; jianjay.zhou at huawei.com; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>
> Subject: RE: [PATCH 1/9] cryptodev: add feature flag for non-byte aligned data
>
> Hi Fiona,
> >
> > Hi Akhil,
> >
> > >
> > > Some wireless algos like SNOW, ZUC may support input
> > > data in bits which are not byte aligned. However, not
> > > all PMDs can support this requirement. Hence added a
> > > new feature flag RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA
> > > to identify which all PMDs can support non-byte aligned
> > > data.
> > [Fiona] I know it's a bit pedantic, but shouldn't this really be called
> > NON_BYTE_MULTIPLE?
> >
> > As a non-byte-multiple data set could have its start byte-aligned, but still not be
> > supported.
> >
> The intention is to have both start as well as end to be byte aligned.
> Is there some PMD which can support unaligned byte data but still multiples of byte?
[Fiona] no, true - anything which can support non-byte-aligned can presumably support non-byte-multiples.
So I withdraw my suggestion. In that case:
Acked-by: Fiona Trahe <fiona.trahe at intel.com>
> BTW I did not see any example in the current test cases which support unaligned bytes data.
>
> Regards,
> Akhil
More information about the dev
mailing list