From: Wei Dai Date: Tue, 17 Apr 2018 07:43:50 +0000 (+0800) Subject: net/ixgbe: fix missing support of multi-segs offloading X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=03c81b55d860ed1b72aae8f640e15a71e4f6d302;p=dpdk.git net/ixgbe: fix missing support of multi-segs offloading This patch adds missing supported Tx multi-segs offloading. Fixes: 51215925a32f ("net/ixgbe: convert to new Tx offloads API") Cc: stable@dpdk.org Signed-off-by: Wei Dai Tested-by: Lei Yao Acked-by: Konstantin Ananyev --- diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index 7511e183f6..aed3f5a9a6 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe/ixgbe_rxtx.c @@ -2429,7 +2429,8 @@ ixgbe_get_tx_port_offloads(struct rte_eth_dev *dev) DEV_TX_OFFLOAD_UDP_CKSUM | DEV_TX_OFFLOAD_TCP_CKSUM | DEV_TX_OFFLOAD_SCTP_CKSUM | - DEV_TX_OFFLOAD_TCP_TSO; + DEV_TX_OFFLOAD_TCP_TSO | + DEV_TX_OFFLOAD_MULTI_SEGS; if (hw->mac.type == ixgbe_mac_82599EB || hw->mac.type == ixgbe_mac_X540)