Home
last modified time | relevance | path

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

/linux/drivers/net/bonding/
H A Dbond_options.c696 static int bond_opt_check_deps(struct bonding *bond, in bond_opt_check_deps()
711 static void bond_opt_dep_print(struct bonding *bond, in bond_opt_dep_print()
729 static void bond_opt_error_interpret(struct bonding *bond, in bond_opt_error_interpret()
805 int __bond_opt_set(struct bonding *bond, in __bond_opt_set()
844 int __bond_opt_set_notify(struct bonding *bond, in __bond_opt_set_notify()
868 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf) in bond_opt_tryset_rtnl()
897 static bool bond_set_xfrm_features(struct bonding *bond) in bond_set_xfrm_features()
910 static int bond_option_mode_set(struct bonding *bond, in bond_option_mode_set()
960 static int bond_option_active_slave_set(struct bonding *bond, in bond_option_active_slave_set()
1024 static int bond_option_miimon_set(struct bonding *bond, in bond_option_miimon_set()
[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_main.c297 netdev_tx_t bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
312 static bool bond_sk_check(struct bonding *bond) in bond_sk_check()
344 bool bond_xdp_check(struct bonding *bond, int mode) in bond_xdp_check()
376 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() local
410 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() local
437 struct bonding *bond; in bond_ipsec_dev() local
471 struct bonding *bond; in bond_ipsec_add_sa() local
519 static void bond_ipsec_add_sa_all(struct bonding *bond) in bond_ipsec_add_sa_all()
596 static void bond_ipsec_del_sa_all(struct bonding *bond) in bond_ipsec_del_sa_all()
642 struct bonding *bond; in bond_ipsec_free_sa() local
[all …]
H A Dbond_debugfs.c20 struct bonding *bond = m->private; in bond_debug_rlb_hash_show() local
56 void bond_debug_register(struct bonding *bond) in bond_debug_register()
65 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
70 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
96 void bond_debug_register(struct bonding *bond) in bond_debug_register()
100 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
104 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
H A Dbond_3ad.c147 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg() local
261 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode() local
275 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer() local
447 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port() local
873 struct bonding *bond = aggregator->slave->bond; in __get_active_agg() local
1033 struct bonding *bond = port->slave->bond; in ad_cond_set_peer_notif() local
1046 struct bonding *bond = __get_bond_by_port(port); in ad_mux_machine() local
1573 struct bonding *bond; in ad_port_selection_logic() local
1867 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic() local
2237 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
[all …]
H A Dbond_netlink.c172 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() local
220 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() local
620 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink() local
689 static int bond_option_active_slave_get_ifindex_rcu(const struct bonding *bond) in bond_option_active_slave_get_ifindex_rcu()
703 const struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info() local
940 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
80 #define bond_for_each_slave(bond, pos, iter) \ argument
84 #define bond_for_each_slave_rcu(bond, pos, iter) \ argument
159 struct bonding *bond; /* our master */ member
288 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev()
[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.h263 #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.h417 struct net_device *bond; member
/linux/drivers/net/ethernet/mscc/
H A Docelot.c1721 static u32 ocelot_get_bond_mask(struct ocelot *ocelot, struct net_device *bond) in ocelot_get_bond_mask()
1744 int ocelot_bond_get_id(struct ocelot *ocelot, struct net_device *bond) in ocelot_bond_get_id()
1864 struct net_device *bond = ocelot_port->bond; in ocelot_apply_bridge_fwd_mask() local
2312 struct net_device *bond; in ocelot_set_aggr_pgids() local
2372 struct net_device *bond; in ocelot_setup_logical_port_ids() local
2466 struct net_device *bond, in ocelot_migrate_lag_fdbs()
2496 struct net_device *bond, in ocelot_port_lag_join()
2521 struct net_device *bond) in ocelot_port_lag_leave()
2559 int ocelot_lag_fdb_add(struct ocelot *ocelot, struct net_device *bond, in ocelot_lag_fdb_add()
2595 int ocelot_lag_fdb_del(struct ocelot *ocelot, struct net_device *bond, in ocelot_lag_fdb_del()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c389 int veth, bond, err; in test_xdp_bonding_attach() local
468 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/gpu/drm/i915/gem/
H A Di915_gem_context.c560 struct intel_engine_cs *bond; in set_proto_ctx_engines_bond() local
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c5019 static int mlx4_mirror_fs_rules(struct mlx4_dev *dev, bool bond) in mlx4_mirror_fs_rules()
/linux/include/linux/
H A Dnetdevice.h3389 #define for_each_netdev_in_bond_rcu(bond, slave) \ argument