Home
last modified time | relevance | path

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

/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 …]
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1457 int next_desc_to_proc; member
1480 int next_desc_to_proc; member
Dmvpp2_main.c2429 int rx_desc = rxq->next_desc_to_proc; in mvpp2_rxq_next_desc_get()
2431 rxq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(rxq, rx_desc); in mvpp2_rxq_next_desc_get()
2432 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvpp2_rxq_next_desc_get()
2461 int tx_desc = txq->next_desc_to_proc; in mvpp2_txq_next_desc_get()
2463 txq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(txq, tx_desc); in mvpp2_txq_next_desc_get()
2573 if (txq->next_desc_to_proc == 0) in mvpp2_txq_desc_put()
2574 txq->next_desc_to_proc = txq->last_desc - 1; in mvpp2_txq_desc_put()
2576 txq->next_desc_to_proc--; in mvpp2_txq_desc_put()
2920 aggr_txq->next_desc_to_proc = mvpp2_read(priv, in mvpp2_aggr_txq_init()
3073 rxq->next_desc_to_proc = 0; in mvpp2_rxq_deinit()
[all …]