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

Unified · Split

include/linux/mlx5/driver.h+1−0
@@ -1054,6 +1054,7 @@ enum { · 1053 unmodified lines
10541054 enum {
10551055 MLX5_INTERFACE_PROTOCOL_IB = 0,
10561056 MLX5_INTERFACE_PROTOCOL_ETH = 1,
1057+ MLX5_INTERFACE_PROTOCOL_VDPA = 2,
10571058 };
10581059
10591060 struct mlx5_interface {