diff mbox series

[v1] net/e1000: update Tx offload mask

Message ID 20181105125644.68765-1-zhirun.yan@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series [v1] net/e1000: update Tx offload mask | expand

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch warning coding style issues

Commit Message

Zhirun Yan Nov. 5, 2018, 12:56 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 IGB_TX_OFFFLOAD_MASK.

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

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

Comments

Ferruh Yigit Nov. 5, 2018, 11:58 a.m. UTC | #1
On 11/5/2018 12:56 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 IGB_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.
diff mbox series

Patch

diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index 25ff5f68f..ab0a80e15 100644
--- a/drivers/net/e1000/igb_rxtx.c
+++ b/drivers/net/e1000/igb_rxtx.c
@@ -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 |		 \