Searched refs:txq_pcpu (Results 1 – 2 of 2) sorted by relevance
299 static void mvpp2_txq_inc_get(struct mvpp2_txq_pcpu *txq_pcpu) in mvpp2_txq_inc_get() argument301 txq_pcpu->txq_get_index++; in mvpp2_txq_inc_get()302 if (txq_pcpu->txq_get_index == txq_pcpu->size) in mvpp2_txq_inc_get()303 txq_pcpu->txq_get_index = 0; in mvpp2_txq_inc_get()307 struct mvpp2_txq_pcpu *txq_pcpu, in mvpp2_txq_inc_put() argument313 txq_pcpu->buffs + txq_pcpu->txq_put_index; in mvpp2_txq_inc_put()322 txq_pcpu->txq_put_index++; in mvpp2_txq_inc_put()323 if (txq_pcpu->txq_put_index == txq_pcpu->size) in mvpp2_txq_inc_put()324 txq_pcpu->txq_put_index = 0; in mvpp2_txq_inc_put()2530 struct mvpp2_txq_pcpu *txq_pcpu, in mvpp2_txq_reserved_desc_num_proc() argument[all …]
1518 #define IS_TSO_HEADER(txq_pcpu, addr) \ argument1519 ((addr) >= (txq_pcpu)->tso_headers_dma && \1520 (addr) < (txq_pcpu)->tso_headers_dma + \1521 (txq_pcpu)->size * TSO_HEADER_SIZE)