numam-dpdk/lib/librte_mbuf
Konstantin Ananyev 8d9c2c3a1f mbuf: add function to generate raw Tx offload value
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@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2019-04-02 16:50:24 +02:00
..
Makefile mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
meson.build mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf_pool_ops.c mbuf: remove experimental tag from pool ops 2018-07-26 23:37:08 +02:00
rte_mbuf_pool_ops.h mbuf: remove experimental tag from pool ops 2018-07-26 23:37:08 +02:00
rte_mbuf_ptype.c mbuf: add IGMP packet type 2018-10-25 15:51:16 +02:00
rte_mbuf_ptype.h mbuf: add IGMP packet type 2018-10-25 15:51:16 +02:00
rte_mbuf_version.map mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf.c mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf.h mbuf: add function to generate raw Tx offload value 2019-04-02 16:50:24 +02:00