Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-08-02 Thread Jiri Pirko
Thu, Aug 01, 2019 at 12:31:52AM CEST, dsah...@gmail.com wrote: >On 7/31/19 4:28 PM, Jakub Kicinski wrote: >> On Wed, 31 Jul 2019 16:07:31 -0600, David Ahern wrote: >>> On 7/31/19 4:02 PM, Jakub Kicinski wrote: Can you elaborate further? Ports for most purposes are represented by netdevice

Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-31 Thread David Ahern
On 7/31/19 4:28 PM, Jakub Kicinski wrote: > On Wed, 31 Jul 2019 16:07:31 -0600, David Ahern wrote: >> On 7/31/19 4:02 PM, Jakub Kicinski wrote: >>> Can you elaborate further? Ports for most purposes are represented by >>> netdevices. Devlink port instances expose global topological view of >>> the

Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-31 Thread Jakub Kicinski
On Wed, 31 Jul 2019 16:07:31 -0600, David Ahern wrote: > On 7/31/19 4:02 PM, Jakub Kicinski wrote: > > Can you elaborate further? Ports for most purposes are represented by > > netdevices. Devlink port instances expose global topological view of > > the ports which is primarily relevant if you can

Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-31 Thread David Ahern
On 7/31/19 4:02 PM, Jakub Kicinski wrote: > On Wed, 31 Jul 2019 15:50:26 -0600, David Ahern wrote: >> On 7/30/19 12:08 AM, Jiri Pirko wrote: >>> Mon, Jul 29, 2019 at 10:17:25PM CEST, dsah...@gmail.com wrote: On 7/27/19 3:44 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Devlink

Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-31 Thread Jakub Kicinski
On Wed, 31 Jul 2019 15:50:26 -0600, David Ahern wrote: > On 7/30/19 12:08 AM, Jiri Pirko wrote: > > Mon, Jul 29, 2019 at 10:17:25PM CEST, dsah...@gmail.com wrote: > >> On 7/27/19 3:44 AM, Jiri Pirko wrote: > >>> From: Jiri Pirko > >>> > >>> Devlink from the beginning counts with network namesp

Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-31 Thread David Ahern
On 7/30/19 12:08 AM, Jiri Pirko wrote: > Mon, Jul 29, 2019 at 10:17:25PM CEST, dsah...@gmail.com wrote: >> On 7/27/19 3:44 AM, Jiri Pirko wrote: >>> From: Jiri Pirko >>> >>> Devlink from the beginning counts with network namespaces, but the >>> instances has been fixed to init_net. The first patch

Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-29 Thread Jiri Pirko
Mon, Jul 29, 2019 at 10:17:25PM CEST, dsah...@gmail.com wrote: >On 7/27/19 3:44 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Devlink from the beginning counts with network namespaces, but the >> instances has been fixed to init_net. The first patch allows user >> to move existing devlink insta

Re: [patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-29 Thread David Ahern
On 7/27/19 3:44 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Devlink from the beginning counts with network namespaces, but the > instances has been fixed to init_net. The first patch allows user > to move existing devlink instances into namespaces: > so you intend for an asic, for example, to

[patch net-next 0/3] net: devlink: Finish network namespace support

2019-07-27 Thread Jiri Pirko
From: Jiri Pirko Devlink from the beginning counts with network namespaces, but the instances has been fixed to init_net. The first patch allows user to move existing devlink instances into namespaces: $ devlink dev netdevsim/netdevsim1 $ ip netns add ns1 $ devlink dev set netdevsim/netdevsim1 n