History

RDMA/nldev: provide detailed CQ information

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

Steve Wise committed 8 years ago

Commit a34fc081 parent 00313982 files · +60 −0Browse files

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

Unified · Split

include/uapi/rdma/rdma_netlink.h+8−0
@@ -240,6 +240,8 @@ enum rdma_nldev_command { · 239 unmodified lines
240240
241241 RDMA_NLDEV_CMD_RES_CM_ID_GET, /* can dump */
242242
243+ RDMA_NLDEV_CMD_RES_CQ_GET, /* can dump */
244+
243245 RDMA_NLDEV_NUM_OPS
244246 };
245247
@@ -364,6 +366,12 @@ enum rdma_nldev_attr { · 118 unmodified lines
364366 RDMA_NLDEV_ATTR_RES_SRC_ADDR, /* __kernel_sockaddr_storage */
365367 RDMA_NLDEV_ATTR_RES_DST_ADDR, /* __kernel_sockaddr_storage */
366368
369+ RDMA_NLDEV_ATTR_RES_CQ, /* nested table */
370+ RDMA_NLDEV_ATTR_RES_CQ_ENTRY, /* nested table */
371+ RDMA_NLDEV_ATTR_RES_CQE, /* u32 */
372+ RDMA_NLDEV_ATTR_RES_USECNT, /* u64 */
373+ RDMA_NLDEV_ATTR_RES_POLL_CTX, /* u8 */
374+
367375 RDMA_NLDEV_ATTR_MAX
368376 };
369377 #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