Home
last modified time | relevance | path

Searched refs:bond (Results 1 – 6 of 6) sorted by relevance

/include/net/
A Dbonding.h51 #define BOND_MODE(bond) ((bond)->params.mode) argument
54 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) argument
56 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond)) argument
60 (bond_has_slaves(bond) ? \
63 #define bond_last_slave(bond) \ argument
64 (bond_has_slaves(bond) ? \
72 #define bond_is_first_slave(bond, pos) (pos == bond_first_slave(bond)) argument
73 #define bond_is_last_slave(bond, pos) (pos == bond_last_slave(bond)) argument
298 return slave->bond; in bond_get_bond_by_slave()
315 return BOND_MODE(bond) == BOND_MODE_8023AD || bond_is_lb(bond); in bond_needs_speed_duplex()
[all …]
A Dbond_alb.h14 #define BOND_ALB_INFO(bond) ((bond)->alb_info) argument
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
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);
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,
[all …]
A Dbond_options.h120 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
123 int __bond_opt_set(struct bonding *bond, unsigned int option,
126 int __bond_opt_set_notify(struct bonding *bond, unsigned int option,
128 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
161 void bond_option_arp_ip_targets_clear(struct bonding *bond);
163 void bond_option_ns_ip6_targets_clear(struct bonding *bond);
165 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave);
166 void bond_slave_ns_maddrs_del(struct bonding *bond, struct slave *slave);
A Dbond_3ad.h262 #define BOND_AD_INFO(bond) ((bond)->ad_info) argument
296 void bond_3ad_initialize(struct bonding *bond);
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);
309 void bond_3ad_update_lacp_rate(struct bonding *bond);
310 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
/include/soc/mscc/
A Docelot.h745 struct net_device *bond; member
777 struct net_device *bond; member
1065 int ocelot_lag_fdb_add(struct ocelot *ocelot, struct net_device *bond,
1068 int ocelot_lag_fdb_del(struct ocelot *ocelot, struct net_device *bond,
1106 struct net_device *bond,
1110 struct net_device *bond);
1112 int ocelot_bond_get_id(struct ocelot *ocelot, struct net_device *bond);
/include/linux/
A Dnetdevice.h3289 #define for_each_netdev_in_bond_rcu(bond, slave) \ argument
3290 for_each_netdev_rcu(dev_net_rcu(bond), slave) \
3291 if (netdev_master_upper_dev_get_rcu(slave) == (bond))

Completed in 31 milliseconds