Re: [PATCH net-next 4/4] nfp: flower: ignore duplicate cb requests for same rule

2018-04-25 Thread John Hurley
On Wed, Apr 25, 2018 at 10:17 AM, Or Gerlitz wrote: > On Wed, Apr 25, 2018 at 7:17 AM, Jakub Kicinski > wrote: >> From: John Hurley >> >> If a flower rule has a repr both as ingress and egress port then 2 >> callbacks may be generated for the same rule request. >> >> Add an indicator to each flo

Re: [PATCH net-next 4/4] nfp: flower: ignore duplicate cb requests for same rule

2018-04-25 Thread Or Gerlitz
On Wed, Apr 25, 2018 at 7:17 AM, Jakub Kicinski wrote: > From: John Hurley > > If a flower rule has a repr both as ingress and egress port then 2 > callbacks may be generated for the same rule request. > > Add an indicator to each flow as to whether or not it was added from an > ingress registere

[PATCH net-next 4/4] nfp: flower: ignore duplicate cb requests for same rule

2018-04-24 Thread Jakub Kicinski
From: John Hurley If a flower rule has a repr both as ingress and egress port then 2 callbacks may be generated for the same rule request. Add an indicator to each flow as to whether or not it was added from an ingress registered cb. If so then ignore add/del/stat requests to it from an egress c