mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-16 12:02:09 +00:00
rdma: update rdma_netlink.h
Pull in the latest rdma_netlink.h which has support for the rdma nldev resource tracking objects being added with this patch series. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
parent
9fd3f0b255
commit
29122c1aae
@ -238,6 +238,14 @@ enum rdma_nldev_command {
|
|||||||
|
|
||||||
RDMA_NLDEV_CMD_RES_QP_GET, /* can dump */
|
RDMA_NLDEV_CMD_RES_QP_GET, /* can dump */
|
||||||
|
|
||||||
|
RDMA_NLDEV_CMD_RES_CM_ID_GET, /* can dump */
|
||||||
|
|
||||||
|
RDMA_NLDEV_CMD_RES_CQ_GET, /* can dump */
|
||||||
|
|
||||||
|
RDMA_NLDEV_CMD_RES_MR_GET, /* can dump */
|
||||||
|
|
||||||
|
RDMA_NLDEV_CMD_RES_PD_GET, /* can dump */
|
||||||
|
|
||||||
RDMA_NLDEV_NUM_OPS
|
RDMA_NLDEV_NUM_OPS
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -350,6 +358,36 @@ enum rdma_nldev_attr {
|
|||||||
*/
|
*/
|
||||||
RDMA_NLDEV_ATTR_RES_KERN_NAME, /* string */
|
RDMA_NLDEV_ATTR_RES_KERN_NAME, /* string */
|
||||||
|
|
||||||
|
RDMA_NLDEV_ATTR_RES_CM_ID, /* nested table */
|
||||||
|
RDMA_NLDEV_ATTR_RES_CM_ID_ENTRY, /* nested table */
|
||||||
|
/*
|
||||||
|
* rdma_cm_id port space.
|
||||||
|
*/
|
||||||
|
RDMA_NLDEV_ATTR_RES_PS, /* u32 */
|
||||||
|
/*
|
||||||
|
* Source and destination socket addresses
|
||||||
|
*/
|
||||||
|
RDMA_NLDEV_ATTR_RES_SRC_ADDR, /* __kernel_sockaddr_storage */
|
||||||
|
RDMA_NLDEV_ATTR_RES_DST_ADDR, /* __kernel_sockaddr_storage */
|
||||||
|
|
||||||
|
RDMA_NLDEV_ATTR_RES_CQ, /* nested table */
|
||||||
|
RDMA_NLDEV_ATTR_RES_CQ_ENTRY, /* nested table */
|
||||||
|
RDMA_NLDEV_ATTR_RES_CQE, /* u32 */
|
||||||
|
RDMA_NLDEV_ATTR_RES_USECNT, /* u64 */
|
||||||
|
RDMA_NLDEV_ATTR_RES_POLL_CTX, /* u8 */
|
||||||
|
|
||||||
|
RDMA_NLDEV_ATTR_RES_MR, /* nested table */
|
||||||
|
RDMA_NLDEV_ATTR_RES_MR_ENTRY, /* nested table */
|
||||||
|
RDMA_NLDEV_ATTR_RES_RKEY, /* u32 */
|
||||||
|
RDMA_NLDEV_ATTR_RES_LKEY, /* u32 */
|
||||||
|
RDMA_NLDEV_ATTR_RES_IOVA, /* u64 */
|
||||||
|
RDMA_NLDEV_ATTR_RES_MRLEN, /* u64 */
|
||||||
|
|
||||||
|
RDMA_NLDEV_ATTR_RES_PD, /* nested table */
|
||||||
|
RDMA_NLDEV_ATTR_RES_PD_ENTRY, /* nested table */
|
||||||
|
RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY, /* u32 */
|
||||||
|
RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY, /* u32 */
|
||||||
|
|
||||||
RDMA_NLDEV_ATTR_MAX
|
RDMA_NLDEV_ATTR_MAX
|
||||||
};
|
};
|
||||||
#endif /* _RDMA_NETLINK_H */
|
#endif /* _RDMA_NETLINK_H */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user