From: Tiwei Bie Date: Mon, 11 Dec 2017 05:13:30 +0000 (+0800) Subject: net/virtio: fix typo in LRO support X-Git-Tag: spdx-start~522 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b628cb242941170c938dec96dec96b65be4c17f9;p=dpdk.git net/virtio: fix typo in LRO support Fixes: 86d59b21468a ("net/virtio: support LRO") Fixes: ec9f3d122a58 ("net/virtio: revert not claiming LRO support") Cc: stable@dpdk.org Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin Acked-by: Yuanhan Liu --- diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 4b0fd854f1..b1e4cc152f 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -1725,7 +1725,7 @@ virtio_dev_configure(struct rte_eth_dev *dev) if (rxmode->enable_lro && (!vtpci_with_feature(hw, VIRTIO_NET_F_GUEST_TSO4) || - !vtpci_with_feature(hw, VIRTIO_NET_F_GUEST_TSO4))) { + !vtpci_with_feature(hw, VIRTIO_NET_F_GUEST_TSO6))) { PMD_DRV_LOG(ERR, "Large Receive Offload not available on this host"); return -ENOTSUP;