X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fcustom_dump.c;h=c155039a4a652d6509ab54e5aae8c7cd7f61a773;hb=9f32b6acada965d61236fd112445297fc22b60c7;hp=aba32e6f5f74b7ec638f3cf75230ced51025a3a7;hpb=6d4af8918c8d14aa609d6488f0793152f9ed1927;p=vpp.git diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index aba32e6f5f7..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) @@ -578,7 +580,9 @@ static void *vl_api_tap_create_v2_t_print if (mp->host_mtu_set) s = format (s, "host-mtu-size %u ", (mp->host_mtu_size)); if ((mp->tap_flags) & 0x1) - s = format (s, "gso-enabled"); + s = format (s, "gso-enabled "); + if ((mp->tap_flags) & 0x2) + s = format (s, "csum-offload-enabled"); FINISH; } @@ -1765,6 +1769,7 @@ static void *vl_api_sw_interface_vhost_user_dump_t_print u8 *s; s = format (0, "SCRIPT: sw_interface_vhost_user_dump "); + s = format (s, "sw_if_index %d ", (mp->sw_if_index)); FINISH; }