All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Leon Romanovsky <leon@kernel.org>
Cc: Doug Ledford <dledford@redhat.com>,
	Parav Pandit <parav@mellanox.com>,
	RDMA mailing list <linux-rdma@vger.kernel.org>,
	Leon Romanovsky <leonro@mellanox.com>
Subject: Re: [PATCH RESEND rdma-next] IB: Support netlink commands in non init_net net namespaces
Date: Thu, 25 Jul 2019 14:21:53 -0300	[thread overview]
Message-ID: <20190725172153.GA6093@ziepe.ca> (raw)
In-Reply-To: <20190723070205.6247-1-leon@kernel.org>

On Tue, Jul 23, 2019 at 10:02:05AM +0300, Leon Romanovsky wrote:
> From: Parav Pandit <parav@mellanox.com>
> 
> Now that IB core supports RDMA device binding with specific net
> namespace, enable IB core to accept netlink commands in non init_net
> namespaces.
> 
> This is done by having per net namespace netlink socket.
> 
> At present only netlink device handling client RDMA_NL_NLDEV supports
> device handling in multiple net namespaces.
> Hence do not accept netlink messages for other clients in non init_net
> net namespaces.
> 
> Signed-off-by: Parav Pandit <parav@mellanox.com>
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> ---
>  Rebased on top v5.3-rc1
> ---
>  drivers/infiniband/core/addr.c      |  2 +-
>  drivers/infiniband/core/core_priv.h | 24 ++++++++++-
>  drivers/infiniband/core/device.c    | 38 ++++++-----------
>  drivers/infiniband/core/iwpm_msg.c  |  8 ++--
>  drivers/infiniband/core/iwpm_util.c |  6 +--
>  drivers/infiniband/core/netlink.c   | 63 ++++++++++++++++++++---------
>  drivers/infiniband/core/nldev.c     | 20 ++++-----
>  drivers/infiniband/core/sa_query.c  |  2 +-
>  include/rdma/rdma_netlink.h         | 10 +++--
>  9 files changed, 105 insertions(+), 68 deletions(-)

Applied to for-next, thanks

But for future I would have prefered to see the 'add net * arguments'
part as a 2nd patch

Jason

      reply	other threads:[~2019-07-25 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-23  7:02 [PATCH RESEND rdma-next] IB: Support netlink commands in non init_net net namespaces Leon Romanovsky
2019-07-25 17:21 ` 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=20190725172153.GA6093@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=leonro@mellanox.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=parav@mellanox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.