1cef35af3SEran Ben Elisha /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 2cef35af3SEran Ben Elisha /* Copyright (c) 2019 Mellanox Technologies. */ 3cef35af3SEran Ben Elisha 4cef35af3SEran Ben Elisha #ifndef __MLX5_EN_STATS_VHCA_H__ 5cef35af3SEran Ben Elisha #define __MLX5_EN_STATS_VHCA_H__ 6cef35af3SEran Ben Elisha #include "en.h" 7cef35af3SEran Ben Elisha 8cef35af3SEran Ben Elisha #if IS_ENABLED(CONFIG_PCI_HYPERV_INTERFACE) 9cef35af3SEran Ben Elisha 10*20f80ffcSSaeed Mahameed void mlx5e_hv_vhca_stats_create(struct mlx5e_priv *priv); 11cef35af3SEran Ben Elisha void mlx5e_hv_vhca_stats_destroy(struct mlx5e_priv *priv); 12cef35af3SEran Ben Elisha 13cef35af3SEran Ben Elisha #else mlx5e_hv_vhca_stats_create(struct mlx5e_priv * priv)14*20f80ffcSSaeed Mahameedstatic inline void mlx5e_hv_vhca_stats_create(struct mlx5e_priv *priv) {} mlx5e_hv_vhca_stats_destroy(struct mlx5e_priv * priv)15*20f80ffcSSaeed Mahameedstatic inline void mlx5e_hv_vhca_stats_destroy(struct mlx5e_priv *priv) {} 16cef35af3SEran Ben Elisha #endif 17cef35af3SEran Ben Elisha 18cef35af3SEran Ben Elisha #endif /* __MLX5_EN_STATS_VHCA_H__ */ 19