On Mon, Sep 07, 2026 at 01:07:50PM +0000, Ciara Loftus wrote:
> The number of rxqs and txqs ie. "queue pairs" was tracked in a single
> variable `vsi->nb_qps` prior to this commit. A second variable `nb_tm_txqs`
> was then introduced to track the number of txqs independently of the rxqs,
> since the TM hierarchy could grow the number of txqs beyond the initial
> symmetric allocation. Since the number of rxqs and txqs can diverge, it
> doesn't make much sense to maintain the `vsi->nb_qps` variable anymore.
> This commit drops that variable and instead introduces two variables
> `vsi->nb_txqs` and `vsi->nb_rxqs` to track txqs and rxqs separately.
>
> Signed-off-by: Ciara Loftus <[email protected]>
> ---
> drivers/net/intel/ice/ice_ethdev.c | 37 ++++++++++++++----------------
> drivers/net/intel/ice/ice_ethdev.h | 4 ++--
> drivers/net/intel/ice/ice_tm.c | 8 +++----
> 3 files changed, 23 insertions(+), 26 deletions(-)
>
Acked-by: Bruce Richardson <[email protected]>