Skip to content

Commit

Permalink
Update kernel headers
Browse files Browse the repository at this point in the history
To commit: 48931f65e9f7 ("RDMA/efa: Add option to set QP service level on
create").

Signed-off-by: Michael Margolin <mrgolin@amazon.com>
  • Loading branch information
mrgolin committed Oct 29, 2024
1 parent f5475dd commit fcb3547
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel-headers/rdma/efa-abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ struct efa_ibv_create_qp {
__u32 sq_ring_size; /* bytes */
__u32 driver_qp_type;
__u16 flags;
__u8 reserved_90[6];
__u8 sl;
__u8 reserved_98[5];
};

struct efa_ibv_create_qp_resp {
Expand Down
16 changes: 16 additions & 0 deletions kernel-headers/rdma/rdma_netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ enum {
enum {
RDMA_NL_GROUP_IWPM = 2,
RDMA_NL_GROUP_LS,
RDMA_NL_GROUP_NOTIFY,
RDMA_NL_NUM_GROUPS
};

Expand Down Expand Up @@ -305,6 +306,8 @@ enum rdma_nldev_command {

RDMA_NLDEV_CMD_DELDEV,

RDMA_NLDEV_CMD_MONITOR,

RDMA_NLDEV_NUM_OPS
};

Expand Down Expand Up @@ -574,6 +577,9 @@ enum rdma_nldev_attr {

RDMA_NLDEV_ATTR_NAME_ASSIGN_TYPE, /* u8 */

RDMA_NLDEV_ATTR_EVENT_TYPE, /* u8 */

RDMA_NLDEV_SYS_ATTR_MONITOR_MODE, /* u8 */
/*
* Always the end
*/
Expand Down Expand Up @@ -624,4 +630,14 @@ enum rdma_nl_name_assign_type {
RDMA_NAME_ASSIGN_TYPE_USER = 1, /* Provided by user-space */
};

/*
* Supported rdma monitoring event types.
*/
enum rdma_nl_notify_event_type {
RDMA_REGISTER_EVENT,
RDMA_UNREGISTER_EVENT,
RDMA_NETDEV_ATTACH_EVENT,
RDMA_NETDEV_DETACH_EVENT,
};

#endif /* _UAPI_RDMA_NETLINK_H */

0 comments on commit fcb3547

Please sign in to comment.