Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/
Dmvneta.c659 int next_desc_to_proc; member
698 int next_desc_to_proc; member
887 int rx_desc = rxq->next_desc_to_proc; in mvneta_rxq_next_desc_get()
889 rxq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(rxq, rx_desc); in mvneta_rxq_next_desc_get()
890 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvneta_rxq_next_desc_get()
947 int tx_desc = txq->next_desc_to_proc; in mvneta_txq_next_desc_get()
949 txq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(txq, tx_desc); in mvneta_txq_next_desc_get()
958 if (txq->next_desc_to_proc == 0) in mvneta_txq_desc_put()
959 txq->next_desc_to_proc = txq->last_desc - 1; in mvneta_txq_desc_put()
961 txq->next_desc_to_proc--; in mvneta_txq_desc_put()
[all …]
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1457 int next_desc_to_proc; member
1480 int next_desc_to_proc; member
Dmvpp2_main.c2403 int rx_desc = rxq->next_desc_to_proc; in mvpp2_rxq_next_desc_get()
2405 rxq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(rxq, rx_desc); in mvpp2_rxq_next_desc_get()
2406 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvpp2_rxq_next_desc_get()
2435 int tx_desc = txq->next_desc_to_proc; in mvpp2_txq_next_desc_get()
2437 txq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(txq, tx_desc); in mvpp2_txq_next_desc_get()
2547 if (txq->next_desc_to_proc == 0) in mvpp2_txq_desc_put()
2548 txq->next_desc_to_proc = txq->last_desc - 1; in mvpp2_txq_desc_put()
2550 txq->next_desc_to_proc--; in mvpp2_txq_desc_put()
2894 aggr_txq->next_desc_to_proc = mvpp2_read(priv, in mvpp2_aggr_txq_init()
3047 rxq->next_desc_to_proc = 0; in mvpp2_rxq_deinit()
[all …]