Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/marvell/
Dmvneta.c584 int next_desc_to_proc; member
619 int next_desc_to_proc; member
815 int rx_desc = rxq->next_desc_to_proc; in mvneta_rxq_next_desc_get()
817 rxq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(rxq, rx_desc); in mvneta_rxq_next_desc_get()
818 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvneta_rxq_next_desc_get()
875 int tx_desc = txq->next_desc_to_proc; in mvneta_txq_next_desc_get()
877 txq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(txq, tx_desc); in mvneta_txq_next_desc_get()
886 if (txq->next_desc_to_proc == 0) in mvneta_txq_desc_put()
887 txq->next_desc_to_proc = txq->last_desc - 1; in mvneta_txq_desc_put()
889 txq->next_desc_to_proc--; in mvneta_txq_desc_put()
[all …]
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1134 int next_desc_to_proc; member
1157 int next_desc_to_proc; member
Dmvpp2_main.c1867 int rx_desc = rxq->next_desc_to_proc; in mvpp2_rxq_next_desc_get()
1869 rxq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(rxq, rx_desc); in mvpp2_rxq_next_desc_get()
1870 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvpp2_rxq_next_desc_get()
1899 int tx_desc = txq->next_desc_to_proc; in mvpp2_txq_next_desc_get()
1901 txq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(txq, tx_desc); in mvpp2_txq_next_desc_get()
2011 if (txq->next_desc_to_proc == 0) in mvpp2_txq_desc_put()
2012 txq->next_desc_to_proc = txq->last_desc - 1; in mvpp2_txq_desc_put()
2014 txq->next_desc_to_proc--; in mvpp2_txq_desc_put()
2331 aggr_txq->next_desc_to_proc = mvpp2_read(priv, in mvpp2_aggr_txq_init()
2438 rxq->next_desc_to_proc = 0; in mvpp2_rxq_deinit()
[all …]