]> Git Repo - J-linux.git/blob - include/linux/mlx5/mpfs.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[J-linux.git] / include / linux / mlx5 / mpfs.h
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
2  * Copyright (c) 2021 Mellanox Technologies Ltd.
3  */
4
5 #ifndef _MLX5_MPFS_
6 #define _MLX5_MPFS_
7
8 struct mlx5_core_dev;
9
10 #ifdef CONFIG_MLX5_MPFS
11 int  mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac);
12 int  mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac);
13 #else /* #ifndef CONFIG_MLX5_MPFS */
14 static inline int  mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; }
15 static inline int  mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; }
16 #endif
17
18 #endif
This page took 0.028489 seconds and 4 git commands to generate.