aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/nfsd-user.c
diff options
context:
space:
mode:
authorMarcin Szycik <[email protected]>2023-10-25 14:47:24 +0000
committerTony Nguyen <[email protected]>2023-11-07 00:43:25 +0000
commit68c51db3a16d258e730dd1c04a1de2f7ab038ddf (patch)
treef4375f6386313ef1be124bacf5fe0fbf4499dacd /tools/net/ynl/generated/nfsd-user.c
parentice: Fix VF-VF filter rules in switchdev mode (diff)
downloadkernel-68c51db3a16d258e730dd1c04a1de2f7ab038ddf.tar.gz
kernel-68c51db3a16d258e730dd1c04a1de2f7ab038ddf.zip
ice: Fix VF-VF direction matching in drop rule in switchdev
When adding a drop rule on a VF, rule direction is not being set, which results in it always being set to ingress (ICE_ESWITCH_FLTR_INGRESS equals 0). Because of this, drop rules added on port representors don't match any packets. To fix it, set rule direction in drop action to egress when netdev is a port representor, otherwise set it to ingress. Fixes: 0960a27bd479 ("ice: Add direction metadata") Reviewed-by: Michal Swiatkowski <[email protected]> Signed-off-by: Marcin Szycik <[email protected]> Tested-by: Sujai Buvaneswaran <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/nfsd-user.c')
0 files changed, 0 insertions, 0 deletions