Add support to dump SRQ resource in raw format. It enable drivers to return the entire device specific SRQ context without setting each field separately. Example: $ rdma res show srq -r dev hns3 149000... $ rdma res show srq -j -r [{"ifindex":0,"ifname":"hns3","data":[149,0,0,...]}]
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -299,6 +299,8 @@ enum rdma_nldev_command { · 298 unmodified lines | |||
| 299 | 299 | ||
| 300 | RDMA_NLDEV_CMD_STAT_GET_STATUS, | 300 | RDMA_NLDEV_CMD_STAT_GET_STATUS, |
| 301 | 301 | ||
| 302 | RDMA_NLDEV_CMD_RES_SRQ_GET_RAW, | ||
| 303 | |||
| 302 | RDMA_NLDEV_NUM_OPS | 304 | RDMA_NLDEV_NUM_OPS |
| 303 | }; | 305 | }; |
| 304 | 306 | ||