Skip to content

Commit

Permalink
Update kernel headers
Browse files Browse the repository at this point in the history
To commit: af48f95492dc ("RDMA/core: Introduce "name_assign_type" for an IB device").

Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
  • Loading branch information
Yishai Hadas committed Jul 9, 2024
1 parent d74b960 commit 540bb50
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions kernel-headers/rdma/rdma_netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ enum rdma_nldev_command {

RDMA_NLDEV_CMD_RES_SRQ_GET_RAW,

RDMA_NLDEV_CMD_NEWDEV,

RDMA_NLDEV_CMD_DELDEV,

RDMA_NLDEV_NUM_OPS
};

Expand Down Expand Up @@ -564,6 +568,12 @@ enum rdma_nldev_attr {
*/
RDMA_NLDEV_ATTR_RES_SUBTYPE, /* string */

RDMA_NLDEV_ATTR_DEV_TYPE, /* u8 */

RDMA_NLDEV_ATTR_PARENT_NAME, /* string */

RDMA_NLDEV_ATTR_NAME_ASSIGN_TYPE, /* u8 */

/*
* Always the end
*/
Expand Down Expand Up @@ -602,4 +612,16 @@ enum rdma_nl_counter_mask {
RDMA_COUNTER_MASK_QP_TYPE = 1,
RDMA_COUNTER_MASK_PID = 1 << 1,
};

/* Supported rdma device types. */
enum rdma_nl_dev_type {
RDMA_DEVICE_TYPE_SMI = 1,
};

/* RDMA device name assignment types */
enum rdma_nl_name_assign_type {
RDMA_NAME_ASSIGN_TYPE_UNKNOWN = 0,
RDMA_NAME_ASSIGN_TYPE_USER = 1, /* Provided by user-space */
};

#endif /* _UAPI_RDMA_NETLINK_H */

0 comments on commit 540bb50

Please sign in to comment.