|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
44 else if (
unformat (line_input,
"enable"))
46 else if (
unformat (line_input,
"disable"))
64 case VNET_API_ERROR_INVALID_VALUE:
67 case VNET_API_ERROR_FEATURE_DISABLED:
81 .path =
"set interface feature gso",
82 .short_help =
"set interface feature gso <intfc> [enable | disable]",
#define clib_error_return(e, args...)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vnet_main_t * vnet_get_main(void)
int vnet_sw_interface_gso_enable_disable(u32 sw_if_index, u8 enable)
#define VLIB_CLI_COMMAND(x,...)
static vlib_cli_command_t set_interface_feature_gso_command
(constructor) VLIB_CLI_COMMAND (set_interface_feature_gso_command)
unformat_function_t unformat_vnet_sw_interface
vl_api_interface_index_t sw_if_index
static clib_error_t * set_interface_feature_gso_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)