l3xc: skip load balancing if not multipath
Type: improvement Change-Id: I3d8e1c7a83530bbc4b1751358ad7d034476ff13f Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
@ -67,11 +67,11 @@ l3xc_stack (l3xc_t * l3xc)
|
||||
*/
|
||||
dpo_id_t via_dpo = DPO_INVALID;
|
||||
|
||||
fib_path_list_contribute_forwarding (l3xc->l3xc_pl,
|
||||
(FIB_PROTOCOL_IP4 == l3xc->l3xc_proto ?
|
||||
FIB_FORW_CHAIN_TYPE_UNICAST_IP4 :
|
||||
FIB_FORW_CHAIN_TYPE_UNICAST_IP6),
|
||||
FIB_PATH_LIST_FWD_FLAG_NONE, &via_dpo);
|
||||
fib_path_list_contribute_forwarding (
|
||||
l3xc->l3xc_pl,
|
||||
(FIB_PROTOCOL_IP4 == l3xc->l3xc_proto ? FIB_FORW_CHAIN_TYPE_UNICAST_IP4 :
|
||||
FIB_FORW_CHAIN_TYPE_UNICAST_IP6),
|
||||
FIB_PATH_LIST_FWD_FLAG_COLLAPSE, &via_dpo);
|
||||
|
||||
dpo_stack_from_node ((FIB_PROTOCOL_IP4 == l3xc->l3xc_proto ?
|
||||
l3xc_ip4_node.index :
|
||||
|
Reference in New Issue
Block a user