summaryrefslogtreecommitdiff
path: root/rust/helpers/err.c
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@nvidia.com>2025-06-14 02:29:41 -0700
committerSaeed Mahameed <saeedm@nvidia.com>2025-08-15 12:17:47 -0700
commit864c05b9bc4077c99730512babc991a9d92730e0 (patch)
treed58c42751658fecdb60bdf0cfd164c5644695693 /rust/helpers/err.c
parent2335b3f56690f76ac34b972fcaef368bab1f76f2 (diff)
net/mlx5: E-Switch, Cache vport vhca id on first cap query
We need vhca_id to set up the vhca_id to vport mapping for every vport, for that we query the firmware in mlx5_esw_vport_vhca_id_set, and it is redundant since in esw_vport_setup, we already query hca caps which has the vhca_id, cache it there and save 2 extra fw queries per vport. Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Reviewed-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Alexei Lazar <alazar@nvidia.com> Reviewed-by: Feng Liu <feliu@nvidia.com>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions