Searched refs:tx_nr_rings_per_tc (Results 1 – 4 of 4) sorted by relevance
408 rc = bnxt_check_rings(bp, bp->tx_nr_rings_per_tc, bp->rx_nr_rings, in bnxt_xdp_set()436 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()
3727 ((tc) * (bp)->tx_nr_rings_per_tc)3730 ((tx) % (bp)->tx_nr_rings_per_tc)3733 ((tx) / (bp)->tx_nr_rings_per_tc)3790 if (BNXT_RING_TO_TC_OFF(bp, i) == (bp->tx_nr_rings_per_tc - 1)) in bnxt_alloc_tx_rings()10602 count = bp->tx_nr_rings_per_tc; in bnxt_setup_msix()10856 if (tcs && (bp->tx_nr_rings_per_tc * tcs != in bnxt_reserve_rings()10862 bp->tx_nr_rings_per_tc = bp->tx_nr_rings_xdp; in bnxt_reserve_rings()10864 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_reserve_rings()12052 q_map = kcalloc(bp->tx_nr_rings_per_tc, sizeof(*q_map), GFP_KERNEL); in bnxt_set_xps_mapping()12061 map_idx = i % bp->tx_nr_rings_per_tc; in bnxt_set_xps_mapping()[all …]
532 tx * (bp->tx_nr_rings_xdp + bp->tx_nr_rings_per_tc) + in bnxt_get_num_ring_stats()914 channel->tx_count = bp->tx_nr_rings_per_tc; in bnxt_get_channels()984 bp->tx_nr_rings_per_tc = channel->combined_count; in bnxt_set_channels()988 bp->tx_nr_rings_per_tc = channel->tx_count; in bnxt_set_channels()991 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()993 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
2314 int tx_nr_rings_per_tc; member