From: Zhirun Yan Date: Mon, 5 Nov 2018 12:56:44 +0000 (+0000) Subject: net/igb: update Tx offload mask X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ac60b2de4f551be7486292cd8c555f4dd955944a;p=dpdk.git 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 Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index 25ff5f68fa..ab0a80e15d 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 | \