Move back to multiple rx queues; and copy in the upstream change to autoassign a tap index ID, as the hw_if_index one could ba already taken (by tap create)
This commit is contained in:
@ -955,9 +955,9 @@ lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name,
|
||||
else
|
||||
{
|
||||
tap_create_if_args_t args = {
|
||||
.num_rx_queues = 1,
|
||||
.num_rx_queues = clib_max (1, vlib_num_workers ()),
|
||||
.num_tx_queues = 1,
|
||||
.id = hw->hw_if_index,
|
||||
.id = ~0,
|
||||
.sw_if_index = ~0,
|
||||
.rx_ring_sz = 256,
|
||||
.tx_ring_sz = 256,
|
||||
|
Reference in New Issue
Block a user