Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dev.c2334 unsigned int frame_fifo_size; in xgbe_queue_flow_control_threshold() local
2337 frame_fifo_size = XGMAC_FLOW_CONTROL_ALIGN(xgbe_get_max_frame(pdata)); in xgbe_queue_flow_control_threshold()
2342 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2367 if (q_fifo_size <= frame_fifo_size) { in xgbe_queue_flow_control_threshold()
2374 if (q_fifo_size <= (frame_fifo_size * 3)) { in xgbe_queue_flow_control_threshold()
2379 rfa = q_fifo_size - frame_fifo_size; in xgbe_queue_flow_control_threshold()
2380 rfd = rfa + (frame_fifo_size / 2); in xgbe_queue_flow_control_threshold()
2385 rfa = frame_fifo_size * 2; in xgbe_queue_flow_control_threshold()
2387 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()