Lines Matching refs:cpr
610 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring;
611 u64 *sw_stats = cpr->stats.sw_stats;
634 sw = (u64 *)&cpr->sw_stats->rx;
640 sw = (u64 *)&cpr->sw_stats->cmn;
4671 static int bnxt_rx_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr,
4674 struct bnxt_napi *bnapi = cpr->bnapi;
4686 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)];
4704 static int bnxt_poll_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr,
4713 raw_cons = cpr->cp_raw_cons;
4716 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
4729 rc = bnxt_rx_loopback(bp, cpr, raw_cons, pkt_size);
4736 cpr->cp_raw_cons = raw_cons;
4744 struct bnxt_cp_ring_info *cpr;
4751 cpr = &rxr->bnapi->cp_ring;
4753 cpr = rxr->rx_cpr;
4778 rc = bnxt_poll_loopback(bp, cpr, pkt_size);