projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5955a94
)
net/mlx5: Introduce IFC bits for migratable
author
Yishai Hadas
<yishaih@nvidia.com>
Tue, 6 Dec 2022 18:51:12 +0000
(20:51 +0200)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 8 Dec 2022 04:09:17 +0000
(20:09 -0800)
Introduce IFC related capabilities to enable setting VF to be able to
perform live migration. e.g.: to be migratable.
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Acked-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/mlx5/mlx5_ifc.h
patch
|
blob
|
history
diff --git
a/include/linux/mlx5/mlx5_ifc.h
b/include/linux/mlx5/mlx5_ifc.h
index 5a4e914e2a6ff39b9aa38ec0054dae7186f70fa3..2093131483c761d30c7cbdc1b239b4d84249c485 100644
(file)
--- a/
include/linux/mlx5/mlx5_ifc.h
+++ b/
include/linux/mlx5/mlx5_ifc.h
@@
-68,6
+68,7
@@
enum {
MLX5_SET_HCA_CAP_OP_MOD_ODP = 0x2,
MLX5_SET_HCA_CAP_OP_MOD_ATOMIC = 0x3,
MLX5_SET_HCA_CAP_OP_MOD_ROCE = 0x4,
+ MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE2 = 0x20,
MLX5_SET_HCA_CAP_OP_MODE_PORT_SELECTION = 0x25,
};
@@
-1875,7
+1876,10
@@
struct mlx5_ifc_cmd_hca_cap_bits {
};
struct mlx5_ifc_cmd_hca_cap_2_bits {
- u8 reserved_at_0[0xa0];
+ u8 reserved_at_0[0x80];
+
+ u8 migratable[0x1];
+ u8 reserved_at_81[0x1f];
u8 max_reformat_insert_size[0x8];
u8 max_reformat_insert_offset[0x8];