From 3985ea528a9b74a49af4c8b557b7e145a21692af Mon Sep 17 00:00:00 2001 From: Shahed Shaikh Date: Wed, 21 Nov 2018 21:20:49 +0000 Subject: [PATCH] net/qede: fix Tx offload mask Following commit updated the Tx offload mask commit 1037ed842c37 ("mbuf: fix Tx offload mask"). So, not having PKT_TX_IPV6 and PKT_TX_IPV4 in qede PMDs supported Tx offload mask breaks TSO support since application will fail in transmit prepare function. Fixes: 1037ed842c37 ("mbuf: fix Tx offload mask") Cc: stable@dpdk.org Signed-off-by: Shahed Shaikh --- drivers/net/qede/qede_rxtx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_rxtx.h b/drivers/net/qede/qede_rxtx.h index 0afadd8da3..454daa07b5 100644 --- a/drivers/net/qede/qede_rxtx.h +++ b/drivers/net/qede/qede_rxtx.h @@ -149,7 +149,9 @@ PKT_TX_TCP_CKSUM | \ PKT_TX_UDP_CKSUM | \ PKT_TX_OUTER_IP_CKSUM | \ - PKT_TX_TCP_SEG) + PKT_TX_TCP_SEG | \ + PKT_TX_IPV4 | \ + PKT_TX_IPV6) #define QEDE_TX_OFFLOAD_MASK (QEDE_TX_CSUM_OFFLOAD_MASK | \ PKT_TX_VLAN_PKT | \ -- 2.20.1