Home
last modified time | relevance | path

Searched refs:min_tx_space (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
H A De1000_main.c554 u32 pba = 0, tx_space, min_tx_space, min_rx_space; in e1000_reset() local
620 min_tx_space = (hw->max_frame_size + in e1000_reset()
623 min_tx_space = ALIGN(min_tx_space, 1024); in e1000_reset()
624 min_tx_space >>= 10; in e1000_reset()
634 if (tx_space < min_tx_space && in e1000_reset()
635 ((min_tx_space - tx_space) < pba)) { in e1000_reset()
636 pba = pba - (min_tx_space - tx_space); in e1000_reset()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000/
H A De1000_main.c554 u32 pba = 0, tx_space, min_tx_space, min_rx_space; in e1000_reset() local
620 min_tx_space = (hw->max_frame_size + in e1000_reset()
623 min_tx_space = ALIGN(min_tx_space, 1024); in e1000_reset()
624 min_tx_space >>= 10; in e1000_reset()
634 if (tx_space < min_tx_space && in e1000_reset()
635 ((min_tx_space - tx_space) < pba)) { in e1000_reset()
636 pba = pba - (min_tx_space - tx_space); in e1000_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c3968 u32 tx_space, min_tx_space, min_rx_space; in e1000e_reset() local
3991 min_tx_space = (adapter->max_frame_size + in e1000e_reset()
3993 min_tx_space = ALIGN(min_tx_space, 1024); in e1000e_reset()
3994 min_tx_space >>= 10; in e1000e_reset()
4004 if ((tx_space < min_tx_space) && in e1000e_reset()
4005 ((min_tx_space - tx_space) < pba)) { in e1000e_reset()
4006 pba -= min_tx_space - tx_space; in e1000e_reset()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c3960 u32 tx_space, min_tx_space, min_rx_space; in e1000e_reset() local
3983 min_tx_space = (adapter->max_frame_size + in e1000e_reset()
3985 min_tx_space = ALIGN(min_tx_space, 1024); in e1000e_reset()
3986 min_tx_space >>= 10; in e1000e_reset()
3996 if ((tx_space < min_tx_space) && in e1000e_reset()
3997 ((min_tx_space - tx_space) < pba)) { in e1000e_reset()
3998 pba -= min_tx_space - tx_space; in e1000e_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A Digb_main.c2293 u32 min_rx_space, min_tx_space, needed_tx_space; in igb_reset() local
2312 min_tx_space = adapter->max_frame_size; in igb_reset()
2313 min_tx_space += sizeof(union e1000_adv_tx_desc) - ETH_FCS_LEN; in igb_reset()
2314 min_tx_space = DIV_ROUND_UP(min_tx_space, 512); in igb_reset()
2317 needed_tx_space = min_tx_space - (rd32(E1000_PBA) >> 16); in igb_reset()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb_main.c2314 u32 min_rx_space, min_tx_space, needed_tx_space; in igb_reset() local
2333 min_tx_space = adapter->max_frame_size; in igb_reset()
2334 min_tx_space += sizeof(union e1000_adv_tx_desc) - ETH_FCS_LEN; in igb_reset()
2335 min_tx_space = DIV_ROUND_UP(min_tx_space, 512); in igb_reset()
2338 needed_tx_space = min_tx_space - (rd32(E1000_PBA) >> 16); in igb_reset()

Completed in 49 milliseconds