[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190813104526.481b90a4@cakuba.netronome.com>
Date: Tue, 13 Aug 2019 10:45:26 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: David Ahern <dsahern@...il.com>
Cc: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org,
davem@...emloft.net, stephen@...workplumber.org, mlxsw@...lanox.com
Subject: Re: [patch net-next v3 0/3] net: devlink: Finish network namespace
support
On Mon, 12 Aug 2019 19:46:57 -0600, David Ahern wrote:
> On 8/12/19 7:11 PM, Jakub Kicinski wrote:
> > If the devlink instance just disappeared - that'd be a very very strange
> > thing. Only software objects disappear with the namespace.
> > Netdevices without ->rtnl_link_ops go back to init_net.
>
> netdevsim still has rtnl_link_ops:
>
> static struct rtnl_link_ops nsim_link_ops __read_mostly = {
> .kind = DRV_NAME,
> .validate = nsim_validate,
> };
The test harness is the only devlink instance which may
conceivably have link ops. And implementing the behaviour
you ask for would require core changes.
We are back to the precedent by test harness argument :(
Powered by blists - more mailing lists