From 7eae645a3bc946a5afd2dc370e1396540b53d6c7 Mon Sep 17 00:00:00 2001 From: Ophir Munk Date: Tue, 10 Apr 2018 06:17:00 +0000 Subject: [PATCH] net/failsafe: add TCP TSO default Tx capability 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 Acked-by: Gaetan Rivet --- drivers/net/failsafe/failsafe_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_ops.c b/drivers/net/failsafe/failsafe_ops.c index 61cff9e6ab..6d44884b33 100644 --- a/drivers/net/failsafe/failsafe_ops.c +++ b/drivers/net/failsafe/failsafe_ops.c @@ -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, }; -- 2.20.1