Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/engleder/
Dtsnep_main.c724 int desc_available = tsnep_tx_desc_available(tx); in tsnep_xdp_xmit_zc() local
732 if (desc_available <= (MAX_SKB_FRAGS + 1)) in tsnep_xdp_xmit_zc()
734 desc_available -= MAX_SKB_FRAGS + 1; in tsnep_xdp_xmit_zc()
736 batch = xsk_tx_peek_release_desc_batch(tx->xsk_pool, desc_available); in tsnep_xdp_xmit_zc()
1368 int desc_available; in tsnep_rx_poll() local
1373 desc_available = tsnep_rx_desc_available(rx); in tsnep_rx_poll()
1392 if (desc_available >= TSNEP_RING_RX_REFILL) { in tsnep_rx_poll()
1393 bool reuse = desc_available >= TSNEP_RING_RX_REUSE; in tsnep_rx_poll()
1395 desc_available -= tsnep_rx_refill(rx, desc_available, in tsnep_rx_poll()
1403 desc_available++; in tsnep_rx_poll()
[all …]