From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tiwei Bie Subject: [PATCH v2 2/4] net/virtio: fix typo in LRO support Date: Mon, 11 Dec 2017 13:13:30 +0800 Message-ID: <20171211051332.31888-3-tiwei.bie@intel.com> References: <20171207053059.19487-1-tiwei.bie@intel.com> <20171211051332.31888-1-tiwei.bie@intel.com> Cc: stable@dpdk.org To: yliu@fridaylinux.org, maxime.coquelin@redhat.com, dev@dpdk.org Return-path: In-Reply-To: <20171211051332.31888-1-tiwei.bie@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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 64a0cc608..9caa133c9 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -1754,7 +1754,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.13.3