fixstyle
This commit is contained in:
@ -75,9 +75,9 @@ lcp_itf_pair_sync_state (lcp_itf_pair_t *lip)
|
|||||||
if (sup_sw->mtu[VNET_MTU_L3] < sw->mtu[VNET_MTU_L3])
|
if (sup_sw->mtu[VNET_MTU_L3] < sw->mtu[VNET_MTU_L3])
|
||||||
{
|
{
|
||||||
LCP_ITF_PAIR_WARN ("sync_state: %U flags %u mtu %u sup-mtu %u: "
|
LCP_ITF_PAIR_WARN ("sync_state: %U flags %u mtu %u sup-mtu %u: "
|
||||||
"clamping to sup-mtu to satisfy netlink",
|
"clamping to sup-mtu to satisfy netlink",
|
||||||
format_lcp_itf_pair, lip, sw->flags,
|
format_lcp_itf_pair, lip, sw->flags,
|
||||||
sw->mtu[VNET_MTU_L3], sup_sw->mtu[VNET_MTU_L3]);
|
sw->mtu[VNET_MTU_L3], sup_sw->mtu[VNET_MTU_L3]);
|
||||||
vnet_sw_interface_set_mtu (vnet_get_main (), sw->sw_if_index,
|
vnet_sw_interface_set_mtu (vnet_get_main (), sw->sw_if_index,
|
||||||
sup_sw->mtu[VNET_MTU_L3]);
|
sup_sw->mtu[VNET_MTU_L3]);
|
||||||
vnet_netlink_set_link_mtu (lip->lip_vif_index, sup_sw->mtu[VNET_MTU_L3]);
|
vnet_netlink_set_link_mtu (lip->lip_vif_index, sup_sw->mtu[VNET_MTU_L3]);
|
||||||
|
@ -31,7 +31,7 @@ extern vlib_log_class_t lcp_itf_pair_logger;
|
|||||||
#define LCP_ITF_PAIR_INFO(...) \
|
#define LCP_ITF_PAIR_INFO(...) \
|
||||||
vlib_log_info (lcp_itf_pair_logger, __VA_ARGS__);
|
vlib_log_info (lcp_itf_pair_logger, __VA_ARGS__);
|
||||||
|
|
||||||
#define LCP_ITF_PAIR_NOTICE(...) \
|
#define LCP_ITF_PAIR_NOTICE(...) \
|
||||||
vlib_log_notice (lcp_itf_pair_logger, __VA_ARGS__);
|
vlib_log_notice (lcp_itf_pair_logger, __VA_ARGS__);
|
||||||
|
|
||||||
#define LCP_ITF_PAIR_WARN(...) \
|
#define LCP_ITF_PAIR_WARN(...) \
|
||||||
|
Reference in New Issue
Block a user