From 77770b34017ec67b03f62dba3b34d2e0e94153a9 Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Fri, 11 Sep 2015 10:00:16 +0800 Subject: [PATCH] ixgbevf: fix TSO support When setting TSO on VF ixgbe NICs, for example, 82599, x550, the prompt that TSO is not supported will be printed. But TSO is supported by VF ixgbe NICs. We should add TSO to the capability flag, so, we will not see the wrong prompt. Signed-off-by: Wenzhuo Lu Acked-by: Jingjing Wu --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 74239a4bff..e929f6f911 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2426,7 +2426,8 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev, DEV_TX_OFFLOAD_IPV4_CKSUM | DEV_TX_OFFLOAD_UDP_CKSUM | DEV_TX_OFFLOAD_TCP_CKSUM | - DEV_TX_OFFLOAD_SCTP_CKSUM; + DEV_TX_OFFLOAD_SCTP_CKSUM | + DEV_TX_OFFLOAD_TCP_TSO; dev_info->default_rxconf = (struct rte_eth_rxconf) { .rx_thresh = { -- 2.20.1