[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <469b51add666cf3df7381b6409a3972c70024c12.camel@intel.com>
Date: Tue, 25 Feb 2020 13:15:46 -0800
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org,
intel-wired-lan@...ts.osuosl.org
Subject: Re: [patch net-next] iavf: use tc_cls_can_offload_basic() instead
of chain check
On Tue, 2020-02-25 at 13:10 +0100, Jiri Pirko wrote:
> 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>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Go ahead and pick this up Dave, thanks!
> ---
> 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.
> ---
> drivers/net/ethernet/intel/iavf/iavf_main.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists