diff options
author | Moni Shoua <monis@mellanox.com> | 2019-01-22 08:48:42 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-04 14:34:06 -0700 |
commit | 52a72e2a395fa3c5ab5df41058a8511e87215730 (patch) | |
tree | 6a6a68a7f8eb9e7f59fc2c81a07e82a634b2891a /drivers/infiniband/core/uverbs_cmd.c | |
parent | da82334219bc386ef7ea5b4b185a339a973dd513 (diff) | |
download | linux-stable-52a72e2a395fa3c5ab5df41058a8511e87215730.tar.gz linux-stable-52a72e2a395fa3c5ab5df41058a8511e87215730.tar.bz2 linux-stable-52a72e2a395fa3c5ab5df41058a8511e87215730.zip |
IB/uverbs: Expose XRC ODP device capabilities
Expose XRC ODP capabilities as part of the extended device capabilities.
Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_cmd.c')
-rw-r--r-- | drivers/infiniband/core/uverbs_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index d4f1a2ef5015..68c4ea514faf 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c @@ -3613,6 +3613,7 @@ static int ib_uverbs_ex_query_device(struct uverbs_attr_bundle *attrs) attr.odp_caps.per_transport_caps.uc_odp_caps; resp.odp_caps.per_transport_caps.ud_odp_caps = attr.odp_caps.per_transport_caps.ud_odp_caps; + resp.xrc_odp_caps = attr.odp_caps.per_transport_caps.xrc_odp_caps; resp.timestamp_mask = attr.timestamp_mask; resp.hca_core_clock = attr.hca_core_clock; |