X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fcustom_dump.c;h=d0b5dac484477736611ad17a921591a4c6802b89;hb=e2fe09742;hp=4a2c2cb7838630db68efbcec91cc888cbd401b3b;hpb=2b202bc4b2d870d76bfe6fb1906ae62e253cec72;p=vpp.git diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 4a2c2cb7838..d0b5dac4844 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include @@ -645,6 +644,8 @@ __clib_unused s = format (s, "packed "); if ((mp->virtio_flags) & VIRTIO_API_FLAG_IN_ORDER) s = format (s, "in-order "); + if ((mp->virtio_flags) & VIRTIO_API_FLAG_BUFFERING) + s = format (s, "buffering "); FINISH; } @@ -1537,45 +1538,6 @@ static void *vl_api_sw_interface_set_vxlan_gbp_bypass_t_print FINISH; } -static void *vl_api_gre_tunnel_add_del_t_print - (vl_api_gre_tunnel_add_del_t * mp, void *handle) -{ - u8 *s; - - s = format (0, "SCRIPT: gre_tunnel_add_del "); - - s = format (s, "dst %U ", format_vl_api_address, &mp->tunnel.dst); - s = format (s, "src %U ", format_vl_api_address, &mp->tunnel.src); - - s = format (s, "instance %d ", (mp->tunnel.instance)); - - if (mp->tunnel.type == GRE_API_TUNNEL_TYPE_TEB) - s = format (s, "teb "); - - if (mp->tunnel.type == GRE_API_TUNNEL_TYPE_ERSPAN) - s = format (s, "erspan %d ", (mp->tunnel.session_id)); - - if (mp->tunnel.outer_table_id) - s = format (s, "outer-table-id %d ", mp->tunnel.outer_table_id); - - if (mp->is_add == 0) - s = format (s, "del "); - - FINISH; -} - -static void *vl_api_gre_tunnel_dump_t_print - (vl_api_gre_tunnel_dump_t * mp, void *handle) -{ - u8 *s; - - s = format (0, "SCRIPT: gre_tunnel_dump "); - - s = format (s, "sw_if_index %d ", (mp->sw_if_index)); - - FINISH; -} - static void *vl_api_l2_fib_clear_table_t_print (vl_api_l2_fib_clear_table_t * mp, void *handle) { @@ -2211,26 +2173,6 @@ static void *vl_api_mpls_route_dump_t_print FINISH; } -static void *vl_api_ip_table_dump_t_print - (vl_api_ip_table_dump_t * mp, void *handle) -{ - u8 *s; - - s = format (0, "SCRIPT: ip_table_dump "); - - FINISH; -} - -static void *vl_api_ip_route_dump_t_print - (vl_api_ip_route_dump_t * mp, void *handle) -{ - u8 *s; - - s = format (0, "SCRIPT: ip_route_dump "); - - FINISH; -} - static void *vl_api_classify_table_ids_t_print (vl_api_classify_table_ids_t * mp, void *handle) { @@ -3090,8 +3032,6 @@ _(ADD_NODE_NEXT, add_node_next) \ _(VXLAN_ADD_DEL_TUNNEL, vxlan_add_del_tunnel) \ _(VXLAN_TUNNEL_DUMP, vxlan_tunnel_dump) \ _(VXLAN_OFFLOAD_RX, vxlan_offload_rx) \ -_(GRE_TUNNEL_ADD_DEL, gre_tunnel_add_del) \ -_(GRE_TUNNEL_DUMP, gre_tunnel_dump) \ _(L2_FIB_CLEAR_TABLE, l2_fib_clear_table) \ _(L2_INTERFACE_EFP_FILTER, l2_interface_efp_filter) \ _(L2_INTERFACE_VLAN_TAG_REWRITE, l2_interface_vlan_tag_rewrite) \ @@ -3168,8 +3108,6 @@ _(FLOW_CLASSIFY_DUMP, flow_classify_dump) \ _(GET_FIRST_MSG_ID, get_first_msg_id) \ _(IOAM_ENABLE, ioam_enable) \ _(IOAM_DISABLE, ioam_disable) \ -_(IP_TABLE_DUMP, ip_table_dump) \ -_(IP_ROUTE_DUMP, ip_route_dump) \ _(FEATURE_ENABLE_DISABLE, feature_enable_disable) \ _(FEATURE_GSO_ENABLE_DISABLE, feature_gso_enable_disable) \ _(SW_INTERFACE_TAG_ADD_DEL, sw_interface_tag_add_del) \