[v1] 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.

Message ID 20181116083249.37640-1-zhirun.yan@intel.com (mailing list archive)
State Superseded, archived
Headers
Series [v1] 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. |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Yan, Zhirun Nov. 16, 2018, 8:32 a.m. UTC
  This patch updates AVF_TX_OFFFLOAD_MASK.

Fixes: 1037ed842c37 ("mbuf: fix Tx offload mask")

Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
---
 drivers/net/avf/avf_rxtx.h | 5 +++++
 1 file changed, 5 insertions(+)
  

Patch

diff --git a/drivers/net/avf/avf_rxtx.h b/drivers/net/avf/avf_rxtx.h
index 898d2f387..eece73b1d 100644
--- a/drivers/net/avf/avf_rxtx.h
+++ b/drivers/net/avf/avf_rxtx.h
@@ -43,6 +43,11 @@ 
 		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_UDP_SEG |		 \
 		PKT_TX_VLAN_PKT |		 \
 		PKT_TX_IP_CKSUM |		 \
 		PKT_TX_L4_MASK |		 \