Lines Matching +full:primary +full:- +full:bond

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
14 #define BOND_ALB_INFO(bond) ((bond)->alb_info) argument
15 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info)
18 #define BOND_TLB_REBALANCE_INTERVAL 10 /* In seconds, periodic re-balancing.
19 * Used for division - never set
23 #define BOND_ALB_LP_INTERVAL(bond) (bond->params.lp_interval) /* In seconds, periodic send of argument
30 #define BOND_ALB_LP_TICKS(bond) (BOND_ALB_LP_INTERVAL(bond) \ argument
46 #define RLB_UPDATE_RETRY 3 /* 3-ticks - must be smaller than the rlb
78 /* -------------------------------------------------------------------------
89 * allow cleaning up the table from ip_src<->mac_src associations that have
92 * -------------------------------------------------------------------------
110 u8 ntt; /* flag - need to transmit client info */
116 u32 head; /* Index to the head of the bi-directional clients
131 /* -------- rlb parameters -------- */
135 u8 rx_ntt; /* flag - need to transmit
140 u32 rlb_promisc_timeout_counter;/* counts primary
147 u8 rlb_rebalance; /* flag - indicates that the
153 int bond_alb_initialize(struct bonding *bond, int rlb_enabled);
154 void bond_alb_deinitialize(struct bonding *bond);
155 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
156 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
157 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link);
158 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
161 struct slave *bond_xmit_alb_slave_get(struct bonding *bond,
163 struct slave *bond_xmit_tlb_slave_get(struct bonding *bond,
167 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);