Messages in this thread | | | Date | Tue, 16 Nov 2021 05:45:23 -0800 | From | Jakub Kicinski <> | 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.
| |