Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c2282 unsigned int q_fifo_size) in xgbe_queue_flow_control_threshold() argument
2289 if (pdata->pfcq[queue] && (q_fifo_size > pdata->pfc_rfa)) { in xgbe_queue_flow_control_threshold()
2303 if (q_fifo_size <= 2048) { in xgbe_queue_flow_control_threshold()
2310 if (q_fifo_size <= 4096) { in xgbe_queue_flow_control_threshold()
2317 if (q_fifo_size <= frame_fifo_size) { in xgbe_queue_flow_control_threshold()
2324 if (q_fifo_size <= (frame_fifo_size * 3)) { in xgbe_queue_flow_control_threshold()
2329 rfa = q_fifo_size - frame_fifo_size; in xgbe_queue_flow_control_threshold()
2348 unsigned int q_fifo_size; in xgbe_calculate_flow_control_threshold() local
2352 q_fifo_size = (fifo[i] + 1) * XGMAC_FIFO_UNIT; in xgbe_calculate_flow_control_threshold()
2354 xgbe_queue_flow_control_threshold(pdata, i, q_fifo_size); in xgbe_calculate_flow_control_threshold()
[all …]
/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-hw.c1608 unsigned int q_fifo_size; in xlgmac_calculate_per_queue_fifo() local
1612 q_fifo_size = 1 << (fifo_size + 7); in xlgmac_calculate_per_queue_fifo()
1615 q_fifo_size = min_t(unsigned int, XLGMAC_MAX_FIFO, q_fifo_size); in xlgmac_calculate_per_queue_fifo()
1617 q_fifo_size = q_fifo_size / queue_count; in xlgmac_calculate_per_queue_fifo()
1623 p_fifo = q_fifo_size / 256; in xlgmac_calculate_per_queue_fifo()