On Sun, Apr 01, 2018 at 03:08:00PM +0300, Leon Romanovsky wrote: > From: Ariel Levkovich <lariel@xxxxxxxxxxxx> > > Adding a new capability field under ib_uverbs_ex_query_device_resp - > max_dm_size - which reflects the maximum amount of device memory > that is available for allocation on a device in bytes. > > Signed-off-by: Ariel Levkovich <lariel@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > include/uapi/rdma/ib_user_verbs.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h > index df5d339952fe..94402602f227 100644 > +++ b/include/uapi/rdma/ib_user_verbs.h > @@ -268,6 +268,7 @@ struct ib_uverbs_ex_query_device_resp { > __u32 raw_packet_caps; > struct ib_uverbs_tm_caps tm_caps; > struct ib_uverbs_cq_moderation_caps cq_moderation_caps; > + __u64 max_dm_size; > }; __aligned_u64 is mandatory for any u64 in uapi/rdma now. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html