Skip to contentSkip to conversation

net/e1000: update Tx offload mask

PATCH Applied Zhirun Yan 2 participants 2 messages Nov 5, 2018 Network drivers

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore

Zhirun Yan

author
#0 lore raw

PATCH 1/1 net/e1000: 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")
---
 drivers/net/e1000/igb_rxtx.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/e1000/igb_rxtx.c +4 -0
index 25ff5f68f..ab0a80e15 100644
@@ -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 |		 \
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1 Applied
#1 lore raw
Quoted 10 lines · Zhirun Yan

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")

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