From b628cb242941170c938dec96dec96b65be4c17f9 Mon Sep 17 00:00:00 2001 From: Tiwei Bie Date: Mon, 11 Dec 2017 13:13:30 +0800 Subject: [PATCH] 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 --- drivers/net/virtio/virtio_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1