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]>
- [PATCH 3/3] net/ice: fix Rx queue count reporting after T... Ciara Loftus
- Re: [PATCH 3/3] net/ice: fix Rx queue count reportin... Bruce Richardson
- RE: [PATCH 3/3] net/ice: fix Rx queue count repo... Loftus, Ciara
- [PATCH 2/3] net/ice: skip TC validation if hierarchy comm... Ciara Loftus
- Re: [PATCH 2/3] net/ice: skip TC validation if hiera... Bruce Richardson
- RE: [PATCH 2/3] net/ice: skip TC validation if h... Loftus, Ciara
- [PATCH v2 0/4] net/ice: fix Tx scheduler hierarchy queue ... Ciara Loftus
- [PATCH v2 3/4] net/ice: fix Rx queue count reporting... Ciara Loftus
- Re: [PATCH v2 3/4] net/ice: fix Rx queue count r... Bruce Richardson
- [PATCH v2 4/4] net/ice: split VSI queue count into R... Ciara Loftus
- Re: [PATCH v2 4/4] net/ice: split VSI queue coun... Bruce Richardson
- [PATCH v2 1/4] net/ice: fix Tx queue capacity sizing... Ciara Loftus
- [PATCH v2 2/4] net/ice: skip TC validation if hierar... Ciara Loftus
- Re: [PATCH v2 0/4] net/ice: fix Tx scheduler hierarc... Bruce Richardson

