[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250417194727.GB10777@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
Date: Thu, 17 Apr 2025 12:47:27 -0700
From: Erni Sri Satya Vennela <ernis@...ux.microsoft.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
decui@...rosoft.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
longli@...rosoft.com, kotaranov@...rosoft.com, horms@...nel.org,
kent.overstreet@...ux.dev, brett.creeley@....com,
schakrabarti@...ux.microsoft.com, shradhagupta@...ux.microsoft.com,
ssengar@...ux.microsoft.com, rosenp@...il.com,
paulros@...rosoft.com, linux-hyperv@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH 2/3] net: mana: Add sched HTB offload support
On Thu, Apr 17, 2025 at 08:10:53AM -0700, Stephen Hemminger wrote:
> On Thu, 17 Apr 2025 00:57:09 -0700
> Erni Sri Satya Vennela <ernis@...ux.microsoft.com> wrote:
>
> > Introduce support for HTB qdisc offload in the mana ethernet
> > controller. This controller can offload only one HTB leaf.
> > The HTB leaf supports clamping the bandwidth for egress traffic.
> > It uses the function mana_set_bw_clamp(), which internally calls
> > a HWC command to the hardware to set the speed.
>
> A single leaf is just Token Bucket Filter (TBF).
> Are you just trying to support some vendor config?
TBF does not support hardware offloading.
Out of the qdiscs that support hardware offloading, I have chosen HTB
which can help set bandwidth for the MANA NIC.
Powered by blists - more mailing lists