aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-10-08 19:42:38 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-14 22:48:38 +0000
commit29467b5347dca90f4ef068ef8d34ffb97c2435f0 (patch)
tree12bb4855277976b75ca00dae19098f04aaf7e60d /src/vpp
parent26c7a4b0b6488423688f4a7f3c8aacf0d1b9c742 (diff)
gso: Add gso feature arc
Type: refactor Change-Id: Ib4a8e7e64093b2db1deda6663325080bc8337605 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp')
-rw-r--r--src/vpp/api/custom_dump.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index 14da1242335..66a17b27cb1 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -3475,6 +3475,21 @@ static void *vl_api_feature_enable_disable_t_print
FINISH;
}
+static void *vl_api_feature_gso_enable_disable_t_print
+ (vl_api_feature_gso_enable_disable_t * mp, void *handle)
+{
+ u8 *s;
+
+ s = format (0, "SCRIPT: feature_gso_enable_disable ");
+ s = format (s, "sw_if_index %d ", ntohl (mp->sw_if_index));
+ if (mp->enable_disable)
+ s = format (s, "enable");
+ if (!mp->enable_disable)
+ s = format (s, "disable");
+
+ FINISH;
+}
+
static void *vl_api_sw_interface_tag_add_del_t_print
(vl_api_sw_interface_tag_add_del_t * mp, void *handle)
{
@@ -3866,6 +3881,7 @@ _(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) \
_(HW_INTERFACE_SET_MTU, hw_interface_set_mtu) \
_(P2P_ETHERNET_ADD, p2p_ethernet_add) \