Skip to content

Commit

Permalink
Update kernel headers
Browse files Browse the repository at this point in the history
To commit: 8b36f7c3c661 ("RDMA/mlx5: Support OOO RX WQE consumption").

Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
  • Loading branch information
Yishai Hadas committed Nov 10, 2024
1 parent 9f40685 commit 1065b35
Show file tree
Hide file tree
Showing 3 changed files with 23 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
5 changes: 5 additions & 0 deletions kernel-headers/rdma/mlx5-abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ enum mlx5_ib_query_dev_resp_flags {
MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_PAD = 1 << 1,
MLX5_IB_QUERY_DEV_RESP_PACKET_BASED_CREDIT_MODE = 1 << 2,
MLX5_IB_QUERY_DEV_RESP_FLAGS_SCAT2CQE_DCT = 1 << 3,
MLX5_IB_QUERY_DEV_RESP_FLAGS_OOO_DP = 1 << 4,
};

enum mlx5_ib_tunnel_offloads {
Expand Down Expand Up @@ -439,6 +440,10 @@ struct mlx5_ib_burst_info {
__u16 reserved;
};

enum mlx5_ib_modify_qp_mask {
MLX5_IB_MODIFY_QP_OOO_DP = 1 << 0,
};

struct mlx5_ib_modify_qp {
__u32 comp_mask;
struct mlx5_ib_burst_info burst_info;
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 1065b35

Please sign in to comment.