net/mlx5: Add/remove peer miss rules for EC VFs
authorDaniel Jurgens <danielj@nvidia.com>
Tue, 7 Mar 2023 19:36:39 +0000 (21:36 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 10 Jun 2023 01:40:51 +0000 (18:40 -0700)
commitfa3c73eee641cf76bc232373303aa51a1cad8b8e
treee6dd68c256984f976176436d9b4dee656ff8b91a
parenta7719b29a82199b90ebbf355d3332e0fbfbf6045
net/mlx5: Add/remove peer miss rules for EC VFs

Add and remove the peer miss rules for EC VFs. It's possible that there
are different amounts of total VFs per function so only create rules for
the minimum number of max VFs.

Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c