Skip to content

Commit 2a913f2

Browse files
Eli CohenSaeed Mahameed
authored andcommitted
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 <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 1dcb6c3 commit 2a913f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/mlx5/driver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@ enum {
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 {

0 commit comments

Comments
 (0)