git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4174a7b
)
net/virtio: do not use simple Rx if TCP LRO or VLAN strip
author
Maxime Coquelin
<maxime.coquelin@redhat.com>
Mon, 2 Jul 2018 15:25:46 +0000
(17:25 +0200)
committer
Ferruh 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
patch
|
blob
|
history
diff --git
a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index
1d223d0
..
15d5b4f
100644
(file)
--- 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;