Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/marvell/
Dmvneta.c656 int next_desc_to_proc; member
695 int next_desc_to_proc; member
884 int rx_desc = rxq->next_desc_to_proc; in mvneta_rxq_next_desc_get()
886 rxq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(rxq, rx_desc); in mvneta_rxq_next_desc_get()
887 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvneta_rxq_next_desc_get()
944 int tx_desc = txq->next_desc_to_proc; in mvneta_txq_next_desc_get()
946 txq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(txq, tx_desc); in mvneta_txq_next_desc_get()
955 if (txq->next_desc_to_proc == 0) in mvneta_txq_desc_put()
956 txq->next_desc_to_proc = txq->last_desc - 1; in mvneta_txq_desc_put()
958 txq->next_desc_to_proc--; in mvneta_txq_desc_put()
[all …]
/Linux-v5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1340 int next_desc_to_proc; member
1363 int next_desc_to_proc; member
Dmvpp2_main.c2076 int rx_desc = rxq->next_desc_to_proc; in mvpp2_rxq_next_desc_get()
2078 rxq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(rxq, rx_desc); in mvpp2_rxq_next_desc_get()
2079 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvpp2_rxq_next_desc_get()
2108 int tx_desc = txq->next_desc_to_proc; in mvpp2_txq_next_desc_get()
2110 txq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(txq, tx_desc); in mvpp2_txq_next_desc_get()
2220 if (txq->next_desc_to_proc == 0) in mvpp2_txq_desc_put()
2221 txq->next_desc_to_proc = txq->last_desc - 1; in mvpp2_txq_desc_put()
2223 txq->next_desc_to_proc--; in mvpp2_txq_desc_put()
2544 aggr_txq->next_desc_to_proc = mvpp2_read(priv, in mvpp2_aggr_txq_init()
2694 rxq->next_desc_to_proc = 0; in mvpp2_rxq_deinit()
[all …]