[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200225.111339.990273097730952856.davem@davemloft.net>
Date: Tue, 25 Feb 2020 11:13:39 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, kuba@...nel.org,
jeffrey.t.kirsher@...el.com, intel-wired-lan@...ts.osuosl.org
Subject: Re: [patch net-next] iavf: use tc_cls_can_offload_basic() instead
of chain check
From: Jiri Pirko <jiri@...nulli.us>
Date: Tue, 25 Feb 2020 13:10:23 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> Looks like the iavf code actually experienced a race condition, when a
> developer took code before the check for chain 0 was put to helper.
> So use tc_cls_can_offload_basic() helper instead of direct check and
> move the check to _cb() so this is similar to i40e code.
>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
> ---
> This was originally part of "net: allow user specify TC filter HW stats type"
> patchset, but it is no longer related after the requested changes.
> Sending separatelly.
Jeff, do you want me to apply this directly? If so, please give your ack.
Thanks.
Powered by blists - more mailing lists