From: Zhirun Yan Date: Fri, 16 Nov 2018 15:25:00 +0000 (+0000) Subject: net/avf: fix Tx offload mask X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d31c844435e6aba171a41a47dd5818fe8c498337;p=dpdk.git net/avf: fix 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 AVF_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/avf/avf_rxtx.h b/drivers/net/avf/avf_rxtx.h index 898d2f387f..ffc835d448 100644 --- a/drivers/net/avf/avf_rxtx.h +++ b/drivers/net/avf/avf_rxtx.h @@ -43,6 +43,10 @@ PKT_TX_TCP_SEG) #define AVF_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 | \