[Intel-wired-lan] [patch net-next] iavf: use tc_cls_can_offload_basic() instead of chain check
David Miller
davem at davemloft.net
Tue Feb 25 19:13:39 UTC 2020
From: Jiri Pirko <jiri at resnulli.us>
Date: Tue, 25 Feb 2020 13:10:23 +0100
> From: Jiri Pirko <jiri at mellanox.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 at mellanox.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.
More information about the Intel-wired-lan
mailing list