Make XRQ capabilities available via ibv_query_device() verb.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -236,6 +236,20 @@ struct ib_uverbs_rss_caps { · 235 unmodified lines | ||
| 236 | 236 | __u32 reserved; |
| 237 | 237 | }; |
| 238 | 238 | |
| 239 | +struct ib_uverbs_tm_caps { | |
| 240 | + /* Max size of rendezvous request message */ | |
| 241 | + __u32 max_rndv_hdr_size; | |
| 242 | + /* Max number of entries in tag matching list */ | |
| 243 | + __u32 max_num_tags; | |
| 244 | + /* TM flags */ | |
| 245 | + __u32 flags; | |
| 246 | + /* Max number of outstanding list operations */ | |
| 247 | + __u32 max_ops; | |
| 248 | + /* Max number of SGE in tag matching entry */ | |
| 249 | + __u32 max_sge; | |
| 250 | + __u32 reserved; | |
| 251 | +}; | |
| 252 | + | |
| 239 | 253 | struct ib_uverbs_ex_query_device_resp { |
| 240 | 254 | struct ib_uverbs_query_device_resp base; |
| 241 | 255 | __u32 comp_mask; |
| @@ -247,6 +261,7 @@ struct ib_uverbs_ex_query_device_resp { · 5 unmodified lines | ||
| 247 | 261 | struct ib_uverbs_rss_caps rss_caps; |
| 248 | 262 | __u32 max_wq_type_rq; |
| 249 | 263 | __u32 raw_packet_caps; |
| 264 | + struct ib_uverbs_tm_caps xrq_caps; | |
| 250 | 265 | }; |
| 251 | 266 | |
| 252 | 267 | struct ib_uverbs_query_port { |