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

Akhil Goyal akhil.goyal at nxp.com
Mon Apr 1 15:18:40 CEST 2019


Hi Olivier,

Could you please review this. We have an RC1 deadline.
If no further comments, could you please Ack?

Thanks,
Akhil

On 4/1/2019 6:26 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>
> Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
> ---
>   lib/librte_mbuf/rte_mbuf.h | 81 ++++++++++++++++++++++++++++++++++----
>   1 file changed, 74 insertions(+), 7 deletions(-)
>



More information about the dev mailing list