1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /* Copyright (c) 2024 NVIDIA Corporation & Affiliates */
3 
4 #ifndef MLX5HWS_VPORT_H_
5 #define MLX5HWS_VPORT_H_
6 
7 int mlx5hws_vport_init_vports(struct mlx5hws_context *ctx);
8 
9 void mlx5hws_vport_uninit_vports(struct mlx5hws_context *ctx);
10 
11 int mlx5hws_vport_get_gvmi(struct mlx5hws_context *ctx, u16 vport, u16 *vport_gvmi);
12 
13 #endif /* MLX5HWS_VPORT_H_ */
14