summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZhirun Yan <zhirun.yan@intel.com>2018-10-25 14:58:40 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2018-10-26 22:14:06 +0200
commitaa1e69aebb12a57038f7ed5664605b7bcccbbe20 (patch)
tree54b6a60a0b09f06fe32106c9ab4ac815d2f2768c /drivers
parent93e11beebc49ad5ab7ea3d146da911caa8064bd1 (diff)
downloaddpdk-aa1e69aebb12a57038f7ed5664605b7bcccbbe20.zip
dpdk-aa1e69aebb12a57038f7ed5664605b7bcccbbe20.tar.gz
dpdk-aa1e69aebb12a57038f7ed5664605b7bcccbbe20.tar.xz
net/ixgbe: update Tx offload mask
Tx offload mask is updated in following commit: commit 1037ed842c37 ("mbuf: fix Tx offload mask"). Currently, the new added offload flags are not supported in PMD and application will fail to call PMD transmit prepare function. This patch updates IXGBE_TX_OFFFLOAD_MASK. Fixes: 1037ed842c37 ("mbuf: fix Tx offload mask") Cc: stable@dpdk.org Signed-off-by: Zhirun Yan <zhirun.yan@intel.com> Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ixgbe/ixgbe_rxtx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c
index 9e2fbba..2f0262a 100644
--- a/drivers/net/ixgbe/ixgbe_rxtx.c
+++ b/drivers/net/ixgbe/ixgbe_rxtx.c
@@ -58,6 +58,10 @@
#endif
/* Bit Mask to indicate what bits required for building TX context */
#define IXGBE_TX_OFFLOAD_MASK ( \
+ PKT_TX_OUTER_IPV6 | \
+ PKT_TX_OUTER_IPV4 | \
+ PKT_TX_IPV6 | \
+ PKT_TX_IPV4 | \
PKT_TX_VLAN_PKT | \
PKT_TX_IP_CKSUM | \
PKT_TX_L4_MASK | \