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. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
1dcb6c36a5
commit
2a913f2344
|
@ -1054,6 +1054,7 @@ enum {
|
||||||
enum {
|
enum {
|
||||||
MLX5_INTERFACE_PROTOCOL_IB = 0,
|
MLX5_INTERFACE_PROTOCOL_IB = 0,
|
||||||
MLX5_INTERFACE_PROTOCOL_ETH = 1,
|
MLX5_INTERFACE_PROTOCOL_ETH = 1,
|
||||||
|
MLX5_INTERFACE_PROTOCOL_VDPA = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct mlx5_interface {
|
struct mlx5_interface {
|
||||||
|
|
Loading…
Reference in New Issue