net/failsafe: add TCP TSO default Tx capability
authorOphir Munk <ophirmu@mellanox.com>
Tue, 10 Apr 2018 06:17:00 +0000 (06:17 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:41 +0000 (17:34 +0100)
Add DEV_TX_OFFLOAD_TCP_TSO to failsafe Tx offload default capabilities.
The net result of failsafe Tx capabilities is the logical AND of Tx
capabilities among all failsafe sub_devices and failsafe own default
capabilities.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_ops.c

index 61cff9e..6d44884 100644 (file)
@@ -81,7 +81,8 @@ static struct rte_eth_dev_info default_infos = {
                DEV_TX_OFFLOAD_MULTI_SEGS |
                DEV_TX_OFFLOAD_IPV4_CKSUM |
                DEV_TX_OFFLOAD_UDP_CKSUM |
-               DEV_TX_OFFLOAD_TCP_CKSUM,
+               DEV_TX_OFFLOAD_TCP_CKSUM |
+               DEV_TX_OFFLOAD_TCP_TSO,
        .flow_type_rss_offloads = 0x0,
 };