numam-dpdk/drivers/net/qede
Shahed Shaikh 49d3978d57 net/qede: fix Tx tunnel offload support mask
Tunneling offloads are represented by multi-bit values. So, feature
wise tunneling offload can only be entirely supported/unsupported
using PKT_TX_TUNNEL_MASK. Its upon PMDs to further isolate which of
the tunneling offload types are supported by respective PMD.
Using subset of bits from PKT_TX_TUNNEL_MASK to indicate supported vs
unsupported offloads can lead to undesired result.

Use PKT_TX_TUNNEL_MASK in QEDE_TX_OFFLOAD_MASK and use independent
value of supported PKT_TX_TUNNEL_* in .tx_pkt_prepare() to mark
supported tunnel offloads.

Fixes: 44346c24b7 ("net/qede: fix VXLAN tunnel Tx offload flag setting")
Cc: stable@dpdk.org

Suggested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
Reviewed-by: Rasesh Mody <rasesh.mody@cavium.com>
2018-11-14 00:35:53 +01:00
..
base net/qede/base: fix to initialize HW for LLH filters 2018-11-05 15:01:25 +01:00
Makefile net/qede: reorganize filter code 2018-09-28 01:41:01 +02:00
meson.build net/qede: reorganize filter code 2018-09-28 01:41:01 +02:00
qede_ethdev.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
qede_ethdev.h drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
qede_filter.c net/qede: support generic flow API 2018-09-28 01:41:01 +02:00
qede_if.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
qede_logs.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
qede_main.c net/qede/base: fix to initialize HW for LLH filters 2018-11-05 15:01:25 +01:00
qede_rxtx.c net/qede: fix Tx tunnel offload support mask 2018-11-14 00:35:53 +01:00
qede_rxtx.h net/qede: fix Tx tunnel offload support mask 2018-11-14 00:35:53 +01:00
rte_pmd_qede_version.map qede: add core driver 2016-05-06 15:51:22 +02:00