From: Jason Gunthorpe <jgg@nvidia.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: Doug Ledford <dledford@redhat.com>,
Mark Bloch <mbloch@nvidia.com>,
linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org,
Maor Gottlieb <maorg@mellanox.com>,
Maor Gottlieb <maorg@nvidia.com>
Subject: Re: [PATCH rdma-rc] RDMA/mlx5: Block FDB rules when not in switchdev mode
Date: Tue, 8 Jun 2021 17:10:16 -0300 [thread overview]
Message-ID: <20210608201016.GA992876@nvidia.com> (raw)
In-Reply-To: <e928ae7c58d07f104716a2a8d730963d1bd01204.1623052923.git.leonro@nvidia.com>
On Mon, Jun 07, 2021 at 11:03:12AM +0300, Leon Romanovsky wrote:
> From: Mark Bloch <mbloch@nvidia.com>
>
> Allow creating FDB steering rules only when in switchdev mode.
>
> The only software model where a userspace application can manipulate
> FDB entries is when it manages the eswitch. This is only possible in
> switchdev mode where we expose a single RDMA device with representors
> for all the vports that are connected to the eswitch.
>
> Fixes: 52438be44112 ("RDMA/mlx5: Allow inserting a steering rule to the FDB")
> Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
> Signed-off-by: Mark Bloch <mbloch@nvidia.com>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
> drivers/infiniband/hw/mlx5/fs.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Applied to for-rc, thanks
Jason
prev parent reply other threads:[~2021-06-08 20:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-07 8:03 [PATCH rdma-rc] RDMA/mlx5: Block FDB rules when not in switchdev mode Leon Romanovsky
2021-06-08 20:10 ` Jason Gunthorpe [this message]
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=20210608201016.GA992876@nvidia.com \
--to=jgg@nvidia.com \
--cc=dledford@redhat.com \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=maorg@mellanox.com \
--cc=maorg@nvidia.com \
--cc=mbloch@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;
as well as URLs for NNTP newsgroup(s).