[v3] net/avf: update Tx offload mask
diff mbox series

Message ID 20181116152500.88135-1-zhirun.yan@intel.com
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • [v3] net/avf: update Tx offload mask
Related show

Checks

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

Commit Message

Yan, Zhirun Nov. 16, 2018, 3:25 p.m. UTC
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")

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

Comments

Ferruh Yigit Nov. 16, 2018, 3:30 p.m. UTC | #1
On 11/16/2018 3:25 PM, Zhirun Yan wrote:
> 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")
> 
> Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.

Patch
diff mbox series

diff --git a/drivers/net/avf/avf_rxtx.h b/drivers/net/avf/avf_rxtx.h
index 898d2f387..ffc835d44 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 |		 \