Searched refs:eosw_txq (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_mqprio.c | 95 struct sge_eosw_txq *eosw_txq, in cxgb4_init_eosw_txq() argument 101 memset(eosw_txq, 0, sizeof(*eosw_txq)); in cxgb4_init_eosw_txq() 108 eosw_txq->desc = ring; in cxgb4_init_eosw_txq() 109 eosw_txq->ndesc = CXGB4_EOSW_TXQ_DEFAULT_DESC_NUM; in cxgb4_init_eosw_txq() 110 spin_lock_init(&eosw_txq->lock); in cxgb4_init_eosw_txq() 111 eosw_txq->state = CXGB4_EO_STATE_CLOSED; in cxgb4_init_eosw_txq() 112 eosw_txq->eotid = eotid; in cxgb4_init_eosw_txq() 113 eosw_txq->hwtid = adap->tids.eotid_base + eosw_txq->eotid; in cxgb4_init_eosw_txq() 114 eosw_txq->cred = adap->params.ofldq_wr_cred; in cxgb4_init_eosw_txq() 115 eosw_txq->hwqid = hwqid; in cxgb4_init_eosw_txq() [all …]
|
D | sge.c | 2125 struct sge_eosw_txq *eosw_txq, u32 ndesc) in cxgb4_eosw_txq_free_desc() argument 2129 d = &eosw_txq->desc[eosw_txq->last_cidx]; in cxgb4_eosw_txq_free_desc() 2139 eosw_txq_advance_index(&eosw_txq->last_cidx, 1, in cxgb4_eosw_txq_free_desc() 2140 eosw_txq->ndesc); in cxgb4_eosw_txq_free_desc() 2141 d = &eosw_txq->desc[eosw_txq->last_cidx]; in cxgb4_eosw_txq_free_desc() 2145 static inline void eosw_txq_advance(struct sge_eosw_txq *eosw_txq, u32 n) in eosw_txq_advance() argument 2147 eosw_txq_advance_index(&eosw_txq->pidx, n, eosw_txq->ndesc); in eosw_txq_advance() 2148 eosw_txq->inuse += n; in eosw_txq_advance() 2151 static inline int eosw_txq_enqueue(struct sge_eosw_txq *eosw_txq, in eosw_txq_enqueue() argument 2154 if (eosw_txq->inuse == eosw_txq->ndesc) in eosw_txq_enqueue() [all …]
|
D | cxgb4_tc_mqprio.h | 30 struct sge_eosw_txq *eosw_txq; /* Netdev SW Tx queue array */ member
|
D | cxgb4_debugfs.c | 2874 tx = &port_mqprio->eosw_txq[4 * r]; in sge_qinfo_show()
|