Reduce resource usage on virtio polling, also avoid potential (undiagnosed) dataplane lockup when running multiple threads: just poll with one RX queue per TAP
This commit is contained in:
@ -942,7 +942,7 @@ lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name,
|
||||
else
|
||||
{
|
||||
tap_create_if_args_t args = {
|
||||
.num_rx_queues = clib_max (1, vlib_num_workers ()),
|
||||
.num_rx_queues = 1,
|
||||
.id = hw->hw_if_index,
|
||||
.sw_if_index = ~0,
|
||||
.rx_ring_sz = 256,
|
||||
|
Reference in New Issue
Block a user