1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
2  * Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES.
3  */
4 #ifndef __MLX5_REPORTER_VNIC_H
5 #define __MLX5_REPORTER_VNIC_H
6 
7 #include "mlx5_core.h"
8 
9 void mlx5_reporter_vnic_create(struct mlx5_core_dev *dev);
10 void mlx5_reporter_vnic_destroy(struct mlx5_core_dev *dev);
11 
12 int mlx5_reporter_vnic_diagnose_counters(struct mlx5_core_dev *dev,
13 					 struct devlink_fmsg *fmsg,
14 					 u16 vport_num, bool other_vport);
15 
16 #endif /* __MLX5_REPORTER_VNIC_H */
17