History

net/mlx5: Add VDPA interface type to supported enumerations

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.

Eli Cohen committed 6 years ago

Commit 2a913f21 parent 1dcb6c31 file · +1 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/mlx5/driver.h+1−0
@@ -1054,6 +1054,7 @@ enum { · 1053 unmodified lines
1054enum {1054enum {
1055 MLX5_INTERFACE_PROTOCOL_IB = 0,1055 MLX5_INTERFACE_PROTOCOL_IB = 0,
1056 MLX5_INTERFACE_PROTOCOL_ETH = 1,1056 MLX5_INTERFACE_PROTOCOL_ETH = 1,
1057 MLX5_INTERFACE_PROTOCOL_VDPA = 2,
1057};1058};
1058 1059
1059struct mlx5_interface {1060struct mlx5_interface {