Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/e1000/
De1000_main.c551 u32 pba = 0, tx_space, min_tx_space, min_rx_space; in e1000_reset() local
617 min_tx_space = (hw->max_frame_size + in e1000_reset()
620 min_tx_space = ALIGN(min_tx_space, 1024); in e1000_reset()
621 min_tx_space >>= 10; in e1000_reset()
631 if (tx_space < min_tx_space && in e1000_reset()
632 ((min_tx_space - tx_space) < pba)) { in e1000_reset()
633 pba = pba - (min_tx_space - tx_space); in e1000_reset()
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3958 u32 tx_space, min_tx_space, min_rx_space; in e1000e_reset() local
3981 min_tx_space = (adapter->max_frame_size + in e1000e_reset()
3983 min_tx_space = ALIGN(min_tx_space, 1024); in e1000e_reset()
3984 min_tx_space >>= 10; in e1000e_reset()
3994 if ((tx_space < min_tx_space) && in e1000e_reset()
3995 ((min_tx_space - tx_space) < pba)) { in e1000e_reset()
3996 pba -= min_tx_space - tx_space; in e1000e_reset()
/linux-6.12.1/drivers/net/ethernet/intel/igb/
Digb_main.c2287 u32 min_rx_space, min_tx_space, needed_tx_space; in igb_reset() local
2306 min_tx_space = adapter->max_frame_size; in igb_reset()
2307 min_tx_space += sizeof(union e1000_adv_tx_desc) - ETH_FCS_LEN; in igb_reset()
2308 min_tx_space = DIV_ROUND_UP(min_tx_space, 512); in igb_reset()
2311 needed_tx_space = min_tx_space - (rd32(E1000_PBA) >> 16); in igb_reset()