History

RDMA/nldev: provide detailed MR information

Implement the RDMA nldev netlink interface for dumping detailed MR information.

Steve Wise committed 8 years ago

Commit fccec5b1 parent e6f03307 files · +102 −13Browse files

Showing the changes to include/uapi (1 of 7 files). Show all

Unified · Split

include/uapi/rdma/rdma_netlink.h+9−0
@@ -242,6 +242,8 @@ enum rdma_nldev_command { · 241 unmodified lines
242 242
243 RDMA_NLDEV_CMD_RES_CQ_GET, /* can dump */243 RDMA_NLDEV_CMD_RES_CQ_GET, /* can dump */
244 244
245 RDMA_NLDEV_CMD_RES_MR_GET, /* can dump */
246
245 RDMA_NLDEV_NUM_OPS247 RDMA_NLDEV_NUM_OPS
246};248};
247 249
@@ -372,6 +374,13 @@ enum rdma_nldev_attr { · 124 unmodified lines
372 RDMA_NLDEV_ATTR_RES_USECNT, /* u64 */374 RDMA_NLDEV_ATTR_RES_USECNT, /* u64 */
373 RDMA_NLDEV_ATTR_RES_POLL_CTX, /* u8 */375 RDMA_NLDEV_ATTR_RES_POLL_CTX, /* u8 */
374 376
377 RDMA_NLDEV_ATTR_RES_MR, /* nested table */
378 RDMA_NLDEV_ATTR_RES_MR_ENTRY, /* nested table */
379 RDMA_NLDEV_ATTR_RES_RKEY, /* u32 */
380 RDMA_NLDEV_ATTR_RES_LKEY, /* u32 */
381 RDMA_NLDEV_ATTR_RES_IOVA, /* u64 */
382 RDMA_NLDEV_ATTR_RES_MRLEN, /* u64 */
383
375 RDMA_NLDEV_ATTR_MAX384 RDMA_NLDEV_ATTR_MAX
376};385};
377#endif /* _UAPI_RDMA_NETLINK_H */386#endif /* _UAPI_RDMA_NETLINK_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t