VDPA is a new interface that will be added in subsequent patches. It uses mlx5 core devices and resources. Add an interface type for it.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -1054,6 +1054,7 @@ enum { · 1053 unmodified lines | ||
| 1054 | 1054 | enum { |
| 1055 | 1055 | MLX5_INTERFACE_PROTOCOL_IB = 0, |
| 1056 | 1056 | MLX5_INTERFACE_PROTOCOL_ETH = 1, |
| 1057 | + MLX5_INTERFACE_PROTOCOL_VDPA = 2, | |
| 1057 | 1058 | }; |
| 1058 | 1059 | |
| 1059 | 1060 | struct mlx5_interface { |