[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211116054523.16e7c01e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 16 Nov 2021 05:45:23 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: Jason Gunthorpe <jgg@...dia.com>,
Leon Romanovsky <leon@...nel.org>,
Jiri Pirko <jiri@...dia.com>, Ido Schimmel <idosch@...sch.org>,
"David S . Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
edwin.peer@...adcom.com
Subject: Re: [PATCH net-next] devlink: Require devlink lock during device
reload
On Tue, 16 Nov 2021 08:00:10 +0100 Jiri Pirko wrote:
> >> It is not that we care about events in different namespaces, it is
> >> that rdma, like everything else, doesn't care about namespaces and
> >> wants events from the netdev no matter where it is located.
> >
> >devlink now allows drivers to be net ns-aware, and they should
> >obey if they declare support. Can we add a flag / capability
> >to devlink and make it an explicit opt-in for drivers who care?
>
> Looks kind of odd to me. It is also not possible for netdevice to say if
> it should be net namespace aware or not. The driver should not be the
> one to decide this.
NETIF_F_NETNS_LOCAL, but yeah, if it can be fixed that's obviously better.
Powered by blists - more mailing lists