![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /usr/src/kernels/4.18.0-348.2.1.el8_5.x86_64/include/linux/mlx5/ |
/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB * Copyright (c) 2021 Mellanox Technologies Ltd. */ #ifndef _MLX5_MPFS_ #define _MLX5_MPFS_ struct mlx5_core_dev; #ifdef CONFIG_MLX5_MPFS int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac); int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac); #else /* #ifndef CONFIG_MLX5_MPFS */ static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } #endif #endif