[dpdk-dev] [PATCH v6 1/9] mbuf: new function to generate raw Tx offload value

Olivier Matz olivier.matz at 6wind.com
Tue Apr 2 10:49:00 CEST 2019


On Tue, Apr 02, 2019 at 09:34:36AM +0100, Konstantin Ananyev wrote:
> Operations to set/update bit-fields often cause compilers
> to generate suboptimal code.
> To help avoid such situation for tx_offload fields:
> introduce new enum for tx_offload bit-fields lengths and offsets,
> and new function to generate raw tx_offload value.
> Add new test-case into UT for introduced function.
> 
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> Acked-by: Akhil Goyal <akhil.goyal at nxp.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Thanks


More information about the dev mailing list