]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit955858009708326b26f47b6f99939489bb88a0dc
tree152eadac38dddd7f65729396d309c47d7f40339a
parent8f0916c6dc5cd5e3bc52416fa2a9ff4075080180
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: 184867373d8c ("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