aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2019-01-22 08:48:51 +0200
committerLeon Romanovsky <leonro@mellanox.com>2019-02-03 12:49:59 +0200
commit46861e3e88be18846971792b763eaf520a91a802 (patch)
tree3678f955807fcac846587747440f4d8567ca61e4 /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5: Add XRC transport to ODP device capabilities layout (diff)
downloadlinux-dev-46861e3e88be18846971792b763eaf520a91a802.tar.xz
linux-dev-46861e3e88be18846971792b763eaf520a91a802.zip
net/mlx5: Set ODP SRQ support in firmware
To avoid compatibility issue with older kernels the firmware doesn't allow SRQ to work with ODP unless kernel asks for it. Signed-off-by: Moni Shoua <monis@mellanox.com> Reviewed-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to '')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 5407db8ba8e1..c5c679390fbd 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -72,6 +72,7 @@ enum {
enum {
MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE = 0x0,
+ MLX5_SET_HCA_CAP_OP_MOD_ODP = 0x2,
MLX5_SET_HCA_CAP_OP_MOD_ATOMIC = 0x3,
};