Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
57d7321
)
tap: fix the numa/queue for buffers
90/25990/4
author
Mohsin Kazmi
<sykazmi@cisco.com>
Wed, 18 Mar 2020 12:17:00 +0000
(13:17 +0100)
committer
Damjan Marion
<dmarion@me.com>
Mon, 23 Mar 2020 13:00:38 +0000
(13:00 +0000)
Type: fix
Change-Id: Ib320171708bebde6d1dae0b2c665f9bcfc9102db
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vnet/devices/tap/tap.c
patch
|
blob
|
history
diff --git
a/src/vnet/devices/tap/tap.c
b/src/vnet/devices/tap/tap.c
index
e17d01d
..
59c1531
100644
(file)
--- a/
src/vnet/devices/tap/tap.c
+++ b/
src/vnet/devices/tap/tap.c
@@
-667,10
+667,10
@@
tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args)
vnet_hw_interface_assign_rx_thread (vnm, vif->hw_if_index, i, ~0);
vnet_hw_interface_set_rx_mode (vnm, vif->hw_if_index, i,
VNET_HW_INTERFACE_RX_MODE_DEFAULT);
+ virtio_vring_set_numa_node (vm, vif, RX_QUEUE (i));
}
vif->per_interface_next_index = ~0;
- virtio_vring_set_numa_node (vm, vif, RX_QUEUE (0));
vif->flags |= VIRTIO_IF_FLAG_ADMIN_UP;
vnet_hw_interface_set_flags (vnm, vif->hw_if_index,
VNET_HW_INTERFACE_FLAG_LINK_UP);