This source file includes following definitions.
- mlx5_rdma_enable_roce
- mlx5_rdma_disable_roce
1
2
3
4 #ifndef __MLX5_RDMA_H__
5 #define __MLX5_RDMA_H__
6
7 #include "mlx5_core.h"
8
9 #ifdef CONFIG_MLX5_ESWITCH
10
11 void mlx5_rdma_enable_roce(struct mlx5_core_dev *dev);
12 void mlx5_rdma_disable_roce(struct mlx5_core_dev *dev);
13
14 #else
15
16 static inline void mlx5_rdma_enable_roce(struct mlx5_core_dev *dev) {}
17 static inline void mlx5_rdma_disable_roce(struct mlx5_core_dev *dev) {}
18
19 #endif
20 #endif