Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-23 Thread Jiri Pirko
Tue, Feb 23, 2016 at 05:19:37PM CET, go...@cumulusnetworks.com wrote: >On Tue, Feb 23, 2016 at 05:01:31PM +0100, Jiri Pirko wrote: >> Tue, Feb 23, 2016 at 04:55:28PM CET, go...@cumulusnetworks.com wrote: >> >On Tue, Feb 23, 2016 at 03:45:51PM +0100, Jiri Pirko wrote: >> >> Tue, Feb 23, 2016 at 03:3

Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-23 Thread Andy Gospodarek
On Tue, Feb 23, 2016 at 05:01:31PM +0100, Jiri Pirko wrote: > Tue, Feb 23, 2016 at 04:55:28PM CET, go...@cumulusnetworks.com wrote: > >On Tue, Feb 23, 2016 at 03:45:51PM +0100, Jiri Pirko wrote: > >> Tue, Feb 23, 2016 at 03:34:19PM CET, go...@cumulusnetworks.com wrote: > >> > >> > >> >> > >> >>

Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-23 Thread Jiri Pirko
Tue, Feb 23, 2016 at 04:55:28PM CET, go...@cumulusnetworks.com wrote: >On Tue, Feb 23, 2016 at 03:45:51PM +0100, Jiri Pirko wrote: >> Tue, Feb 23, 2016 at 03:34:19PM CET, go...@cumulusnetworks.com wrote: >> >> >> >> >> >> >>myhost:~$ dl port show >> >> >>devlink0/1: type eth netd

Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-23 Thread Andy Gospodarek
On Tue, Feb 23, 2016 at 03:45:51PM +0100, Jiri Pirko wrote: > Tue, Feb 23, 2016 at 03:34:19PM CET, go...@cumulusnetworks.com wrote: > > > >> > >> >> myhost:~$ dl port show > >> >> devlink0/1: type eth netdev ens4 > >> > ^^^ > >> >> devl

Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-23 Thread Jiri Pirko
Tue, Feb 23, 2016 at 03:34:19PM CET, go...@cumulusnetworks.com wrote: >> >> >> myhost:~$ dl port show >> >> devlink0/1: type eth netdev ens4 >> > ^^^ >> >> devlink0/2: type ib ibdev mlx4_0 >> > >> >I think my only

Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-23 Thread Andy Gospodarek
On Tue, Feb 23, 2016 at 08:32:03AM +0100, Jiri Pirko wrote: > Tue, Feb 23, 2016 at 06:12:15AM CET, go...@cumulusnetworks.com wrote: > >On Mon, Feb 22, 2016 at 07:31:55PM +0100, Jiri Pirko wrote: > >> From: Jiri Pirko > >> > >> There a is need for some userspace API that would allow to expose thin

Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-22 Thread Jiri Pirko
Tue, Feb 23, 2016 at 06:12:15AM CET, go...@cumulusnetworks.com wrote: >On Mon, Feb 22, 2016 at 07:31:55PM +0100, Jiri Pirko wrote: >> From: Jiri Pirko >> >> There a is need for some userspace API that would allow to expose things >> that are not directly related to any device class like net_devic

Re: [patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-22 Thread Andy Gospodarek
On Mon, Feb 22, 2016 at 07:31:55PM +0100, Jiri Pirko wrote: > From: Jiri Pirko > > There a is need for some userspace API that would allow to expose things > that are not directly related to any device class like net_device of > ib_device, but rather chip-wide/switch-ASIC-wide stuff. > > Use cas

[patch net-next 0/9] Introduce devlink interface and first drivers to use it

2016-02-22 Thread Jiri Pirko
From: Jiri Pirko There a is need for some userspace API that would allow to expose things that are not directly related to any device class like net_device of ib_device, but rather chip-wide/switch-ASIC-wide stuff. Use cases: 1) get/set of port type (Ethernet/InfiniBand) 2) setting up port split