Searched refs:min_tx_space (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 554 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()
|
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 4006 u32 tx_space, min_tx_space, min_rx_space; in e1000e_reset() local 4029 min_tx_space = (adapter->max_frame_size + in e1000e_reset() 4031 min_tx_space = ALIGN(min_tx_space, 1024); in e1000e_reset() 4032 min_tx_space >>= 10; in e1000e_reset() 4042 if ((tx_space < min_tx_space) && in e1000e_reset() 4043 ((min_tx_space - tx_space) < pba)) { in e1000e_reset() 4044 pba -= min_tx_space - tx_space; in e1000e_reset()
|
/Linux-v5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2281 u32 min_rx_space, min_tx_space, needed_tx_space; in igb_reset() local 2300 min_tx_space = adapter->max_frame_size; in igb_reset() 2301 min_tx_space += sizeof(union e1000_adv_tx_desc) - ETH_FCS_LEN; in igb_reset() 2302 min_tx_space = DIV_ROUND_UP(min_tx_space, 512); in igb_reset() 2305 needed_tx_space = min_tx_space - (rd32(E1000_PBA) >> 16); in igb_reset()
|