|
@@ -7152,6 +7152,7 @@ int bnxt_setup_mq_tc(struct net_device *dev, u8 tc)
|
|
bp->tx_nr_rings = bp->tx_nr_rings_per_tc;
|
|
bp->tx_nr_rings = bp->tx_nr_rings_per_tc;
|
|
netdev_reset_tc(dev);
|
|
netdev_reset_tc(dev);
|
|
}
|
|
}
|
|
|
|
+ bp->tx_nr_rings += bp->tx_nr_rings_xdp;
|
|
bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) :
|
|
bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) :
|
|
bp->tx_nr_rings + bp->rx_nr_rings;
|
|
bp->tx_nr_rings + bp->rx_nr_rings;
|
|
bp->num_stat_ctxs = bp->cp_nr_rings;
|
|
bp->num_stat_ctxs = bp->cp_nr_rings;
|