Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/engleder/
Dtsnep_main.c785 int desc_available = tsnep_tx_desc_available(tx); in tsnep_xdp_xmit_zc() local
793 if (desc_available <= (MAX_SKB_FRAGS + 1)) in tsnep_xdp_xmit_zc()
795 desc_available -= MAX_SKB_FRAGS + 1; in tsnep_xdp_xmit_zc()
797 batch = xsk_tx_peek_release_desc_batch(tx->xsk_pool, desc_available); in tsnep_xdp_xmit_zc()
1271 static void tsnep_xsk_rx_need_wakeup(struct tsnep_rx *rx, int desc_available) in tsnep_xsk_rx_need_wakeup() argument
1273 if (desc_available) in tsnep_xsk_rx_need_wakeup()
1437 int desc_available; in tsnep_rx_poll() local
1442 desc_available = tsnep_rx_desc_available(rx); in tsnep_rx_poll()
1461 if (desc_available >= TSNEP_RING_RX_REFILL) { in tsnep_rx_poll()
1462 bool reuse = desc_available >= TSNEP_RING_RX_REUSE; in tsnep_rx_poll()
[all …]