projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dcb6c3
)
net/mlx5: Add VDPA interface type to supported enumerations
author
Eli Cohen
<eli@mellanox.com>
Wed, 15 Jul 2020 04:28:33 +0000
(21:28 -0700)
committer
Saeed Mahameed
<saeedm@mellanox.com>
Thu, 16 Jul 2020 05:21:29 +0000
(22:21 -0700)
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>
include/linux/mlx5/driver.h
patch
|
blob
|
history
diff --git
a/include/linux/mlx5/driver.h
b/include/linux/mlx5/driver.h
index f2557d7e1355cb851e6e169d51b8c30bd027ef18..5ecc48831ae8bc8910dbd2d8a4c8b7010aa1cffb 100644
(file)
--- a/
include/linux/mlx5/driver.h
+++ b/
include/linux/mlx5/driver.h
@@
-1054,6
+1054,7
@@
enum {
enum {
MLX5_INTERFACE_PROTOCOL_IB = 0,
MLX5_INTERFACE_PROTOCOL_ETH = 1,
+ MLX5_INTERFACE_PROTOCOL_VDPA = 2,
};
struct mlx5_interface {