Lines Matching refs:tx_cp
7630 int tx_cp;
7692 tx_cp = bnxt_num_tx_to_cp(bp, hwr.tx);
7693 hwr.cp = sh ? max_t(int, tx_cp, rx_rings) : tx_cp + rx_rings;
10565 static int bnxt_num_cp_to_tx(struct bnxt *bp, int tx_cp)
10569 return (tx_cp - bp->tx_nr_rings_xdp) * tcs +
10576 int tx_cp = bnxt_num_tx_to_cp(bp, *tx);
10578 if (tx_cp != *tx) {
10579 int tx_saved = tx_cp, rc;
10581 rc = __bnxt_trim_rings(bp, rx, &tx_cp, max, sh);
10584 if (tx_cp != tx_saved)
10585 *tx = bnxt_num_cp_to_tx(bp, tx_cp);
10751 int i, total_vecs, max, rc = 0, min = 1, ulp_msix, tx_cp, tbl_size;
10787 tx_cp = bnxt_num_tx_to_cp(bp, bp->tx_nr_rings);
10789 max_t(int, tx_cp, bp->rx_nr_rings) :
10790 tx_cp + bp->rx_nr_rings;
13809 int max_rx, max_tx, max_cp, tx_sets = 1, tx_cp;
13832 tx_cp = __bnxt_num_tx_to_cp(bp, hwr.tx, tx_sets, tx_xdp);
13833 hwr.cp = sh ? max_t(int, tx_cp, rx) : tx_cp + rx;
14509 int rc, tx_cp;
14542 tx_cp = bnxt_num_tx_to_cp(bp, bp->tx_nr_rings);
14543 bp->cp_nr_rings = sh ? max_t(int, tx_cp, bp->rx_nr_rings) :
14544 tx_cp + bp->rx_nr_rings;