Home
last modified time | relevance | path

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

/linux/drivers/net/bonding/
H A Dbond_options.c653 static int bond_opt_check_deps(struct bonding *bond, in bond_opt_check_deps()
668 static void bond_opt_dep_print(struct bonding *bond, in bond_opt_dep_print()
686 static void bond_opt_error_interpret(struct bonding *bond, in bond_opt_error_interpret()
762 int __bond_opt_set(struct bonding *bond, in __bond_opt_set()
801 int __bond_opt_set_notify(struct bonding *bond, in __bond_opt_set_notify()
825 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf) in bond_opt_tryset_rtnl()
854 static bool bond_set_xfrm_features(struct bonding *bond) in bond_set_xfrm_features()
867 static int bond_option_mode_set(struct bonding *bond, in bond_option_mode_set()
907 static int bond_option_active_slave_set(struct bonding *bond, in bond_option_active_slave_set()
971 static int bond_option_miimon_set(struct bonding *bond, in bond_option_miimon_set()
[all …]
H A Dbond_sysfs.c40 struct bonding *bond; in bonding_show_bonds() local
64 struct bonding *bond; in bond_get_by_name() local
145 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option() local
168 struct bonding *bond = to_bond(d); in bonding_show_slaves() local
200 struct bonding *bond = to_bond(d); in bonding_show_mode() local
214 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash() local
229 struct bonding *bond = to_bond(d); in bonding_show_arp_validate() local
245 struct bonding *bond = to_bond(d); in bonding_show_arp_all_targets() local
261 struct bonding *bond = to_bond(d); in bonding_show_fail_over_mac() local
277 struct bonding *bond = to_bond(d); in bonding_show_arp_interval() local
[all …]
H A Dbond_alb.c93 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
116 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
125 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
149 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
167 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
191 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel()
227 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel()
248 static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) in rlb_update_entry_from_arp()
272 static int rlb_arp_recv(const struct sk_buff *skb, struct bonding *bond, in rlb_arp_recv()
306 static struct slave *__rlb_next_rx_slave(struct bonding *bond) in __rlb_next_rx_slave()
[all …]
H A Dbond_debugfs.c20 struct bonding *bond = m->private; in bond_debug_rlb_hash_show() local
50 void bond_debug_register(struct bonding *bond) in bond_debug_register()
59 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
64 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
95 void bond_debug_register(struct bonding *bond) in bond_debug_register()
99 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
103 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
H A Dbond_3ad.c145 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg() local
259 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode() local
273 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer() local
435 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port() local
827 struct bonding *bond = aggregator->slave->bond; in __get_active_agg() local
992 struct bonding *bond = __get_bond_by_port(port); in ad_mux_machine() local
1509 struct bonding *bond; in ad_port_selection_logic() local
1788 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic() local
2143 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
2154 void bond_3ad_initialize(struct bonding *bond) in bond_3ad_initialize()
[all …]
H A Dbond_procfs.c14 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_start() local
33 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_next() local
60 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_show_master() local
193 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_show_slave() local
283 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
299 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
H A Dbond_netlink.c151 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() local
189 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() local
579 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink() local
634 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
649 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info() local
864 struct bonding *bond; in bond_fill_linkxstats() local
/linux/include/net/
H 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
59 #define bond_first_slave(bond) \ argument
63 #define bond_last_slave(bond) \ argument
69 #define bond_first_slave_rcu(bond) \ argument
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
83 #define bond_for_each_slave(bond, pos, iter) \ argument
87 #define bond_for_each_slave_rcu(bond, pos, iter) \ argument
[all …]
H 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
H A Dbond_3ad.h262 #define BOND_AD_INFO(bond) ((bond)->ad_info) argument
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_lag.c42 struct net_device *bond; in lan966x_lag_set_aggr_pgids() local
126 struct net_device *bond, in lan966x_lag_port_join()
166 void lan966x_lag_port_leave(struct lan966x_port *port, struct net_device *bond) in lan966x_lag_port_leave()
349 u32 lan966x_lag_get_mask(struct lan966x *lan966x, struct net_device *bond) in lan966x_lag_get_mask()
H A Dlan966x_main.h412 struct net_device *bond; member
/linux/drivers/net/ethernet/mscc/
H A Docelot.c1715 static u32 ocelot_get_bond_mask(struct ocelot *ocelot, struct net_device *bond) in ocelot_get_bond_mask()
1738 int ocelot_bond_get_id(struct ocelot *ocelot, struct net_device *bond) in ocelot_bond_get_id()
1858 struct net_device *bond = ocelot_port->bond; in ocelot_apply_bridge_fwd_mask() local
2304 struct net_device *bond = ocelot->ports[lag]->bond; in ocelot_set_aggr_pgids() local
2364 struct net_device *bond; in ocelot_setup_logical_port_ids() local
2458 struct net_device *bond, in ocelot_migrate_lag_fdbs()
2488 struct net_device *bond, in ocelot_port_lag_join()
2513 struct net_device *bond) in ocelot_port_lag_leave()
2551 int ocelot_lag_fdb_add(struct ocelot *ocelot, struct net_device *bond, in ocelot_lag_fdb_add()
2587 int ocelot_lag_fdb_del(struct ocelot *ocelot, struct net_device *bond, in ocelot_lag_fdb_del()
H A Docelot_net.c1394 struct net_device *bond, in ocelot_netdevice_lag_join()
1426 struct net_device *bond) in ocelot_netdevice_pre_lag_leave()
1438 struct net_device *bond) in ocelot_netdevice_lag_leave()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c384 int veth, bond, err; in test_xdp_bonding_attach() local
463 int bond, err; in test_xdp_bonding_nested() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c280 struct mlx5e_rep_bond *bond; in mlx5e_rep_esw_bond_netevent() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h94 struct mlx5e_rep_bond *bond; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c1524 struct mlx4_bond *bond = container_of(work, struct mlx4_bond, work); in mlx4_bond_work() local
1553 struct mlx4_bond *bond; in mlx4_queue_bond_work() local
H A Dresource_tracker.c5026 static int mlx4_mirror_fs_rules(struct mlx4_dev *dev, bool bond) in mlx4_mirror_fs_rules()
/linux/include/soc/mscc/
H A Docelot.h745 struct net_device *bond; member
769 struct net_device *bond; member
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c560 struct intel_engine_cs *bond; in set_proto_ctx_engines_bond() local
/linux/include/linux/
H A Dnetdevice.h3018 #define for_each_netdev_in_bond_rcu(bond, slave) \ argument