]> 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)
commit05635b9f44b0a3c60dcea1a553c57ce09857b0d6
tree152eadac38dddd7f65729396d309c47d7f40339a
parentb043b3af006322410cd1800dd89f8d3c73c6d709
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: fadf869da879 ("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