]> git.droids-corp.org - dpdk.git/commitdiff
net/virtio: do not use simple Rx if TCP LRO or VLAN strip
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 2 Jul 2018 15:25:46 +0000 (17:25 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 4 Jul 2018 15:03:48 +0000 (17:03 +0200)
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
drivers/net/virtio/virtio_ethdev.c

index 1d223d02978ad48fc092fe4995ebf97299d1d894..15d5b4f79a82323c342d9cc7e410236d397a1071 100644 (file)
@@ -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;