// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* Copyright (c) 2024 NVIDIA Corporation & Affiliates */ #include "mlx5hws_internal.h" int mlx5hws_vport_init_vports(struct mlx5hws_context *ctx) { … } void mlx5hws_vport_uninit_vports(struct mlx5hws_context *ctx) { … } static int hws_vport_add_gvmi(struct mlx5hws_context *ctx, u16 vport) { … } static bool hws_vport_is_esw_mgr_vport(struct mlx5hws_context *ctx, u16 vport) { … } int mlx5hws_vport_get_gvmi(struct mlx5hws_context *ctx, u16 vport, u16 *vport_gvmi) { … }