Lines Matching full:bonding
15 #include <net/bonding.h>
119 /* ================= api to bonding and kernel code ================== */
122 * __get_bond_by_port - get the port's bonding struct
125 * Return @port's bonding struct, or %NULL if it can't be found.
127 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
145 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
259 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
273 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
435 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port()
827 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
992 struct bonding *bond = __get_bond_by_port(port); in ad_mux_machine()
1509 struct bonding *bond; in ad_port_selection_logic()
1788 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
2129 /* ========= AD exported functions to the main bonding code ========= */
2136 * @bond: bonding struct
2143 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
2150 * @bond: bonding struct to work on
2154 void bond_3ad_initialize(struct bonding *bond) in bond_3ad_initialize()
2180 struct bonding *bond = bond_get_bond_by_slave(slave); in bond_3ad_bind_slave()
2234 struct bonding *bond = slave->bond; in bond_3ad_unbind_slave()
2387 * @bond: bonding struct to work on
2392 void bond_3ad_update_ad_actor_settings(struct bonding *bond) in bond_3ad_update_ad_actor_settings()
2419 * @bond: bonding structure
2423 static bool bond_agg_timer_advance(struct bonding *bond) in bond_agg_timer_advance()
2441 * @work: work context to fetch bonding struct to work on from
2454 struct bonding *bond = container_of(work, struct bonding, in bond_3ad_state_machine_handler()
2544 struct bonding *bond = slave->bond; in bond_3ad_rx_indication()
2730 * bond_3ad_set_carrier - set link state for bonding master
2731 * @bond: bonding structure
2742 int bond_3ad_set_carrier(struct bonding *bond) in bond_3ad_set_carrier()
2776 * @bond: bonding struct to work on
2782 int __bond_3ad_get_active_agg_info(struct bonding *bond, in __bond_3ad_get_active_agg_info()
2810 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info) in bond_3ad_get_active_agg_info()
2821 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond, in bond_3ad_lacpdu_recv()
2844 * @bond: bonding struct
2853 void bond_3ad_update_lacp_rate(struct bonding *bond) in bond_3ad_update_lacp_rate()