diff options
author | 2020-02-14 12:09:04 +0000 | |
---|---|---|
committer | 2020-02-15 12:50:47 +0000 | |
commit | 9f32b6acada965d61236fd112445297fc22b60c7 (patch) | |
tree | e34689719819ea35afb78ed8c3484899b8c0d728 /src/vpp | |
parent | 985d9293a08dc3da016fbeeaa3f8fff10e1b504e (diff) |
tap: fix the default parameter for num_rx_queues
Type: fix
Change-Id: I1a20fea56f1ba1fada7c7ce96ea333bf097b1273
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/api/custom_dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index f79f7cc9a7d..c155039a4a6 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -571,6 +571,8 @@ static void *vl_api_tap_create_v2_t_print s = format (s, "host-ip6-gw %U ", format_ip6_address, mp->host_ip6_prefix.address); + if (mp->num_rx_queues) + s = format (s, "num_rx_queues %u ", mp->num_rx_queues); if (mp->tx_ring_sz) s = format (s, "tx-ring-size %u ", (mp->tx_ring_sz)); if (mp->rx_ring_sz) |