Home
last modified time | relevance | path

Searched refs:rr_tx_counter (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Dbonding.h242 u32 __percpu *rr_tx_counter; member
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c4324 if (BOND_MODE(bond) == BOND_MODE_ROUNDROBIN && !bond->rr_tx_counter) { in bond_open()
4325 bond->rr_tx_counter = alloc_percpu(u32); in bond_open()
4326 if (!bond->rr_tx_counter) in bond_open()
4913 slave_id = this_cpu_inc_return(*bond->rr_tx_counter); in bond_rr_gen_slave_id()
4918 slave_id = this_cpu_inc_return(*bond->rr_tx_counter); in bond_rr_gen_slave_id()
5929 free_percpu(bond->rr_tx_counter); in bond_destructor()