[PATCH v2 1/2] net/ice: properly handle TM hierarchy deletion

Bruce Richardson bruce.richardson at intel.com
Thu May 7 15:11:16 CEST 2026


On Thu, May 07, 2026 at 12:59:29PM +0000, Ciara Loftus wrote:
> From: Mukul Katiyar <mukul at versa-networks.com>
> 
> When a TM hierarchy is fully deleted and then committed, the hardware
> scheduler nodes may be left with any bandwidth limits that were
> programmed by the previous hierarchy commit. These stale limits may
> remain in effect the next time the device starts, permanently throttling
> traffic even though the TM hierarchy was removed.
> 
> Fix this by resetting all descendant hardware scheduler nodes to their
> default state when committing an empty hierarchy. Also restore the port
> queue count to its hardware default and clear the committed flag so the
> port starts cleanly without any TM configuration applied.
> 
> Fixes: 715d449a965b ("net/ice: enhance Tx scheduler hierarchy support")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Mukul Katiyar <mukul at versa-networks.com>
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
> v2:
> * Ensure restore is only performed if a hierarchy has already been
> committed
> ---
>  .mailmap                       |  1 +
>  drivers/net/intel/ice/ice_tm.c | 24 ++++++++++++++++++++++--
>  2 files changed, 23 insertions(+), 2 deletions(-)
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list