net/virtio: revert not claiming LRO support
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 7 Sep 2017 12:13:38 +0000 (14:13 +0200)
committerYuanhan Liu <yliu@fridaylinux.org>
Tue, 10 Oct 2017 13:48:53 +0000 (15:48 +0200)
commitec9f3d122a58934a2c52ae984be7114d03234a11
tree26849d680ea3aebf0e909b6652723f44b30b04db
parent924da8f1c4f50ac2c45a2335cb2d5ff9616fc8e9
net/virtio: revert not claiming LRO support

This reverts
commit 701a64622c26 ("net/virtio: do not claim to support LRO")

Setting rxmode->enable_lro is a way to tell the host that the guest is
ok to receive tso packets. From the guest point of view, it is like
enabling LRO on a physical driver.

Fixes: 701a64622c26 ("net/virtio: do not claim to support LRO")
Cc: stable@dpdk.org
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
drivers/net/virtio/virtio_ethdev.c