Lines Matching refs:qidx

196 			      int qidx)  in otx2_skb_add_frag()  argument
227 pfvf->hw_ops->aura_freeptr(pfvf, qidx, iova & ~0x07ULL); in otx2_skb_add_frag()
255 int qidx) in otx2_free_rcv_seg() argument
268 pfvf->hw_ops->aura_freeptr(pfvf, qidx, in otx2_free_rcv_seg()
275 struct nix_cqe_rx_s *cqe, int qidx) in otx2_check_rcv_errors() argument
283 qidx, parse->errlev, parse->errcode); in otx2_check_rcv_errors()
334 otx2_free_rcv_seg(pfvf, cqe, qidx); in otx2_check_rcv_errors()
453 int tx_pkts = 0, tx_bytes = 0, qidx; in otx2_tx_napi_handler() local
465 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
466 sq = &pfvf->qset.sq[qidx]; in otx2_tx_napi_handler()
476 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
481 otx2_snd_pkt_handler(pfvf, cq, &pfvf->qset.sq[qidx], in otx2_tx_napi_handler()
499 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
501 if (qidx >= pfvf->hw.tx_queues) in otx2_tx_napi_handler()
502 qidx -= pfvf->hw.xdp_queues; in otx2_tx_napi_handler()
503 txq = netdev_get_tx_queue(pfvf->netdev, qidx); in otx2_tx_napi_handler()
599 int size, int qidx) in otx2_sqe_flush() argument
755 struct sk_buff *skb, u16 qidx) in otx2_sqe_add_hdr() argument
768 sqe_hdr->sq = (qidx >= pfvf->hw.tx_queues) ? in otx2_sqe_add_hdr()
769 qidx + pfvf->hw.xdp_queues : qidx; in otx2_sqe_add_hdr()
884 struct sk_buff *skb, u16 qidx) in otx2_sq_append_tso() argument
886 struct netdev_queue *txq = netdev_get_tx_queue(pfvf->netdev, qidx); in otx2_sq_append_tso()
915 otx2_sqe_add_hdr(pfvf, sq, sqe_hdr, skb, qidx); in otx2_sq_append_tso()
964 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx); in otx2_sq_append_tso()
1145 struct sk_buff *skb, u16 qidx) in otx2_sq_append_skb() argument
1147 struct netdev_queue *txq = netdev_get_tx_queue(netdev, qidx); in otx2_sq_append_skb()
1182 otx2_sq_append_tso(pfvf, sq, skb, qidx); in otx2_sq_append_skb()
1191 otx2_sqe_add_hdr(pfvf, sq, sqe_hdr, skb, qidx); in otx2_sq_append_skb()
1210 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx); in otx2_sq_append_skb()
1216 void otx2_cleanup_rx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq, int qidx) in otx2_cleanup_rx_cqes() argument
1230 pool_id = otx2_get_pool_idx(pfvf, AURA_NIX_RQ, qidx); in otx2_cleanup_rx_cqes()
1263 int qidx; in otx2_cleanup_tx_cqes() local
1265 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_cleanup_tx_cqes()
1266 sq = &pfvf->qset.sq[qidx]; in otx2_cleanup_tx_cqes()
1290 if (qidx >= pfvf->hw.tx_queues) in otx2_cleanup_tx_cqes()
1291 qidx -= pfvf->hw.xdp_queues; in otx2_cleanup_tx_cqes()
1292 txq = netdev_get_tx_queue(pfvf->netdev, qidx); in otx2_cleanup_tx_cqes()
1373 bool otx2_xdp_sq_append_pkt(struct otx2_nic *pfvf, u64 iova, int len, u16 qidx) in otx2_xdp_sq_append_pkt() argument
1379 sq = &pfvf->qset.sq[qidx]; in otx2_xdp_sq_append_pkt()
1391 sqe_hdr->sq = qidx; in otx2_xdp_sq_append_pkt()
1401 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx); in otx2_xdp_sq_append_pkt()
1413 int qidx = cq->cq_idx; in otx2_xdp_rcv_pkt_handler() local
1436 qidx += pfvf->hw.tx_queues; in otx2_xdp_rcv_pkt_handler()
1439 cqe->sg.seg_size, qidx); in otx2_xdp_rcv_pkt_handler()