aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/virtio.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2023-05-24 11:25:39 +0000
committerBeno�t Ganne <bganne@cisco.com>2023-05-30 09:15:25 +0000
commit562ac2f4e4f55b6337570567eaf8f3f0def62d3f (patch)
tree3f8080abca88d352cf89c2e186fe83527a3101aa /src/vnet/devices/virtio/virtio.c
parent7280e3f866727813a706c3ac10ffbea3949ebf08 (diff)
virtio: fix the packet buffering initialization order
Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Idada695432d2bfac8808f35f1e8cd16f84d963c6
Diffstat (limited to 'src/vnet/devices/virtio/virtio.c')
-rw-r--r--src/vnet/devices/virtio/virtio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/virtio.c b/src/vnet/devices/virtio/virtio.c
index 33af8b8c455..2d393656b39 100644
--- a/src/vnet/devices/virtio/virtio.c
+++ b/src/vnet/devices/virtio/virtio.c
@@ -207,7 +207,6 @@ virtio_set_packet_buffering (virtio_if_t * vif, u16 buffering_size)
vnet_hw_interface_t *hw = vnet_get_hw_interface (vnm, vif->hw_if_index);
vnet_virtio_vring_t *vring;
clib_error_t *error = 0;
- vif->packet_buffering = 1;
vec_foreach (vring, vif->txq_vrings)
{