[dpdk-dev] [PATCH v3 0/7] support generic tunnel Tx checksum and TSO
Xueming Li
xuemingl at mellanox.com
Mon Mar 5 15:51:14 CET 2018
- Add VXLAN-GPE and GRE extention support to testpmd csum forwarding enginee
- Split DEV_TX_OFFLOAD_GENERIC_TNL_CKSUM_TSO into DEV_TX_OFFLOAD_GENERIC_TNL_CKSUM
and DEV_TX_OFFLOAD_GENERIC_TNL_TSO
- Add PKT_TX_TUNNEL_UNKNOWN and PKT_TX_OUTER_UDP
http://www.dpdk.org/dev/patchwork/patch/34655/
This patchset add new HW TX capability of generic tunnel checksum and TSO
offloads, HW supporting generic tunnel offloading could handle new tunnel
type offloading w/o upgrading HW.
This is achieved by informing HW offsets and types of headers, HW would
do calculation and TSO segments based on packet inner and outer headers offset
regardless of tunnel type.
Xueming Li (7):
ethdev: introduce Tx generic tunnel L3/L4 offload
app/testpmd: testpmd support Tx generic tunnel offloads
app/testpmd: add more GRE extension to csum engine
app/testpmd: introduce VXLAN GPE to csum forwarding engine
net/mlx5: separate TSO function in Tx data path
net/mlx5: support generic tunnel offloading
net/mlx5: allow max 192B TSO inline header length
app/test-pmd/cmdline.c | 9 +-
app/test-pmd/config.c | 18 +++
app/test-pmd/csumonly.c | 117 +++++++++++++++++--
app/test-pmd/parameters.c | 12 +-
app/test-pmd/testpmd.h | 2 +
doc/guides/nics/mlx5.rst | 8 ++
doc/guides/testpmd_app_ug/run_app.rst | 5 +
drivers/net/mlx5/Makefile | 5 +
drivers/net/mlx5/mlx5.c | 28 ++++-
drivers/net/mlx5/mlx5.h | 1 +
drivers/net/mlx5/mlx5_defs.h | 2 +-
drivers/net/mlx5/mlx5_ethdev.c | 4 +-
drivers/net/mlx5/mlx5_prm.h | 24 ++++
drivers/net/mlx5/mlx5_rxtx.c | 208 ++++++++++++++++++++++++----------
drivers/net/mlx5/mlx5_rxtx.h | 98 ++++++++++++----
drivers/net/mlx5/mlx5_rxtx_vec.c | 9 +-
drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +-
drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +-
drivers/net/mlx5/mlx5_txq.c | 12 +-
lib/librte_ether/rte_ethdev.h | 24 ++++
lib/librte_mbuf/rte_mbuf.c | 5 +
lib/librte_mbuf/rte_mbuf.h | 18 ++-
22 files changed, 500 insertions(+), 113 deletions(-)
--
2.13.3
More information about the dev
mailing list