aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/bcm_sf2.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2020-02-26 09:21:57 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-26 09:01:19 -0800
commitbb0858d8bc828ebc3eaa90be02a0f32bca3c2351 (patch)
tree1f31698a315544e1c85ae5fa62817c23edafbb27 /drivers/net/dsa/bcm_sf2.c
parentMerge branch 'mlxsw-Implement-ACL-dropped-packets-identification' (diff)
downloadlinux-dev-bb0858d8bc828ebc3eaa90be02a0f32bca3c2351.tar.xz
linux-dev-bb0858d8bc828ebc3eaa90be02a0f32bca3c2351.zip
iavf: use tc_cls_can_offload_and_chain0() instead of chain check
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_and_chain0() helper instead of direct check and move the check to _cb() so this is similar to i40e code. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions