net/ixgbe: update PMD Tx offload mask
PATCH v2 1/1 net/ixgbe: update PMD Tx offload mask
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.
This patch updates IXGBE_TX_OFFFLOAD_MASK.
--- drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/ixgbe/ixgbe_rxtx.c +4 -0
@@ -58,6 +58,10 @@#endif /* Bit Mask to indicate what bits required for building TX context */ #define IXGBE_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
Quoted 19 lines · Zhirun Yan
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.This patch updates
IXGBE_TX_OFFFLOAD_MASK.Fixes 1037ed842c37 ("mbuf: fix Tx offload mask")Signed-off-by Zhirun Yan <[email protected]>---
drivers/net/ixgbe/ixgbe_rxtx.c| 4 ++++1 file changed, 4 insertions(+)drivers/net/ixgbe/ixgbe_rxtx.c +0
-0
drivers/net/ixgbe/ixgbe_rxtx.c line 67
Quoted 10 lines
drivers/net/ixgbe/ixgbe_rxtx.c +4
-0@@ -58,6 +58,10 @@#endif /* Bit Mask to indicate what bits required for building TX context */ #define IXGBE_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 | \
Thanks,
Xiaolong
Zhang, Qi Z
AppliedQuoted 34 lines
-----Original Message-----
From: Ye, Xiaolong
Sent: Thursday, October 25, 2018 2:45 AM
To: Yan, Zhirun <[email protected]>
Cc: [email protected]; Zhang, Qi Z <[email protected]>; Xing, Beilei <[email protected]>
Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: update PMD Tx offload maskQuoted 23 lines · Zhirun Yan
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.This patch updates
IXGBE_TX_OFFFLOAD_MASK.Fixes 1037ed842c37 ("mbuf: fix Tx offload mask")Signed-off-by Zhirun Yan <[email protected]>---
drivers/net/ixgbe/ixgbe_rxtx.c| 4 ++++1 file changed, 4 insertions(+)(quoted diff) +0
-0
b/drivers/net/ixgbe/ixgbe_rxtx.cindexe6f61c900..e462a03d8100644drivers/net/ixgbe/ixgbe_rxtx.c +1
-0@@ -58,6 +58,10 @@#endif /* Bit Mask to indicate what bits required for building TX context */ #define IXGBE_TX_OFFLOAD_MASK ( \ + PKT_TX_OUTER_IPV6 | \
Quoted 8 lines
drivers/net/ixgbe/ixgbe_rxtx.c line 67
Quoted 6 lines
drivers/net/ixgbe/ixgbe_rxtx.c +3
-0+PKT_TX_OUTER_IPV4 | \ +PKT_TX_IPV6 | \ +PKT_TX_IPV4 | \PKT_TX_VLAN_PKT | \PKT_TX_IP_CKSUM | \ PKT_TX_L4_MASK | \Reviewed-by Ye Xiaolong <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi
Quoted 3 lines
Thanks,
Xiaolong