]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix number of vports for ingress ACL configuration
authorEli Britstein <elibr@mellanox.com>
Mon, 13 May 2019 09:06:02 +0000 (09:06 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 17 May 2019 20:16:48 +0000 (13:16 -0700)
commit1a63cada8468032d7f0eff9b119cc58cd83a1c6f
tree152eadac38dddd7f65729396d309c47d7f40339a
parent6488f225fb7d327e46ab97bd2956ed2c00fe33c9
net/mlx5e: Fix number of vports for ingress ACL configuration

With the cited commit, ACLs are configured for the VF ports. The loop
for the number of ports had the wrong number. Fix it.

Fixes: fa898a689db8 ("net/mlx5e: ACLs for priority tag mode")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c