summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhirun Yan <zhirun.yan@intel.com>2018-11-05 12:56:44 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2018-11-05 15:01:25 +0100
commitac60b2de4f551be7486292cd8c555f4dd955944a (patch)
tree678feb7208161063670805a7a81a3bf32697a749
parentc1cfb132fa864cb6d7f57c3376d64513b74987b9 (diff)
downloaddpdk-ac60b2de4f551be7486292cd8c555f4dd955944a.zip
dpdk-ac60b2de4f551be7486292cd8c555f4dd955944a.tar.gz
dpdk-ac60b2de4f551be7486292cd8c555f4dd955944a.tar.xz
net/igb: update Tx offload mask
Tx offload mask is updated in following 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 IGB_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: Ferruh Yigit <ferruh.yigit@intel.com>
-rw-r--r--drivers/net/e1000/igb_rxtx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index 25ff5f6..ab0a80e 100644
--- a/drivers/net/e1000/igb_rxtx.c
+++ b/drivers/net/e1000/igb_rxtx.c
@@ -50,6 +50,10 @@
#endif
/* Bit Mask to indicate what bits required for building TX context */
#define IGB_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 | \