Lines Matching full:bond

32 		if (!port || !port->bond)  in lan966x_lag_set_aggr_pgids()
42 struct net_device *bond; in lan966x_lag_set_aggr_pgids() local
46 if (!port || !port->bond || (visited & BIT(lag))) in lan966x_lag_set_aggr_pgids()
49 bond = port->bond; in lan966x_lag_set_aggr_pgids()
50 bond_mask = lan966x_lag_get_mask(lan966x, bond); in lan966x_lag_set_aggr_pgids()
87 if (port->bond == bond) in lan966x_lag_set_aggr_pgids()
107 bond_mask = lan966x_lag_get_mask(lan966x, port->bond); in lan966x_lag_set_port_ids()
126 struct net_device *bond, in lan966x_lag_port_join() argument
135 bond_mask = lan966x_lag_get_mask(lan966x, bond); in lan966x_lag_port_join()
139 port->bond = bond; in lan966x_lag_port_join()
151 if (lan966x_lag_first_port(port->bond, port->dev) && in lan966x_lag_port_join()
160 port->bond = NULL; in lan966x_lag_port_join()
166 void lan966x_lag_port_leave(struct lan966x_port *port, struct net_device *bond) in lan966x_lag_port_leave() argument
172 if (lan966x_lag_first_port(port->bond, port->dev)) { in lan966x_lag_port_leave()
173 bond_mask = lan966x_lag_get_mask(lan966x, port->bond); in lan966x_lag_port_leave()
184 port->bond = NULL; in lan966x_lag_port_leave()
197 if (!port || !port->bond) in lan966x_lag_port_check_hash_types()
272 if (!port->bond) in lan966x_lag_port_changelowerstate()
298 if (port->bond != dev) in lan966x_lag_netdev_prechangeupper()
322 if (port->bond != dev) in lan966x_lag_netdev_changeupper()
339 if (port->bond != lag) in lan966x_lag_first_port()
349 u32 lan966x_lag_get_mask(struct lan966x *lan966x, struct net_device *bond) in lan966x_lag_get_mask() argument
355 if (!bond) in lan966x_lag_get_mask()
363 if (port->bond == bond) in lan966x_lag_get_mask()