| .. | .. |
|---|
| 84 | 84 | #ifdef CONFIG_MLX5_MPFS |
|---|
| 85 | 85 | int mlx5_mpfs_init(struct mlx5_core_dev *dev); |
|---|
| 86 | 86 | void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev); |
|---|
| 87 | | -int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac); |
|---|
| 88 | | -int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac); |
|---|
| 89 | 87 | #else /* #ifndef CONFIG_MLX5_MPFS */ |
|---|
| 90 | 88 | static inline int mlx5_mpfs_init(struct mlx5_core_dev *dev) { return 0; } |
|---|
| 91 | 89 | static inline void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev) {} |
|---|
| 92 | | -static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } |
|---|
| 93 | | -static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } |
|---|
| 94 | 90 | #endif |
|---|
| 91 | + |
|---|
| 95 | 92 | #endif |
|---|