net/cxgbe: announce Tx multi-segments offload
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Tue, 14 Jan 2020 09:43:22 +0000 (15:13 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
Multi-segs Tx is already supported by CXGBE PMD. So, add the missing
DEV_TX_OFFLOAD_MULTI_SEGS flag to the list of supported Tx offload
features.

Fixes: 436125e64174 ("net/cxgbe: update to Rx/Tx offload API")
Cc: stable@dpdk.org
Reported-by: Chas Williams <3chas3@gmail.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/cxgbe.h

index 6c1f73a..75a2e99 100644 (file)
@@ -40,7 +40,8 @@
                           DEV_TX_OFFLOAD_IPV4_CKSUM | \
                           DEV_TX_OFFLOAD_UDP_CKSUM | \
                           DEV_TX_OFFLOAD_TCP_CKSUM | \
-                          DEV_TX_OFFLOAD_TCP_TSO)
+                          DEV_TX_OFFLOAD_TCP_TSO | \
+                          DEV_TX_OFFLOAD_MULTI_SEGS)
 
 #define CXGBE_RX_OFFLOADS (DEV_RX_OFFLOAD_VLAN_STRIP | \
                           DEV_RX_OFFLOAD_IPV4_CKSUM | \