[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240801034905.GA28115@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
Date: Wed, 31 Jul 2024 20:49:05 -0700
From: Shradha Gupta <shradhagupta@...ux.microsoft.com>
To: Naman Jain <namjain@...ux.microsoft.com>
Cc: linux-hyperv@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Long Li <longli@...rosoft.com>,
Ajay Sharma <sharmaajay@...rosoft.com>,
Simon Horman <horms@...nel.org>,
Konstantin Taranov <kotaranov@...rosoft.com>,
Souradeep Chakrabarti <schakrabarti@...ux.microsoft.com>,
Erick Archer <erick.archer@...look.com>,
Pavan Chebbi <pavan.chebbi@...adcom.com>,
Ahmed Zaki <ahmed.zaki@...el.com>,
Colin Ian King <colin.i.king@...il.com>
Subject: Re: [PATCH net-next v2] net: mana: Implement
get_ringparam/set_ringparam for mana
On Wed, Jul 31, 2024 at 02:19:34PM +0530, Naman Jain wrote:
>
>
> On 7/30/2024 10:31 PM, Shradha Gupta wrote:
> >Currently the values of WQs for RX and TX queues for MANA devices
> >are hardcoded to default sizes.
> >Allow configuring these values for MANA devices as ringparam
> >configuration(get/set) through ethtool_ops.
> >
> >Signed-off-by: Shradha Gupta <shradhagupta@...ux.microsoft.com>
> >Reviewed-by: Haiyang Zhang <haiyangz@...rosoft.com>
> >Reviewed-by: Long Li <longli@...rosoft.com>
> >---
> > Changes in v2:
> > * Removed unnecessary validations in mana_set_ringparam()
> > * Fixed codespell error
> > * Improved error message to indicate issue with the parameter
> >---
> > drivers/net/ethernet/microsoft/mana/mana_en.c | 20 +++---
> > .../ethernet/microsoft/mana/mana_ethtool.c | 66 +++++++++++++++++++
> > include/net/mana/mana.h | 21 +++++-
> > 3 files changed, 96 insertions(+), 11 deletions(-)
> >
>
> From what I understand, we are adding support for "ethtool -G --set-
> ring" command.
> Please correct me if I am wrong.
>
> Maybe it would be good to capture the benefit/purpose of this patch in
> the commit msg, as in which use-cases/scenarios we are now trying to
> support that previously were not supported. The "why?" part basically.
Hi Naman,
Thanks for your comment.
It is a pretty standard support for network drivers to allow changing
TX/RX queue sizes. We are working on improving customizations in MANA
driver based on VM configurations. This patch is a part of that series.
Hope that makes things more clear.
regards,
Shradha
>
>
>
> Regards,
> Naman Jain
Powered by blists - more mailing lists