Lines Matching refs:bonding
266 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act,
297 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()
325 static bool bond_xdp_check(struct bonding *bond) in bond_xdp_check()
371 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
405 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
433 struct bonding *bond; in bond_ipsec_add_sa()
481 static void bond_ipsec_add_sa_all(struct bonding *bond) in bond_ipsec_add_sa_all()
529 struct bonding *bond; in bond_ipsec_del_sa()
571 static void bond_ipsec_del_sa_all(struct bonding *bond) in bond_ipsec_del_sa_all()
608 struct bonding *bond; in bond_ipsec_free_sa()
646 struct bonding *bond; in bond_ipsec_offload_ok()
689 int bond_set_carrier(struct bonding *bond) in bond_set_carrier()
783 static int bond_check_dev_link(struct bonding *bond, in bond_check_dev_link()
838 static int bond_set_promiscuity(struct bonding *bond, int inc) in bond_set_promiscuity()
861 static int bond_set_allmulti(struct bonding *bond, int inc) in bond_set_allmulti()
889 struct bonding *bond = container_of(work, struct bonding, in bond_resend_igmp_join_requests_delayed()
909 struct bonding *bond = netdev_priv(bond_dev); in bond_hw_addr_flush()
925 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap()
984 static struct slave *bond_get_old_active(struct bonding *bond, in bond_get_old_active()
1007 static void bond_do_fail_over_mac(struct bonding *bond, in bond_do_fail_over_mac()
1089 static struct slave *bond_choose_primary_or_current(struct bonding *bond) in bond_choose_primary_or_current()
1147 static struct slave *bond_find_best_slave(struct bonding *bond) in bond_find_best_slave()
1171 static bool bond_should_notify_peers(struct bonding *bond) in bond_should_notify_peers()
1203 void bond_change_active_slave(struct bonding *bond, struct slave *new_active) in bond_change_active_slave()
1317 void bond_select_active_slave(struct bonding *bond) in bond_select_active_slave()
1372 struct bonding *bond = netdev_priv(bond_dev); in bond_poll_controller()
1400 struct bonding *bond = netdev_priv(bond_dev); in bond_netpoll_cleanup()
1411 struct bonding *bond = netdev_priv(dev); in bond_netpoll_setup()
1443 struct bonding *bond = netdev_priv(dev); in bond_fix_features()
1475 static void bond_compute_features(struct bonding *bond) in bond_compute_features()
1574 struct bonding *bond) in bond_should_deliver_exact_match()
1590 struct bonding *bond; in bond_handle_frame()
1591 int (*recv_probe)(const struct sk_buff *, struct bonding *, in bond_handle_frame()
1648 static enum netdev_lag_tx_type bond_lag_tx_type(struct bonding *bond) in bond_lag_tx_type()
1665 static enum netdev_lag_hash bond_lag_hash_type(struct bonding *bond, in bond_lag_hash_type()
1689 static int bond_master_upper_dev_link(struct bonding *bond, struct slave *slave, in bond_master_upper_dev_link()
1709 static void bond_upper_dev_unlink(struct bonding *bond, struct slave *slave) in bond_upper_dev_unlink()
1718 struct bonding *bond = bond_get_bond_by_slave(slave); in slave_kobj_release()
1746 static struct slave *bond_alloc_slave(struct bonding *bond, in bond_alloc_slave()
1774 static void bond_fill_ifbond(struct bonding *bond, struct ifbond *info) in bond_fill_ifbond()
1851 struct bonding *bond = netdev_priv(bond_dev); in bond_xdp_set_features()
1875 struct bonding *bond = netdev_priv(bond_dev); in bond_enslave()
2422 struct bonding *bond = netdev_priv(bond_dev); in __bond_release_one()
2606 struct bonding *bond = netdev_priv(bond_dev); in bond_release_and_destroy()
2622 struct bonding *bond = netdev_priv(bond_dev); in bond_info_query()
2629 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_info_query()
2648 static int bond_miimon_inspect(struct bonding *bond) in bond_miimon_inspect()
2752 static void bond_miimon_link_change(struct bonding *bond, in bond_miimon_link_change()
2770 static void bond_miimon_commit(struct bonding *bond) in bond_miimon_commit()
2874 struct bonding *bond = container_of(work, struct bonding, in bond_mii_monitor()
2936 static bool bond_has_this_ip(struct bonding *bond, __be32 ip) in bond_has_this_ip()
3067 static void bond_arp_send_all(struct bonding *bond, struct slave *slave) in bond_arp_send_all()
3121 static void bond_validate_arp(struct bonding *bond, struct slave *slave, __be32 sip, __be32 tip) in bond_validate_arp()
3141 static int bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, in bond_arp_rcv()
3246 static void bond_ns_send_all(struct bonding *bond, struct slave *slave) in bond_ns_send_all()
3316 static bool bond_has_this_ip6(struct bonding *bond, struct in6_addr *addr) in bond_has_this_ip6()
3334 static void bond_validate_na(struct bonding *bond, struct slave *slave, in bond_validate_na()
3362 static int bond_na_rcv(const struct sk_buff *skb, struct bonding *bond, in bond_na_rcv()
3411 int bond_rcv_validate(const struct sk_buff *skb, struct bonding *bond, in bond_rcv_validate()
3442 static void bond_send_validate(struct bonding *bond, struct slave *slave) in bond_send_validate()
3454 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act, in bond_time_in_interval()
3470 static void bond_loadbalance_arp_mon(struct bonding *bond) in bond_loadbalance_arp_mon()
3585 static int bond_ab_arp_inspect(struct bonding *bond) in bond_ab_arp_inspect()
3655 static void bond_ab_arp_commit(struct bonding *bond) in bond_ab_arp_commit()
3747 static bool bond_ab_arp_probe(struct bonding *bond) in bond_ab_arp_probe()
3828 static void bond_activebackup_arp_mon(struct bonding *bond) in bond_activebackup_arp_mon()
3886 struct bonding *bond = container_of(work, struct bonding, in bond_arp_monitor()
3898 static int bond_event_changename(struct bonding *bond) in bond_event_changename()
3911 struct bonding *event_bond = netdev_priv(bond_dev); in bond_master_netdev_event()
3938 struct bonding *bond; in bond_slave_netdev_event()
4177 static bool bond_flow_dissect(struct bonding *bond, struct sk_buff *skb, const void *data, in bond_flow_dissect()
4241 static u32 __bond_xmit_hash(struct bonding *bond, struct sk_buff *skb, const void *data, in __bond_xmit_hash()
4275 u32 bond_xmit_hash(struct bonding *bond, struct sk_buff *skb) in bond_xmit_hash()
4293 static u32 bond_xmit_hash_xdp(struct bonding *bond, struct xdp_buff *xdp) in bond_xmit_hash_xdp()
4308 void bond_work_init_all(struct bonding *bond) in bond_work_init_all()
4319 static void bond_work_cancel_all(struct bonding *bond) in bond_work_cancel_all()
4331 struct bonding *bond = netdev_priv(bond_dev); in bond_open()
4391 struct bonding *bond = netdev_priv(bond_dev); in bond_close()
4489 struct bonding *bond = netdev_priv(bond_dev); in bond_get_stats()
4521 struct bonding *bond = netdev_priv(bond_dev); in bond_eth_ioctl()
4558 struct bonding *bond = netdev_priv(bond_dev); in bond_do_ioctl()
4657 struct bonding *bond = netdev_priv(bond_dev); in bond_change_rx_flags()
4670 struct bonding *bond = netdev_priv(bond_dev); in bond_set_rx_mode()
4692 struct bonding *bond = netdev_priv(n->dev); in bond_neigh_init()
4748 struct bonding *bond = netdev_priv(bond_dev); in bond_change_mtu()
4805 struct bonding *bond = netdev_priv(bond_dev); in bond_set_mac_address()
4878 static struct slave *bond_get_slave_by_id(struct bonding *bond, in bond_get_slave_by_id()
4913 static u32 bond_rr_gen_slave_id(struct bonding *bond) in bond_rr_gen_slave_id()
4938 static struct slave *bond_xmit_roundrobin_slave_get(struct bonding *bond, in bond_xmit_roundrobin_slave_get()
4976 static struct slave *bond_xdp_xmit_roundrobin_slave_get(struct bonding *bond, in bond_xdp_xmit_roundrobin_slave_get()
5020 struct bonding *bond = netdev_priv(bond_dev); in bond_xmit_roundrobin()
5030 static struct slave *bond_xmit_activebackup_slave_get(struct bonding *bond) in bond_xmit_activebackup_slave_get()
5041 struct bonding *bond = netdev_priv(bond_dev); in bond_xmit_activebackup()
5055 void bond_slave_arr_work_rearm(struct bonding *bond, unsigned long delay) in bond_slave_arr_work_rearm()
5063 struct bonding *bond = container_of(work, struct bonding, in bond_slave_arr_handler()
5105 static void bond_set_slave_arr(struct bonding *bond, in bond_set_slave_arr()
5120 static void bond_reset_slave_arr(struct bonding *bond) in bond_reset_slave_arr()
5133 int bond_update_slave_arr(struct bonding *bond, struct slave *skipslave) in bond_update_slave_arr()
5203 static struct slave *bond_xmit_3ad_xor_slave_get(struct bonding *bond, in bond_xmit_3ad_xor_slave_get()
5220 static struct slave *bond_xdp_xmit_3ad_xor_slave_get(struct bonding *bond, in bond_xdp_xmit_3ad_xor_slave_get()
5243 struct bonding *bond = netdev_priv(dev); in bond_3ad_xor_xmit()
5259 struct bonding *bond = netdev_priv(bond_dev); in bond_xmit_broadcast()
5300 static inline int bond_slave_override(struct bonding *bond, in bond_slave_override()
5351 struct bonding *bond = netdev_priv(master_dev); in bond_xmit_get_slave()
5435 static struct net_device *__bond_sk_get_lower_dev(struct bonding *bond, in __bond_sk_get_lower_dev()
5457 struct bonding *bond = netdev_priv(dev); in bond_sk_get_lower_dev()
5469 static netdev_tx_t bond_tls_device_xmit(struct bonding *bond, struct sk_buff *skb, in bond_tls_device_xmit()
5486 struct bonding *bond = netdev_priv(dev); in __bond_start_xmit()
5521 struct bonding *bond = netdev_priv(dev); in bond_start_xmit()
5543 struct bonding *bond = netdev_priv(bond_dev); in bond_xdp_get_xmit_slave()
5615 struct bonding *bond = netdev_priv(dev); in bond_xdp_set()
5739 struct bonding *bond = netdev_priv(dev); in bond_hwtstamp_get()
5758 struct bonding *bond = netdev_priv(dev); in bond_hwtstamp_set()
5779 struct bonding *bond = netdev_priv(bond_dev); in bond_ethtool_get_link_ksettings()
5823 struct bonding *bond = netdev_priv(bond_dev); in bond_ethtool_get_ts_info()
5935 struct bonding *bond = netdev_priv(bond_dev); in bond_destructor()
5945 struct bonding *bond = netdev_priv(bond_dev); in bond_setup()
6011 struct bonding *bond = netdev_priv(bond_dev); in bond_uninit()
6427 struct bonding *bond = netdev_priv(bond_dev); in bond_init()
6468 struct bonding *bond; in bond_create()
6473 bond_dev = alloc_netdev_mq(sizeof(struct bonding), in bond_create()
6525 struct bonding *bond, *tmp_bond; in bond_net_exit_batch()