]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: E-switch, enlarge peer miss group table
authorShay Drory <shayd@nvidia.com>
Sun, 5 Feb 2023 12:44:40 +0000 (14:44 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 2 Jun 2023 19:10:47 +0000 (12:10 -0700)
commit18e31d42267556fd98590d91dda161f2a39a1def
tree27c0b74820e6b512d77284ff661b38110aede285
parent9be6c21fdcf8a7ec48262bb76f78c17ac2761ac6
net/mlx5: E-switch, enlarge peer miss group table

There is an implicit assumption that peer miss group table
require to handle only a single peer.
Also, there is an assumption that total_vports of the master
is greater or equal to the total_vports of each peer.
Change the code to support peer miss group for more than one peer.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@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