Re: [PATCH net-next 3/4] net/sched: refactor TC_ACT_REDIRECT handling

2018-07-13 Thread Daniel Borkmann
On 07/13/2018 04:37 PM, Paolo Abeni wrote: > On Fri, 2018-07-13 at 16:13 +0200, Daniel Borkmann wrote: >> On 07/13/2018 11:55 AM, Paolo Abeni wrote: >>> This patch changes the TC_ACT_REDIRECT code path to allow >>> providing the redirect parameters via the tcf_result argument. >>> >>> Such union

Re: [PATCH net-next 3/4] net/sched: refactor TC_ACT_REDIRECT handling

2018-07-13 Thread Paolo Abeni
On Fri, 2018-07-13 at 16:13 +0200, Daniel Borkmann wrote: > On 07/13/2018 11:55 AM, Paolo Abeni wrote: > > This patch changes the TC_ACT_REDIRECT code path to allow > > providing the redirect parameters via the tcf_result argument. > > > > Such union is expanded to host the redirect device, the

Re: [PATCH net-next 3/4] net/sched: refactor TC_ACT_REDIRECT handling

2018-07-13 Thread Daniel Borkmann
On 07/13/2018 11:55 AM, Paolo Abeni wrote: > This patch changes the TC_ACT_REDIRECT code path to allow > providing the redirect parameters via the tcf_result argument. > > Such union is expanded to host the redirect device, the redirect > direction (ingress/egress) and the stats to be updated on

[PATCH net-next 3/4] net/sched: refactor TC_ACT_REDIRECT handling

2018-07-13 Thread Paolo Abeni
This patch changes the TC_ACT_REDIRECT code path to allow providing the redirect parameters via the tcf_result argument. Such union is expanded to host the redirect device, the redirect direction (ingress/egress) and the stats to be updated on error conditions. Actions/classifiers using