[dpdk-dev] [PATCH 01/38] eal: add support for 24 40 and 48 bit operations

Bruce Richardson bruce.richardson at intel.com
Fri Jun 16 10:57:19 CEST 2017


On Fri, Jun 16, 2017 at 11:10:31AM +0530, Shreyansh Jain wrote:
> From: Hemant Agrawal <hemant.agrawal at nxp.com>
> 
> Bit Swap and LE<=>BE conversions for 23, 40 and 48 bit width
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---
>  .../common/include/generic/rte_byteorder.h         | 78 ++++++++++++++++++++++
>  1 file changed, 78 insertions(+)
> 
Are these really common enough for inclusion in an generic EAL file?
Would they be better being driver specific, so that we don't end up with
lots of extra byte-swap routines for each possible size used by a
driver.

/Bruce


More information about the dev mailing list