Re: [patch net-next 6/9] mlxsw: spectrum: Unmap local port from module during teardown

2016-02-22 Thread Andy Gospodarek
On Mon, Feb 22, 2016 at 12:32:47PM -0800, John Fastabend wrote: > On 16-02-22 10:32 AM, Jiri Pirko wrote: > > From: Ido Schimmel > > > > When splitting a port we replace it with 2 or 4 other ports. To be able > > to do that we need to remove the original port netdev and unmap it from > > its modu

Re: [patch net-next 6/9] mlxsw: spectrum: Unmap local port from module during teardown

2016-02-22 Thread Ido Schimmel
Hi John, Mon, Feb 22, 2016 at 10:32:47PM IST, john.fastab...@gmail.com wrote: >On 16-02-22 10:32 AM, Jiri Pirko wrote: >> From: Ido Schimmel >> >> When splitting a port we replace it with 2 or 4 other ports. To be able >> to do that we need to remove the original port netdev and unmap it from >>

Re: [patch net-next 6/9] mlxsw: spectrum: Unmap local port from module during teardown

2016-02-22 Thread John Fastabend
On 16-02-22 01:00 PM, Ido Schimmel wrote: > Hi John, > > Mon, Feb 22, 2016 at 10:32:47PM IST, john.fastab...@gmail.com wrote: >> On 16-02-22 10:32 AM, Jiri Pirko wrote: >>> From: Ido Schimmel >>> >>> When splitting a port we replace it with 2 or 4 other ports. To be able >>> to do that we need to

Re: [patch net-next 6/9] mlxsw: spectrum: Unmap local port from module during teardown

2016-02-22 Thread John Fastabend
On 16-02-22 10:32 AM, Jiri Pirko wrote: > From: Ido Schimmel > > When splitting a port we replace it with 2 or 4 other ports. To be able > to do that we need to remove the original port netdev and unmap it from > its module. However, we first mark it as disabled, as active ports > cannot be unmap

[patch net-next 6/9] mlxsw: spectrum: Unmap local port from module during teardown

2016-02-22 Thread Jiri Pirko
From: Ido Schimmel When splitting a port we replace it with 2 or 4 other ports. To be able to do that we need to remove the original port netdev and unmap it from its module. However, we first mark it as disabled, as active ports cannot be unmapped. Signed-off-by: Ido Schimmel Signed-off-by: Ji