Home
last modified time | relevance | path

Searched refs:slave_cnt (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c69 unsigned int slave_cnt; member
134 group->slave_cnt = 0; in nfp_fl_lag_group_create()
339 acti_netdevs = kmalloc_array(entry->slave_cnt, in nfp_fl_lag_do_work()
363 if (slaves > entry->slave_cnt) in nfp_fl_lag_do_work()
381 if (slaves != entry->slave_cnt || !entry->dirty) { in nfp_fl_lag_do_work()
607 group->slave_cnt = slave_count; in nfp_fl_lag_changeupper_event()
/linux-6.6.21/drivers/net/bonding/
Dbond_main.c1734 info->num_slaves = bond->slave_cnt; in bond_fill_ifbond()
2227 bond->slave_cnt++; in bond_enslave()
2463 bond->slave_cnt--; in __bond_release_one()
4877 int slave_cnt; in bond_xmit_roundrobin_slave_get() local
4903 slave_cnt = READ_ONCE(bond->slave_cnt); in bond_xmit_roundrobin_slave_get()
4904 if (likely(slave_cnt)) { in bond_xmit_roundrobin_slave_get()
4905 slave_id = bond_rr_gen_slave_id(bond) % slave_cnt; in bond_xmit_roundrobin_slave_get()
4915 int slave_cnt; in bond_xdp_xmit_roundrobin_slave_get() local
4944 slave_cnt = READ_ONCE(bond->slave_cnt); in bond_xdp_xmit_roundrobin_slave_get()
4945 if (likely(slave_cnt)) { in bond_xdp_xmit_roundrobin_slave_get()
[all …]
/linux-6.6.21/include/net/
Dbonding.h223 s32 slave_cnt; /* never change this value outside the attach/detach wrappers */ member