net/virtio: do not use simple Rx if TCP LRO or VLAN strip
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
This commit is contained in:
parent
4174a7b59d
commit
2f90113251
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user