Home
last modified time | relevance | path

Searched refs:txq_pcpu (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c266 static void mvpp2_txq_inc_get(struct mvpp2_txq_pcpu *txq_pcpu) in mvpp2_txq_inc_get() argument
268 txq_pcpu->txq_get_index++; in mvpp2_txq_inc_get()
269 if (txq_pcpu->txq_get_index == txq_pcpu->size) in mvpp2_txq_inc_get()
270 txq_pcpu->txq_get_index = 0; in mvpp2_txq_inc_get()
274 struct mvpp2_txq_pcpu *txq_pcpu, in mvpp2_txq_inc_put() argument
279 txq_pcpu->buffs + txq_pcpu->txq_put_index; in mvpp2_txq_inc_put()
284 txq_pcpu->txq_put_index++; in mvpp2_txq_inc_put()
285 if (txq_pcpu->txq_put_index == txq_pcpu->size) in mvpp2_txq_inc_put()
286 txq_pcpu->txq_put_index = 0; in mvpp2_txq_inc_put()
1679 struct mvpp2_txq_pcpu *txq_pcpu, in mvpp2_txq_reserved_desc_num_proc() argument
[all …]
Dmvpp2.h1087 #define IS_TSO_HEADER(txq_pcpu, addr) \ argument
1088 ((addr) >= (txq_pcpu)->tso_headers_dma && \
1089 (addr) < (txq_pcpu)->tso_headers_dma + \
1090 (txq_pcpu)->size * TSO_HEADER_SIZE)