History

RDMA/core: Add support to dump SRQ resource in RAW format

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,...]}]

wenglianfa committed 3 years ago

Commit aebf8141 parent 0e32d7d4 files · +21 −0Browse files

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

Unified · Split

include/uapi/rdma/rdma_netlink.h+2−0
@@ -299,6 +299,8 @@ enum rdma_nldev_command { · 298 unmodified lines
299299
300300 RDMA_NLDEV_CMD_STAT_GET_STATUS,
301301
302+ RDMA_NLDEV_CMD_RES_SRQ_GET_RAW,
303+
302304 RDMA_NLDEV_NUM_OPS
303305 };
304306

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