[dpdk-dev] [PATCH v3 1/8] mbuf: new function to generate raw Tx offload value
Akhil Goyal
akhil.goyal at nxp.com
Thu Mar 28 09:16:06 CET 2019
On 3/26/2019 9:13 PM, 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.
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> ---
> lib/librte_mbuf/rte_mbuf.h | 79 ++++++++++++++++++++++++++++++++++----
> 1 file changed, 72 insertions(+), 7 deletions(-)
>
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
More information about the dev
mailing list