Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
virtio: fix the gro enable/disable on tx-vrings
[vpp.git]
/
src
/
vnet
/
devices
/
virtio
/
virtio.c
diff --git
a/src/vnet/devices/virtio/virtio.c
b/src/vnet/devices/virtio/virtio.c
index
ec22a0d
..
e74f378
100644
(file)
--- a/
src/vnet/devices/virtio/virtio.c
+++ b/
src/vnet/devices/virtio/virtio.c
@@
-226,6
+226,7
@@
virtio_set_packet_coalesce (virtio_if_t * vif)
vnet_main_t *vnm = vnet_get_main ();
vnet_hw_interface_t *hw = vnet_get_hw_interface (vnm, vif->hw_if_index);
virtio_vring_t *vring;
+ vif->packet_coalesce = 1;
vec_foreach (vring, vif->txq_vrings)
{
gro_flow_table_init (&vring->flow_table,