}
}
- /* Donot change state for slave link of bonded interfaces */
+ /* Do not change state for slave link of bonded interfaces */
if (si->flags & VNET_SW_INTERFACE_FLAG_BOND_SLAVE)
{
error = clib_error_return
{
config = vec_elt_at_index (l2input_main.configs, sw_if_index);
if (config->xconnect)
- set_int_l2_mode (vm, vnm, MODE_L3, config->output_sw_if_index, 0, 0,
- 0, 0);
+ set_int_l2_mode (vm, vnm, MODE_L3, config->output_sw_if_index, 0,
+ L2_BD_PORT_TYPE_NORMAL, 0, 0);
if (config->xconnect || config->bridge)
- set_int_l2_mode (vm, vnm, MODE_L3, sw_if_index, 0, 0, 0, 0);
+ set_int_l2_mode (vm, vnm, MODE_L3, sw_if_index, 0,
+ L2_BD_PORT_TYPE_NORMAL, 0, 0);
}
vnet_clear_sw_interface_tag (vnm, sw_if_index);
vlib_node_fn_registration_t *fnr = c->tx_fn_registrations;
int priority = -1;
- /* to avoid confusion, please remove ".tx_function" statiement
+ /* to avoid confusion, please remove ".tx_function" statement
from VNET_DEVICE_CLASS() if using function candidates */
ASSERT (c->tx_function == 0);
case IP_LOOKUP_NEXT_ARP:
case IP_LOOKUP_NEXT_BCAST:
/*
- * default rewirte in neighbour adj
+ * default rewrite in neighbour adj
*/
adj_nbr_update_rewrite
(ai,