Home
last modified time | relevance | path

Searched defs:bond (Results 1 – 19 of 19) 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() argument
312 static bool bond_sk_check(struct bonding *bond) in bond_sk_check() argument
344 bool bond_xdp_check(struct bonding *bond, in argument
376 struct bonding *bond = netdev_priv(bond_dev); bond_vlan_rx_add_vid() local
410 struct bonding *bond = netdev_priv(bond_dev); bond_vlan_rx_kill_vid() local
437 struct bonding *bond; bond_ipsec_dev() local
471 struct bonding *bond; bond_ipsec_add_sa() local
519 bond_ipsec_add_sa_all(struct bonding * bond) bond_ipsec_add_sa_all() argument
596 bond_ipsec_del_sa_all(struct bonding * bond) bond_ipsec_del_sa_all() argument
642 struct bonding *bond; bond_ipsec_free_sa() local
756 bond_set_carrier(struct bonding * bond) bond_set_carrier() argument
845 bond_set_promiscuity(struct bonding * bond,int inc) bond_set_promiscuity() argument
868 bond_set_allmulti(struct bonding * bond,int inc) bond_set_allmulti() argument
896 struct bonding *bond = container_of(work, struct bonding, bond_resend_igmp_join_requests_delayed() local
916 struct bonding *bond = netdev_priv(bond_dev); bond_hw_addr_flush() local
932 bond_hw_addr_swap(struct bonding * bond,struct slave * new_active,struct slave * old_active) bond_hw_addr_swap() argument
991 bond_get_old_active(struct bonding * bond,struct slave * new_active) bond_get_old_active() argument
1014 bond_do_fail_over_mac(struct bonding * bond,struct slave * new_active,struct slave * old_active) bond_do_fail_over_mac() argument
1094 bond_choose_primary_or_current(struct bonding * bond) bond_choose_primary_or_current() argument
1152 bond_find_best_slave(struct bonding * bond) bond_find_best_slave() argument
1176 bond_should_notify_peers(struct bonding * bond) bond_should_notify_peers() argument
1209 bond_peer_notify_work_rearm(struct bonding * bond,unsigned long delay) bond_peer_notify_work_rearm() argument
1215 bond_peer_notify_reset(struct bonding * bond) bond_peer_notify_reset() argument
1224 struct bonding *bond = container_of(work, struct bonding, bond_peer_notify_handler() local
1238 bond_peer_notify_may_events(struct bonding * bond,bool force) bond_peer_notify_may_events() argument
1266 bond_change_active_slave(struct bonding * bond,struct slave * new_active) bond_change_active_slave() argument
1370 bond_select_active_slave(struct bonding * bond) bond_select_active_slave() argument
1425 struct bonding *bond = netdev_priv(bond_dev); bond_poll_controller() local
1453 struct bonding *bond = netdev_priv(bond_dev); bond_netpoll_cleanup() local
1464 struct bonding *bond = netdev_priv(dev); bond_netpoll_setup() local
1496 struct bonding *bond = netdev_priv(dev); bond_fix_features() local
1518 struct bonding *bond = netdev_priv(bond_dev); bond_header_create() local
1539 struct bonding *bond = netdev_priv(dev); bond_header_parse() local
1591 bond_should_deliver_exact_match(struct sk_buff * skb,struct slave * slave,struct bonding * bond) bond_should_deliver_exact_match() argument
1607 struct bonding *bond; bond_handle_frame() local
1665 bond_lag_tx_type(struct bonding * bond) bond_lag_tx_type() argument
1682 bond_lag_hash_type(struct bonding * bond,enum netdev_lag_tx_type type) bond_lag_hash_type() argument
1706 bond_master_upper_dev_link(struct bonding * bond,struct slave * slave,struct netlink_ext_ack * extack) bond_master_upper_dev_link() argument
1726 bond_upper_dev_unlink(struct bonding * bond,struct slave * slave) bond_upper_dev_unlink() argument
1735 struct bonding *bond = bond_get_bond_by_slave(slave); slave_kobj_release() local
1763 bond_alloc_slave(struct bonding * bond,struct net_device * slave_dev) bond_alloc_slave() argument
1790 bond_fill_ifbond(struct bonding * bond,struct ifbond * info) bond_fill_ifbond() argument
1867 struct bonding *bond = netdev_priv(bond_dev); bond_xdp_set_features() local
1891 struct bonding *bond = netdev_priv(bond_dev); bond_enslave() local
2429 struct bonding *bond = netdev_priv(bond_dev); __bond_release_one() local
2615 struct bonding *bond = netdev_priv(bond_dev); bond_release_and_destroy() local
2631 struct bonding *bond = netdev_priv(bond_dev); bond_info_query() local
2638 struct bonding *bond = netdev_priv(bond_dev); bond_slave_info_query() local
2657 bond_miimon_inspect(struct bonding * bond) bond_miimon_inspect() argument
2764 bond_miimon_link_change(struct bonding * bond,struct slave * slave,char link) bond_miimon_link_change() argument
2782 bond_miimon_commit(struct bonding * bond) bond_miimon_commit() argument
2895 struct bonding *bond = container_of(work, struct bonding, bond_mii_monitor() local
2947 bond_has_this_ip(struct bonding * bond,__be32 ip) bond_has_this_ip() argument
3078 bond_arp_send_all(struct bonding * bond,struct slave * slave) bond_arp_send_all() argument
3132 bond_validate_arp(struct bonding * bond,struct slave * slave,__be32 sip,__be32 tip) bond_validate_arp() argument
3152 bond_arp_rcv(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) bond_arp_rcv() argument
3257 bond_ns_send_all(struct bonding * bond,struct slave * slave) bond_ns_send_all() argument
3326 bond_has_this_ip6(struct bonding * bond,struct in6_addr * addr) bond_has_this_ip6() argument
3344 bond_validate_na(struct bonding * bond,struct slave * slave,struct in6_addr * saddr,struct in6_addr * daddr) bond_validate_na() argument
3372 bond_na_rcv(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) bond_na_rcv() argument
3421 bond_rcv_validate(const struct sk_buff * skb,struct bonding * bond,struct slave * slave) bond_rcv_validate() argument
3452 bond_send_validate(struct bonding * bond,struct slave * slave) bond_send_validate() argument
3465 bond_time_in_interval(struct bonding * bond,unsigned long last_act,int mod) bond_time_in_interval() argument
3481 bond_loadbalance_arp_mon(struct bonding * bond) bond_loadbalance_arp_mon() argument
3598 bond_ab_arp_inspect(struct bonding * bond) bond_ab_arp_inspect() argument
3668 bond_ab_arp_commit(struct bonding * bond) bond_ab_arp_commit() argument
3760 bond_ab_arp_probe(struct bonding * bond) bond_ab_arp_probe() argument
3841 bond_activebackup_arp_mon(struct bonding * bond) bond_activebackup_arp_mon() argument
3895 struct bonding *bond = container_of(work, struct bonding, bond_arp_monitor() local
3907 bond_event_changename(struct bonding * bond) bond_event_changename() argument
3947 struct bonding *bond; bond_slave_netdev_event() local
4186 bond_flow_dissect(struct bonding * bond,struct sk_buff * skb,const void * data,__be16 l2_proto,int nhoff,int hlen,struct flow_keys * fk) bond_flow_dissect() argument
4251 __bond_xmit_hash(struct bonding * bond,struct sk_buff * skb,const void * data,__be16 l2_proto,int mhoff,int nhoff,int hlen) __bond_xmit_hash() argument
4285 bond_xmit_hash(struct bonding * bond,struct sk_buff * skb) bond_xmit_hash() argument
4303 bond_xmit_hash_xdp(struct bonding * bond,struct xdp_buff * xdp) bond_xmit_hash_xdp() argument
4318 bond_work_init_all(struct bonding * bond) bond_work_init_all() argument
4334 bond_work_cancel_all(struct bonding * bond) bond_work_cancel_all() argument
4347 struct bonding *bond = netdev_priv(bond_dev); bond_open() local
4410 struct bonding *bond = netdev_priv(bond_dev); bond_close() local
4516 struct bonding *bond = netdev_priv(bond_dev); bond_get_stats() local
4548 struct bonding *bond = netdev_priv(bond_dev); bond_eth_ioctl() local
4585 struct bonding *bond = netdev_priv(bond_dev); bond_do_ioctl() local
4684 struct bonding *bond = netdev_priv(bond_dev); bond_change_rx_flags() local
4697 struct bonding *bond = netdev_priv(bond_dev); bond_set_rx_mode() local
4719 struct bonding *bond = netdev_priv(n->dev); bond_neigh_init() local
4775 struct bonding *bond = netdev_priv(bond_dev); bond_change_mtu() local
4832 struct bonding *bond = netdev_priv(bond_dev); bond_set_mac_address() local
4898 bond_get_slave_by_id(struct bonding * bond,int slave_id) bond_get_slave_by_id() argument
4933 bond_rr_gen_slave_id(struct bonding * bond) bond_rr_gen_slave_id() argument
4958 bond_xmit_roundrobin_slave_get(struct bonding * bond,struct sk_buff * skb) bond_xmit_roundrobin_slave_get() argument
4996 bond_xdp_xmit_roundrobin_slave_get(struct bonding * bond,struct xdp_buff * xdp) bond_xdp_xmit_roundrobin_slave_get() argument
5040 struct bonding *bond = netdev_priv(bond_dev); bond_xmit_roundrobin() local
5050 bond_xmit_activebackup_slave_get(struct bonding * bond) bond_xmit_activebackup_slave_get() argument
5061 struct bonding *bond = netdev_priv(bond_dev); bond_xmit_activebackup() local
5075 bond_slave_arr_work_rearm(struct bonding * bond,unsigned long delay) bond_slave_arr_work_rearm() argument
5083 struct bonding *bond = container_of(work, struct bonding, bond_slave_arr_handler() local
5125 bond_set_slave_arr(struct bonding * bond,struct bond_up_slave * usable_slaves,struct bond_up_slave * all_slaves) bond_set_slave_arr() argument
5145 bond_reset_slave_arr(struct bonding * bond) bond_reset_slave_arr() argument
5158 bond_update_slave_arr(struct bonding * bond,struct slave * skipslave) bond_update_slave_arr() argument
5228 bond_xmit_3ad_xor_slave_get(struct bonding * bond,struct sk_buff * skb,struct bond_up_slave * slaves) bond_xmit_3ad_xor_slave_get() argument
5245 bond_xdp_xmit_3ad_xor_slave_get(struct bonding * bond,struct xdp_buff * xdp) bond_xdp_xmit_3ad_xor_slave_get() argument
5264 struct bonding *bond = netdev_priv(dev); bond_should_broadcast_neighbor() local
5299 struct bonding *bond = netdev_priv(dev); bond_3ad_xor_xmit() local
5318 struct bonding *bond = netdev_priv(bond_dev); bond_xmit_broadcast() local
5366 bond_slave_override(struct bonding * bond,struct sk_buff * skb) bond_slave_override() argument
5417 struct bonding *bond = netdev_priv(master_dev); bond_xmit_get_slave() local
5501 __bond_sk_get_lower_dev(struct bonding * bond,struct sock * sk) __bond_sk_get_lower_dev() argument
5523 struct bonding *bond = netdev_priv(dev); bond_sk_get_lower_dev() local
5535 bond_tls_device_xmit(struct bonding * bond,struct sk_buff * skb,struct net_device * dev) bond_tls_device_xmit() argument
5552 struct bonding *bond = netdev_priv(dev); __bond_start_xmit() local
5590 struct bonding *bond = netdev_priv(dev); bond_start_xmit() local
5612 struct bonding *bond = netdev_priv(bond_dev); bond_xdp_get_xmit_slave() local
5684 struct bonding *bond = netdev_priv(dev); bond_xdp_set() local
5811 struct bonding *bond = netdev_priv(dev); bond_hwtstamp_get() local
5830 struct bonding *bond = netdev_priv(dev); bond_hwtstamp_set() local
5851 struct bonding *bond = netdev_priv(bond_dev); bond_ethtool_get_link_ksettings() local
5897 struct bonding *bond = netdev_priv(bond_dev); bond_ethtool_get_ts_info() local
5984 struct bonding *bond = netdev_priv(bond_dev); bond_destructor() local
5994 struct bonding *bond = netdev_priv(bond_dev); bond_setup() local
6061 struct bonding *bond = netdev_priv(bond_dev); bond_uninit() local
6479 struct bonding *bond = netdev_priv(bond_dev); bond_init() local
6521 struct bonding *bond; bond_create() local
6579 struct bonding *bond, *tmp_bond; bond_net_exit_rtnl() 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/iommu/riscv/
H A Diommu.c881 struct riscv_iommu_bond *bond; in riscv_iommu_bond_link() local
911 struct riscv_iommu_bond *bond, *found = NULL; in riscv_iommu_bond_unlink() local
1055 struct riscv_iommu_bond *bond; in riscv_iommu_iotlb_inval() 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