Re: [PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-20 Thread Jiri Pirko
Tue, Nov 20, 2018 at 06:16:40PM CET, da...@davemloft.net wrote: >From: Jiri Pirko >Date: Tue, 20 Nov 2018 08:39:12 +0100 > >> If later on the netfilter code will use it, through another >> ndo/notifier/whatever, that is side a nice side-effect in my >> opinion. > >Netfilter HW offloading is the ma

Re: [PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-20 Thread David Miller
From: Jiri Pirko Date: Tue, 20 Nov 2018 08:39:12 +0100 > If later on the netfilter code will use it, through another > ndo/notifier/whatever, that is side a nice side-effect in my > opinion. Netfilter HW offloading is the main motivation of these changes. You can try to spin it any way you like

Re: [PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-19 Thread Jiri Pirko
Mon, Nov 19, 2018 at 09:12:29PM CET, da...@davemloft.net wrote: >From: Pablo Neira Ayuso >Date: Mon, 19 Nov 2018 01:15:07 +0100 > >> This patchset introduces a kernel intermediate representation (IR) to >> express ACL hardware offloads, as already described in previous RFC and >> v1 patchset [1] [

Re: [PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-19 Thread Or Gerlitz
On Mon, Nov 19, 2018 at 10:14 PM David Miller wrote: > From: Pablo Neira Ayuso > Date: Mon, 19 Nov 2018 01:15:07 +0100 > > > This patchset introduces a kernel intermediate representation (IR) to > > express ACL hardware offloads, as already described in previous RFC and > > v1 patchset [1] [2]. T

Re: [PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-19 Thread David Miller
From: Pablo Neira Ayuso Date: Mon, 19 Nov 2018 01:15:07 +0100 > This patchset introduces a kernel intermediate representation (IR) to > express ACL hardware offloads, as already described in previous RFC and > v1 patchset [1] [2]. The idea is to normalize the frontend U/APIs to use > the flow dis

Re: [PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-19 Thread Pablo Neira Ayuso
On Mon, Nov 19, 2018 at 09:20:43AM +, Jose Abreu wrote: [...] > Although I was cc'ed in the thread I'm not seeing stmmac driver > in this conversion. My intention was to attract the attention of driver maintainers that are using tc offloads in some way in their infrastructure. That's why you'v

Re: [PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-19 Thread Jose Abreu
Hello Pablo, On 19-11-2018 00:15, Pablo Neira Ayuso wrote: > Hi, > > This patchset introduces a kernel intermediate representation (IR) to > express ACL hardware offloads, as already described in previous RFC and > v1 patchset [1] [2]. The idea is to normalize the frontend U/APIs to use > the flow

[PATCH 00/12 net-next,v2] add flow_rule infrastructure

2018-11-18 Thread Pablo Neira Ayuso
Hi, This patchset introduces a kernel intermediate representation (IR) to express ACL hardware offloads, as already described in previous RFC and v1 patchset [1] [2]. The idea is to normalize the frontend U/APIs to use the flow dissectors and the flow actions so drivers can reuse the existing TC o