From: Maxime Coquelin Date: Mon, 2 Jul 2018 15:25:46 +0000 (+0200) Subject: net/virtio: do not use simple Rx if TCP LRO or VLAN strip X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2f901132510787c4aaf082e89491422ccdc8c692;p=dpdk.git net/virtio: do not use simple Rx if TCP LRO or VLAN strip Signed-off-by: Maxime Coquelin Reviewed-by: Tiwei Bie --- diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 1d223d0297..15d5b4f79a 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -1909,7 +1909,9 @@ virtio_dev_configure(struct rte_eth_dev *dev) } if (rx_offloads & (DEV_RX_OFFLOAD_UDP_CKSUM | - DEV_RX_OFFLOAD_TCP_CKSUM)) + DEV_RX_OFFLOAD_TCP_CKSUM | + DEV_RX_OFFLOAD_TCP_LRO | + DEV_RX_OFFLOAD_VLAN_STRIP)) hw->use_simple_rx = 0; return 0;