Lines Matching +full:mux +full:- +full:int +full:- +full:port
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
51 /* mux machine states(43.4.13 in the 802.3ad standard) */
54 AD_MUX_DETACHED, /* mux machine */
55 AD_MUX_WAITING, /* mux machine */
56 AD_MUX_ATTACHED, /* mux machine */
57 AD_MUX_COLLECTING, /* mux machine */
58 AD_MUX_DISTRIBUTING, /* mux machine */
59 AD_MUX_COLLECTING_DISTRIBUTING /* mux machine */
141 u16 requester_port; /* The number assigned to the port by the requester */
160 struct port;
191 struct port *lag_ports;
207 /* port structure(43.4.6 in the 802.3ad standard) */
208 typedef struct port { struct
226 u16 sm_vars; /* all state machines variables for this port */ argument
231 mux_states_t sm_mux_state; /* state machine mux state */
232 u16 sm_mux_timer_counter; /* state machine mux timer counter */
235 * (always on - enter to transmit
244 struct slave *slave; /* pointer to the bond slave that this port belongs to */ argument
245 struct aggregator *aggregator; /* pointer to an aggregator that this port related to */ argument
246 struct port *next_port_in_aggregator; /* Next port on the linked list of the parent aggregator */ argument
248 struct lacpdu lacpdu; /* the lacpdu that will be sent for this port */ argument
262 #define BOND_AD_INFO(bond) ((bond)->ad_info)
263 #define SLAVE_AD_INFO(slave) ((slave)->ad_info)
274 struct port port; /* 802.3ad port structure */ member
287 int max_size = ARRAY_SIZE(churn_description); in bond_3ad_churn_desc()
290 state = max_size - 1; in bond_3ad_churn_desc()
300 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
303 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
304 int __bond_3ad_get_active_agg_info(struct bonding *bond,
306 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
308 int bond_3ad_set_carrier(struct bonding *bond);
311 int bond_3ad_stats_fill(struct sk_buff *skb, struct bond_3ad_stats *stats);