summaryrefslogtreecommitdiff
path: root/drivers/net/i40e
diff options
context:
space:
mode:
authorBeilei Xing <beilei.xing@intel.com>2018-10-23 14:14:31 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2018-10-26 22:14:06 +0200
commite4845bb4a68513c477dd35fcdcb086681788be7d (patch)
treee849f981b3625b4efb5f002acda1379dcb792f08 /drivers/net/i40e
parent6e8110cca64f69814ccb493efb5471f6e948ba44 (diff)
downloaddpdk-next-eventdev-e4845bb4a68513c477dd35fcdcb086681788be7d.zip
dpdk-next-eventdev-e4845bb4a68513c477dd35fcdcb086681788be7d.tar.gz
dpdk-next-eventdev-e4845bb4a68513c477dd35fcdcb086681788be7d.tar.xz
net/i40e: 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 PMD Tx offload mask. Cc: stable@dpdk.org Signed-off-by: Beilei Xing <beilei.xing@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Diffstat (limited to 'drivers/net/i40e')
-rw-r--r--drivers/net/i40e/i40e_rxtx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index b15dd67..8bfa251 100644
--- a/drivers/net/i40e/i40e_rxtx.c
+++ b/drivers/net/i40e/i40e_rxtx.c
@@ -55,6 +55,10 @@
PKT_TX_OUTER_IP_CKSUM)
#define I40E_TX_OFFLOAD_MASK ( \
+ PKT_TX_OUTER_IPV4 | \
+ PKT_TX_OUTER_IPV6 | \
+ PKT_TX_IPV4 | \
+ PKT_TX_IPV6 | \
PKT_TX_IP_CKSUM | \
PKT_TX_L4_MASK | \
PKT_TX_OUTER_IP_CKSUM | \