From: David Wei <dw@davidwei.uk>
To: Parav Pandit <parav@nvidia.com>,
netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, corbet@lwn.net,
kalesh-anakkur.purayil@broadcom.com
Cc: saeedm@nvidia.com, leon@kernel.org, jiri@resnulli.us,
shayd@nvidia.com, danielj@nvidia.com, dchumak@nvidia.com,
linux-doc@vger.kernel.org, linux-rdma@vger.kernel.org
Subject: Re: [net-next v4 2/2] mlx5/core: Support max_io_eqs for a function
Date: Sun, 7 Apr 2024 09:08:10 -0700 [thread overview]
Message-ID: <f58a134c-f46f-4b30-b520-12b05e1346d2@davidwei.uk> (raw)
In-Reply-To: <20240406010538.220167-3-parav@nvidia.com>
On 2024-04-05 6:05 pm, Parav Pandit wrote:
> Implement get and set for the maximum IO event queues for SF and VF.
> This enables administrator on the hypervisor to control the maximum
> IO event queues which are typically used to derive the maximum and
> default number of net device channels or rdma device completion vectors.
>
> Reviewed-by: Shay Drory <shayd@nvidia.com>
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> ---
> changelog:
> v3->v4:
> - addressed comment from David
> - replaced open coded overflow check with kernel api
> v2->v3:
> - limited to 80 chars per line in devlink
> - fixed comments from Jakub in mlx5 driver to fix missing mutex unlock
> on error path
> v1->v2:
> - fixed comments from Kalesh
> - fixed missing kfree in get call
> - returning error code for get cmd failure
> - fixed error msg copy paste error in set on cmd failure
> - limited code to 80 chars limit
> - fixed set function variables for reverse christmas tree
>
> ---
> .../mellanox/mlx5/core/esw/devlink_port.c | 4 +
> .../net/ethernet/mellanox/mlx5/core/eswitch.h | 7 ++
> .../mellanox/mlx5/core/eswitch_offloads.c | 97 +++++++++++++++++++
> 3 files changed, 108 insertions(+)
>
LGTM, thanks for addressing.
next prev parent reply other threads:[~2024-04-07 16:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-06 1:05 [net-next v4 0/2] devlink: Add port function attribute for IO EQs Parav Pandit
2024-04-06 1:05 ` [net-next v4 1/2] devlink: Support setting max_io_eqs Parav Pandit
2024-04-06 1:05 ` [net-next v4 2/2] mlx5/core: Support max_io_eqs for a function Parav Pandit
2024-04-07 16:08 ` David Wei [this message]
2024-04-08 12:44 ` Jiri Pirko
2024-04-06 9:05 ` [net-next v4 0/2] devlink: Add port function attribute for IO EQs Zhu Yanjun
2024-04-08 3:20 ` Parav Pandit
2024-04-08 13:20 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f58a134c-f46f-4b30-b520-12b05e1346d2@davidwei.uk \
--to=dw@davidwei.uk \
--cc=corbet@lwn.net \
--cc=danielj@nvidia.com \
--cc=davem@davemloft.net \
--cc=dchumak@nvidia.com \
--cc=edumazet@google.com \
--cc=jiri@resnulli.us \
--cc=kalesh-anakkur.purayil@broadcom.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=parav@nvidia.com \
--cc=saeedm@nvidia.com \
--cc=shayd@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox