net/ixgbe: fix Rx LRO capability offload for x550
authorWei Zhao <wei.zhao1@intel.com>
Fri, 30 Nov 2018 07:50:30 +0000 (15:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 16:40:25 +0000 (16:40 +0000)
X550 does support LRO offload.

Fixes: 8eecb3295aed ("ixgbe: add LRO support")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c

index ddc7efa..7771d0e 100644 (file)
@@ -2867,7 +2867,8 @@ ixgbe_get_rx_port_offloads(struct rte_eth_dev *dev)
         * mode.
         */
        if ((hw->mac.type == ixgbe_mac_82599EB ||
-            hw->mac.type == ixgbe_mac_X540) &&
+            hw->mac.type == ixgbe_mac_X540 ||
+            hw->mac.type == ixgbe_mac_X550) &&
            !RTE_ETH_DEV_SRIOV(dev).active)
                offloads |= DEV_RX_OFFLOAD_TCP_LRO;