Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/marvell/
Dmvneta.c580 int next_desc_to_proc; member
615 int next_desc_to_proc; member
811 int rx_desc = rxq->next_desc_to_proc; in mvneta_rxq_next_desc_get()
813 rxq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(rxq, rx_desc); in mvneta_rxq_next_desc_get()
814 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvneta_rxq_next_desc_get()
871 int tx_desc = txq->next_desc_to_proc; in mvneta_txq_next_desc_get()
873 txq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(txq, tx_desc); in mvneta_txq_next_desc_get()
882 if (txq->next_desc_to_proc == 0) in mvneta_txq_desc_put()
883 txq->next_desc_to_proc = txq->last_desc - 1; in mvneta_txq_desc_put()
885 txq->next_desc_to_proc--; in mvneta_txq_desc_put()
[all …]
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1030 int next_desc_to_proc; member
1053 int next_desc_to_proc; member
Dmvpp2_main.c1581 int rx_desc = rxq->next_desc_to_proc; in mvpp2_rxq_next_desc_get()
1583 rxq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(rxq, rx_desc); in mvpp2_rxq_next_desc_get()
1584 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvpp2_rxq_next_desc_get()
1613 int tx_desc = txq->next_desc_to_proc; in mvpp2_txq_next_desc_get()
1615 txq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(txq, tx_desc); in mvpp2_txq_next_desc_get()
1721 if (txq->next_desc_to_proc == 0) in mvpp2_txq_desc_put()
1722 txq->next_desc_to_proc = txq->last_desc - 1; in mvpp2_txq_desc_put()
1724 txq->next_desc_to_proc--; in mvpp2_txq_desc_put()
2035 aggr_txq->next_desc_to_proc = mvpp2_read(priv, in mvpp2_aggr_txq_init()
2142 rxq->next_desc_to_proc = 0; in mvpp2_rxq_deinit()
[all …]