summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Guralnik <michaelgur@mellanox.com>2019-08-19 15:08:13 +0300
committerLeon Romanovsky <leonro@mellanox.com>2019-08-28 10:04:51 +0300
commit00679b631eddaa0aa0ceba719fcb1f60c65da5a3 (patch)
treefec513a0107068a3ac4f143bf2f7de00bf77aef9 /include
parentbb487d29ce005416ed355dea213bbc39c03dabe7 (diff)
downloadlinux-00679b631eddaa0aa0ceba719fcb1f60c65da5a3.tar.xz
net/mlx5: Set ODP capabilities for DC transport to max
In mlx5_core initialization, query max ODP capabilities for DC transport from FW and set as current capabilities. Signed-off-by: Michael Guralnik <michaelgur@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 1e55cf73e88c..4e278114d8b3 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -948,7 +948,9 @@ struct mlx5_ifc_odp_cap_bits {
struct mlx5_ifc_odp_per_transport_service_cap_bits xrc_odp_caps;
- u8 reserved_at_100[0x700];
+ struct mlx5_ifc_odp_per_transport_service_cap_bits dc_odp_caps;
+
+ u8 reserved_at_120[0x6E0];
};
struct mlx5_ifc_calc_op {