Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/bonding/
Dbond_options.c568 static int bond_opt_check_deps(struct bonding *bond, in bond_opt_check_deps()
583 static void bond_opt_dep_print(struct bonding *bond, in bond_opt_dep_print()
596 static void bond_opt_error_interpret(struct bonding *bond, in bond_opt_error_interpret()
651 int __bond_opt_set(struct bonding *bond, in __bond_opt_set()
690 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf) in bond_opt_tryset_rtnl()
719 static int bond_option_mode_set(struct bonding *bond, in bond_option_mode_set()
740 static int bond_option_active_slave_set(struct bonding *bond, in bond_option_active_slave_set()
809 static int bond_option_miimon_set(struct bonding *bond, in bond_option_miimon_set()
848 static int bond_option_updelay_set(struct bonding *bond, in bond_option_updelay_set()
870 static int bond_option_downdelay_set(struct bonding *bond, in bond_option_downdelay_set()
[all …]
Dbond_sysfs.c58 struct bonding *bond; in bonding_show_bonds() local
81 struct bonding *bond; in bond_get_by_name() local
162 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option() local
180 struct bonding *bond = to_bond(d); in bonding_show_slaves() local
213 struct bonding *bond = to_bond(d); in bonding_show_mode() local
228 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash() local
243 struct bonding *bond = to_bond(d); in bonding_show_arp_validate() local
259 struct bonding *bond = to_bond(d); in bonding_show_arp_all_targets() local
275 struct bonding *bond = to_bond(d); in bonding_show_fail_over_mac() local
291 struct bonding *bond = to_bond(d); in bonding_show_arp_interval() local
[all …]
Dbond_main.c249 void bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
288 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() local
321 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() local
342 int bond_set_carrier(struct bonding *bond) in bond_set_carrier()
439 static int bond_check_dev_link(struct bonding *bond, in bond_check_dev_link()
494 static int bond_set_promiscuity(struct bonding *bond, int inc) in bond_set_promiscuity()
517 static int bond_set_allmulti(struct bonding *bond, int inc) in bond_set_allmulti()
545 struct bonding *bond = container_of(work, struct bonding, in bond_resend_igmp_join_requests_delayed() local
565 struct bonding *bond = netdev_priv(bond_dev); in bond_hw_addr_flush() local
585 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap()
[all …]
Dbond_alb.c122 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
144 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
153 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
177 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
195 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
219 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel()
255 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel()
276 static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) in rlb_update_entry_from_arp()
300 static int rlb_arp_recv(const struct sk_buff *skb, struct bonding *bond, in rlb_arp_recv()
334 static struct slave *__rlb_next_rx_slave(struct bonding *bond) in __rlb_next_rx_slave()
[all …]
Dbond_debugfs.c19 struct bonding *bond = m->private; in bond_debug_rlb_hash_show() local
61 void bond_debug_register(struct bonding *bond) in bond_debug_register()
78 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
86 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
121 void bond_debug_register(struct bonding *bond) in bond_debug_register()
125 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
129 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_procfs.c12 struct bonding *bond = seq->private; in bond_info_seq_start() local
31 struct bonding *bond = seq->private; in bond_info_seq_next() local
58 struct bonding *bond = seq->private; in bond_info_show_master() local
169 struct bonding *bond = seq->private; in bond_info_show_slave() local
281 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
298 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c159 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg() local
225 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode() local
239 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer() local
699 struct bonding *bond = aggregator->slave->bond; in __get_active_agg() local
1311 struct bonding *bond; in ad_port_selection_logic() local
1581 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic() local
1888 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1900 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
1937 struct bonding *bond = bond_get_bond_by_slave(slave); in bond_3ad_bind_slave() local
1993 struct bonding *bond = slave->bond; in bond_3ad_unbind_slave() local
[all …]
Dbond_netlink.c136 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() local
162 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() local
491 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
506 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info() local
/linux-4.4.14/include/net/
Dbonding.h50 #define BOND_MODE(bond) ((bond)->params.mode) argument
53 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) argument
55 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond)) argument
58 #define bond_first_slave(bond) \ argument
62 #define bond_last_slave(bond) \ argument
68 #define bond_first_slave_rcu(bond) \ argument
71 #define bond_is_first_slave(bond, pos) (pos == bond_first_slave(bond)) argument
72 #define bond_is_last_slave(bond, pos) (pos == bond_last_slave(bond)) argument
82 #define bond_for_each_slave(bond, pos, iter) \ argument
86 #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-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2565 struct mlx4_en_bond *bond = container_of(work, in mlx4_en_bond_work() local
2597 struct mlx4_en_bond *bond = NULL; in mlx4_en_queue_bond_work() local
/linux-4.4.14/include/linux/
Dnetdevice.h2173 #define for_each_netdev_in_bond_rcu(bond, slave) \ argument