Searched refs:sqe_cnt (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.h | 89 u32 sqe_cnt; member 149 u32 sqe_cnt; /* Keep these two at top */ member
|
D | otx2_common.c | 913 aq->sq.cq_limit = ((SEND_CQ_SKID * 256) / (pfvf->qset.sqe_cnt)); in otx2_sq_aq_init() 933 sq->sqe_cnt = qset->sqe_cnt; in otx2_sq_init() 940 err = qmem_alloc(pfvf->dev, &sq->tso_hdrs, qset->sqe_cnt, in otx2_sq_init() 947 sq->sg = kcalloc(qset->sqe_cnt, sizeof(struct sg_list), GFP_KERNEL); in otx2_sq_init() 952 err = qmem_alloc(pfvf->dev, &sq->timestamps, qset->sqe_cnt, in otx2_sq_init() 964 sq->num_sqbs = (qset->sqe_cnt + sq->sqe_per_sqb) / sq->sqe_per_sqb; in otx2_sq_init() 1004 cq->cqe_cnt = qset->sqe_cnt; in otx2_cq_init() 1010 cq->cqe_cnt = qset->sqe_cnt; in otx2_cq_init() 1015 cq->cqe_cnt = qset->sqe_cnt; in otx2_cq_init() 1442 num_sqbs = (qset->sqe_cnt + num_sqbs) / num_sqbs; in otx2_sq_aura_pool_init()
|
D | cn10k.c | 99 aq->sq.cq_limit = ((SEND_CQ_SKID * 256) / (pfvf->qset.sqe_cnt)); in cn10k_sq_aq_init() 160 sq->head &= (sq->sqe_cnt - 1); in cn10k_sqe_flush()
|
D | otx2_txrx.c | 489 sq->cons_head &= (sq->sqe_cnt - 1); in otx2_tx_napi_handler() 612 sq->head &= (sq->sqe_cnt - 1); in otx2_sqe_flush() 1155 free_desc = (sq->cons_head - sq->head - 1 + sq->sqe_cnt) & (sq->sqe_cnt - 1); in otx2_sq_append_skb() 1332 for (sqe = 0; sqe < sq->sqe_cnt; sqe++) { in otx2_free_pending_sqe()
|
D | otx2_ethtool.c | 387 ring->tx_pending = qs->sqe_cnt ? qs->sqe_cnt : Q_COUNT(Q_SIZE_4K); in otx2_get_ringparam() 440 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt && in otx2_set_ringparam() 448 qs->sqe_cnt = tx_count; in otx2_set_ringparam()
|
D | qos_sq.c | 50 num_sqbs = (qset->sqe_cnt + num_sqbs) / num_sqbs; in otx2_qos_sq_aura_pool_init()
|
D | otx2_pf.c | 1799 qset->sqe_cnt = qset->sqe_cnt ? qset->sqe_cnt : Q_COUNT(Q_SIZE_4K); in otx2_open() 2056 memset_startat(qset, 0, sqe_cnt); in otx2_stop()
|