Lines Matching refs:qidx

196 			      int qidx)
227 pfvf->hw_ops->aura_freeptr(pfvf, qidx, iova & ~0x07ULL);
255 int qidx)
268 pfvf->hw_ops->aura_freeptr(pfvf, qidx,
275 struct nix_cqe_rx_s *cqe, int qidx)
283 qidx, parse->errlev, parse->errcode);
334 otx2_free_rcv_seg(pfvf, cqe, qidx);
450 int tx_pkts = 0, tx_bytes = 0, qidx;
462 qidx = cq->cq_idx - pfvf->hw.rx_queues;
463 sq = &pfvf->qset.sq[qidx];
473 qidx = cq->cq_idx - pfvf->hw.rx_queues;
478 otx2_snd_pkt_handler(pfvf, cq, &pfvf->qset.sq[qidx],
496 qidx = cq->cq_idx - pfvf->hw.rx_queues;
498 if (qidx >= pfvf->hw.tx_queues)
499 qidx -= pfvf->hw.xdp_queues;
500 txq = netdev_get_tx_queue(pfvf->netdev, qidx);
596 int size, int qidx)
752 struct sk_buff *skb, u16 qidx)
765 sqe_hdr->sq = (qidx >= pfvf->hw.tx_queues) ?
766 qidx + pfvf->hw.xdp_queues : qidx;
881 struct sk_buff *skb, u16 qidx)
883 struct netdev_queue *txq = netdev_get_tx_queue(pfvf->netdev, qidx);
912 otx2_sqe_add_hdr(pfvf, sq, sqe_hdr, skb, qidx);
961 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx);
1142 struct sk_buff *skb, u16 qidx)
1144 struct netdev_queue *txq = netdev_get_tx_queue(netdev, qidx);
1176 otx2_sq_append_tso(pfvf, sq, skb, qidx);
1185 otx2_sqe_add_hdr(pfvf, sq, sqe_hdr, skb, qidx);
1204 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx);
1210 void otx2_cleanup_rx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, int qidx)
1224 pool_id = otx2_get_pool_idx(pfvf, AURA_NIX_RQ, qidx);
1257 int qidx;
1259 qidx = cq->cq_idx - pfvf->hw.rx_queues;
1260 sq = &pfvf->qset.sq[qidx];
1284 if (qidx >= pfvf->hw.tx_queues)
1285 qidx -= pfvf->hw.xdp_queues;
1286 txq = netdev_get_tx_queue(pfvf->netdev, qidx);
1367 bool otx2_xdp_sq_append_pkt(struct otx2_nic *pfvf, u64 iova, int len, u16 qidx)
1373 sq = &pfvf->qset.sq[qidx];
1385 sqe_hdr->sq = qidx;
1395 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx);
1407 int qidx = cq->cq_idx;
1430 qidx += pfvf->hw.tx_queues;
1433 cqe->sg.seg_size, qidx);