Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tap: add num_tx_queues API
[vpp.git]
/
src
/
plugins
/
linux-cp
/
lcp_interface.c
diff --git
a/src/plugins/linux-cp/lcp_interface.c
b/src/plugins/linux-cp/lcp_interface.c
index
b42e5cb
..
d044635
100644
(file)
--- a/
src/plugins/linux-cp/lcp_interface.c
+++ b/
src/plugins/linux-cp/lcp_interface.c
@@
-942,6
+942,7
@@
lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name,
{
tap_create_if_args_t args = {
.num_rx_queues = clib_max (1, vlib_num_workers ()),
{
tap_create_if_args_t args = {
.num_rx_queues = clib_max (1, vlib_num_workers ()),
+ .num_tx_queues = 1,
.id = hw->hw_if_index,
.sw_if_index = ~0,
.rx_ring_sz = 256,
.id = hw->hw_if_index,
.sw_if_index = ~0,
.rx_ring_sz = 256,