net/mlx5: Add XRC transport to ODP device capabilities layout
authorMoni Shoua <monis@mellanox.com>
Tue, 22 Jan 2019 06:48:49 +0000 (08:48 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 3 Feb 2019 10:49:50 +0000 (12:49 +0200)
The device capabilities for ODP structure was missing the field for XRC
transport so add it here.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
include/linux/mlx5/mlx5_ifc.h

index 35fe521..5407db8 100644 (file)
@@ -831,7 +831,9 @@ struct mlx5_ifc_odp_cap_bits {
 
        struct mlx5_ifc_odp_per_transport_service_cap_bits ud_odp_caps;
 
-       u8         reserved_at_e0[0x720];
+       struct mlx5_ifc_odp_per_transport_service_cap_bits xrc_odp_caps;
+
+       u8         reserved_at_100[0x700];
 };
 
 struct mlx5_ifc_calc_op {