Home
last modified time | relevance | path

Searched defs:bond (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/net/bonding/
Dbond_options.c569 static int bond_opt_check_deps(struct bonding *bond, in bond_opt_check_deps()
584 static void bond_opt_dep_print(struct bonding *bond, in bond_opt_dep_print()
597 static void bond_opt_error_interpret(struct bonding *bond, in bond_opt_error_interpret()
652 int __bond_opt_set(struct bonding *bond, in __bond_opt_set()
690 int __bond_opt_set_notify(struct bonding *bond, in __bond_opt_set_notify()
714 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf) in bond_opt_tryset_rtnl()
743 static int bond_option_mode_set(struct bonding *bond, in bond_option_mode_set()
772 static int bond_option_active_slave_set(struct bonding *bond, in bond_option_active_slave_set()
841 static int bond_option_miimon_set(struct bonding *bond, in bond_option_miimon_set()
880 static int bond_option_updelay_set(struct bonding *bond, in bond_option_updelay_set()
[all …]
Dbond_sysfs.c57 struct bonding *bond; in bonding_show_bonds() local
80 struct bonding *bond; in bond_get_by_name() local
161 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option() local
184 struct bonding *bond = to_bond(d); in bonding_show_slaves() local
217 struct bonding *bond = to_bond(d); in bonding_show_mode() local
231 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash() local
246 struct bonding *bond = to_bond(d); in bonding_show_arp_validate() local
262 struct bonding *bond = to_bond(d); in bonding_show_arp_all_targets() local
278 struct bonding *bond = to_bond(d); in bonding_show_fail_over_mac() local
294 struct bonding *bond = to_bond(d); in bonding_show_arp_interval() local
[all …]
Dbond_main.c244 void bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
283 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() local
316 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() local
337 int bond_set_carrier(struct bonding *bond) in bond_set_carrier()
431 static int bond_check_dev_link(struct bonding *bond, in bond_check_dev_link()
486 static int bond_set_promiscuity(struct bonding *bond, int inc) in bond_set_promiscuity()
509 static int bond_set_allmulti(struct bonding *bond, int inc) in bond_set_allmulti()
537 struct bonding *bond = container_of(work, struct bonding, in bond_resend_igmp_join_requests_delayed() local
557 struct bonding *bond = netdev_priv(bond_dev); in bond_hw_addr_flush() local
577 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap()
[all …]
Dbond_alb.c114 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
136 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
145 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
169 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
187 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
211 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel()
247 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel()
268 static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) in rlb_update_entry_from_arp()
292 static int rlb_arp_recv(const struct sk_buff *skb, struct bonding *bond, in rlb_arp_recv()
326 static struct slave *__rlb_next_rx_slave(struct bonding *bond) in __rlb_next_rx_slave()
[all …]
Dbond_debugfs.c20 struct bonding *bond = m->private; in bond_debug_rlb_hash_show() local
62 void bond_debug_register(struct bonding *bond) in bond_debug_register()
79 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
87 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
122 void bond_debug_register(struct bonding *bond) in bond_debug_register()
126 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
130 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_procfs.c13 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_seq_start() local
32 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_seq_next() local
59 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_master() local
170 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_slave() local
260 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
276 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c167 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg() local
233 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode() local
247 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer() local
394 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port() local
775 struct bonding *bond = aggregator->slave->bond; in __get_active_agg() local
1382 struct bonding *bond; in ad_port_selection_logic() local
1658 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic() local
1965 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1977 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
2014 struct bonding *bond = bond_get_bond_by_slave(slave); in bond_3ad_bind_slave() local
[all …]
Dbond_netlink.c138 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() local
165 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() local
457 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink() local
504 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
519 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info() local
/Linux-v4.19/include/net/
Dbonding.h41 #define BOND_MODE(bond) ((bond)->params.mode) argument
44 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) argument
46 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond)) argument
49 #define bond_first_slave(bond) \ argument
53 #define bond_last_slave(bond) \ argument
59 #define bond_first_slave_rcu(bond) \ argument
62 #define bond_is_first_slave(bond, pos) (pos == bond_first_slave(bond)) argument
63 #define bond_is_last_slave(bond, pos) (pos == bond_last_slave(bond)) argument
73 #define bond_for_each_slave(bond, pos, iter) \ argument
77 #define bond_for_each_slave_rcu(bond, pos, iter) \ argument
[all …]
Dbond_alb.h30 #define BOND_ALB_INFO(bond) ((bond)->alb_info) argument
39 #define BOND_ALB_LP_INTERVAL(bond) (bond->params.lp_interval) /* In seconds, periodic send of argument
46 #define BOND_ALB_LP_TICKS(bond) (BOND_ALB_LP_INTERVAL(bond) \ argument
Dbond_3ad.h263 #define BOND_AD_INFO(bond) ((bond)->ad_info) argument
/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot.c1424 struct net_device *bond) in ocelot_port_lag_join()
1465 struct net_device *bond) in ocelot_port_lag_leave()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2992 struct mlx4_en_bond *bond = container_of(work, in mlx4_en_bond_work() local
3024 struct mlx4_en_bond *bond = NULL; in mlx4_en_queue_bond_work() local
Dresource_tracker.c5018 static int mlx4_mirror_fs_rules(struct mlx4_dev *dev, bool bond) in mlx4_mirror_fs_rules()
/Linux-v4.19/include/linux/
Dnetdevice.h2522 #define for_each_netdev_in_bond_rcu(bond, slave) \ argument