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 (6): net/mlx5: support tx swp tunnel offloading net/mlx5: allow max 192B WQE TSO inline header length net/mlx5: add SWP PCI parameter for TX common tunnel offloads ethdev: introduce TX common tunnel offloads net/mlx5: support TX common tunnel offloads app/testpmd: testpmd support TX common tunnel offloads app/test-pmd/cmdline.c | 9 ++- app/test-pmd/config.c | 9 +++ drivers/net/mlx5/mlx5.c | 7 ++ drivers/net/mlx5/mlx5.h | 1 + drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_ethdev.c | 3 +- drivers/net/mlx5/mlx5_prm.h | 12 +++ drivers/net/mlx5/mlx5_rxtx.c | 163 ++++++++++++++++++++++++++--------------- drivers/net/mlx5/mlx5_rxtx.h | 94 +++++++++++++++++++----- drivers/net/mlx5/mlx5_txq.c | 4 + lib/librte_ether/rte_ethdev.h | 9 +++ 11 files changed, 234 insertions(+), 79 deletions(-) -- 2.13.3