Re: [ovs-dev] [patch net-next v2 8/9] switchdev: introduce Netlink API

2014-09-19 Thread Florian Fainelli
On 09/19/14 15:18, Jamal Hadi Salim wrote: On 09/19/14 18:12, John Fastabend wrote: On 09/19/2014 10:57 AM, Jamal Hadi Salim wrote: On 09/19/14 11:49, Jiri Pirko wrote: Fri, Sep 19, 2014 at 05:25:48PM CEST, j...@mojatatu.com wrote: Is this just a temporary test tool? Otherwise i dont see re

Re: [ovs-dev] [patch net-next v2 0/9] introduce rocker switch driver with hardware accelerated datapath api

2014-09-19 Thread Florian Fainelli
On 09/19/14 07:20, Jiri Pirko wrote: Fri, Sep 19, 2014 at 04:15:32PM CEST, david.lai...@aculab.com wrote: From: Jiri Pirko This patchset can be divided into 3 main sections: - introduce switchdev api for implementing switch drivers - introduce switchdev generic netlink api for userspace manipul

Re: [ovs-dev] [patch net-next v2 8/9] switchdev: introduce Netlink API

2014-09-19 Thread Florian Fainelli
On 09/19/14 15:12, John Fastabend wrote: On 09/19/2014 10:57 AM, Jamal Hadi Salim wrote: On 09/19/14 11:49, Jiri Pirko wrote: Fri, Sep 19, 2014 at 05:25:48PM CEST, j...@mojatatu.com wrote: Is this just a temporary test tool? Otherwise i dont see reason for its existence (or the API that it f

Re: [ovs-dev] [patch net-next v2 6/9] switchdev: add basic support for flow matching and actions

2014-09-19 Thread Florian Fainelli
On 09/19/14 06:49, Jiri Pirko wrote: This patch adds basic support for flows. The infrastructure is prepared to easily add another flow matching types. So far, only the key one is implemented. Signed-off-by: Jiri Pirko --- [snip] +struct swdev_flow_match_key { + struct { +

Re: [ovs-dev] [patch net-next v2 5/9] net: introduce dummy switch

2014-09-19 Thread Florian Fainelli
On 09/19/14 06:49, Jiri Pirko wrote: Dummy switch implementation using switchdev interface This really looks like a DSA driver that has 0 ports, and is not attached to an useful network interface, and which is registering its own set of rtnl operations for a purpose that is unclear to me. I

Re: [ovs-dev] [patch net-next 07/13] dsa: implement ndo_swdev_get_id

2014-09-03 Thread Florian Fainelli
On 09/03/2014 02:24 AM, Jiri Pirko wrote: > Signed-off-by: Jiri Pirko > --- > include/linux/netdevice.h | 3 ++- > include/net/dsa.h | 1 + > net/dsa/Kconfig | 2 +- > net/dsa/dsa.c | 3 +++ > net/dsa/slave.c | 10 ++ > 5 files changed, 17 inser

Re: [ovs-dev] [patch net-next RFC 03/12] net: introduce generic switch devices support

2014-08-22 Thread Florian Fainelli
2014-08-22 5:56 GMT-07:00 Jiri Pirko : > Fri, Aug 22, 2014 at 02:42:04PM CEST, j...@mojatatu.com wrote: >>On 08/21/14 13:05, Florian Fainelli wrote: >>>2014-08-21 9:18 GMT-07:00 Jiri Pirko : >>>>The goal of this is to provide a possibility to suport various sw

Re: [ovs-dev] [patch net-next RFC 12/12] rocker: introduce rocker switch driver

2014-08-21 Thread Florian Fainelli
2014-08-21 9:19 GMT-07:00 Jiri Pirko : > This patch introduces the first driver to benefit from the switchdev > infrastructure and to implement newly introduced switch ndos. This is a > driver for emulated switch chip implemented in qemu: > https://github.com/sfeldma/qemu-rocker/ > > This patch is

Re: [ovs-dev] [patch net-next RFC 07/12] dsa: implement ndo_swdev_get_id

2014-08-21 Thread Florian Fainelli
2014-08-21 10:06 GMT-07:00 Jiri Pirko : > Thu, Aug 21, 2014 at 06:56:13PM CEST, f.faine...@gmail.com wrote: >>2014-08-21 9:19 GMT-07:00 Jiri Pirko : >>> Signed-off-by: Jiri Pirko >>> --- >>> net/dsa/Kconfig | 2 +- >>> net/dsa/slave.c | 16 >>> 2 files changed, 17 insertions(+),

Re: [ovs-dev] [patch net-next RFC 03/12] net: introduce generic switch devices support

2014-08-21 Thread Florian Fainelli
2014-08-21 9:18 GMT-07:00 Jiri Pirko : > The goal of this is to provide a possibility to suport various switch > chips. Drivers should implement relevant ndos to do so. Now there is a > couple of ndos defines: > - for getting physical switch id is in place. > - for work with flows. > > Note that us

Re: [ovs-dev] [patch net-next RFC 07/12] dsa: implement ndo_swdev_get_id

2014-08-21 Thread Florian Fainelli
2014-08-21 9:19 GMT-07:00 Jiri Pirko : > Signed-off-by: Jiri Pirko > --- > net/dsa/Kconfig | 2 +- > net/dsa/slave.c | 16 > 2 files changed, 17 insertions(+), 1 deletion(-) > > diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig > index f5eede1..66c445a 100644 > --- a/net/dsa/Kconfi

Re: [ovs-dev] [patch net-next RFC v2 0/6] introduce infrastructure for support of switch chip datapath

2014-03-27 Thread Florian Fainelli
2014-03-27 4:02 GMT-07:00 Thomas Graf : > On 03/27/14 at 06:27am, Jamal Hadi Salim wrote: >> On 03/27/14 03:21, Jiri Pirko wrote: >> >Wed, Mar 26, 2014 at 10:44:31PM CET, j...@mojatatu.com wrote: >> >> >Well, I think there are 2 main models to be considered: >> >1. OSV-like model, where everything

Re: [ovs-dev] [patch net-next RFC v2 0/6] introduce infrastructure for support of switch chip datapath

2014-03-26 Thread Florian Fainelli
2014-03-26 14:44 GMT-07:00 Jamal Hadi Salim : > Jiri, > > The flow extensions may be distracting - note there are many > tables (L3, L2, etc) in such chips not just ACLs. And there's likely no > OneWay(tm) to add a flow. My view is probably to solve or reach an > agreement on the ports. Then resolv