Skip to content

Commit

Permalink
Update kernel headers
Browse files Browse the repository at this point in the history
To commit 76251e15ea73 ("RDMA/rxe: Remove pkey table")

Signed-off-by: Gal Pressman <galpress@amazon.com>
  • Loading branch information
gal-pressman committed Aug 2, 2020
1 parent e8a955e commit 4aafa3e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
15 changes: 14 additions & 1 deletion kernel-headers/rdma/efa-abi.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
/*
* Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
* Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
*/

#ifndef EFA_ABI_USER_H
Expand All @@ -20,6 +20,16 @@
* hex bit offset of the field.
*/

enum {
EFA_ALLOC_UCONTEXT_CMD_COMP_TX_BATCH = 1 << 0,
EFA_ALLOC_UCONTEXT_CMD_COMP_MIN_SQ_WR = 1 << 1,
};

struct efa_ibv_alloc_ucontext_cmd {
__u32 comp_mask;
__u8 reserved_20[4];
};

enum efa_ibv_user_cmds_supp_udata {
EFA_USER_CMDS_SUPP_UDATA_QUERY_DEVICE = 1 << 0,
EFA_USER_CMDS_SUPP_UDATA_CREATE_AH = 1 << 1,
Expand All @@ -31,6 +41,9 @@ struct efa_ibv_alloc_ucontext_resp {
__u16 sub_cqs_per_cq;
__u16 inline_buf_size;
__u32 max_llq_size; /* bytes */
__u16 max_tx_batch; /* units of 64 bytes */
__u16 min_sq_wr;
__u8 reserved_a0[4];
};

struct efa_ibv_alloc_pd_resp {
Expand Down
2 changes: 1 addition & 1 deletion kernel-headers/rdma/mlx5_user_ioctl_cmds.h
Expand Up @@ -263,7 +263,7 @@ enum mlx5_ib_create_flow_attrs {
MLX5_IB_ATTR_CREATE_FLOW_FLAGS,
};

enum mlx5_ib_destoy_flow_attrs {
enum mlx5_ib_destroy_flow_attrs {
MLX5_IB_ATTR_DESTROY_FLOW_HANDLE = (1U << UVERBS_ID_NS_SHIFT),
};

Expand Down
1 change: 1 addition & 0 deletions kernel-headers/rdma/rdma_netlink.h
Expand Up @@ -569,5 +569,6 @@ enum rdma_nl_counter_mode {
*/
enum rdma_nl_counter_mask {
RDMA_COUNTER_MASK_QP_TYPE = 1,
RDMA_COUNTER_MASK_PID = 1 << 1,
};
#endif /* _UAPI_RDMA_NETLINK_H */
2 changes: 1 addition & 1 deletion kernel-headers/rdma/rdma_user_ioctl.h
Expand Up @@ -43,7 +43,7 @@

/*
* General blocks assignments
* It is closed on purpose do not expose it it user space
* It is closed on purpose - do not expose it to user space
* #define MAD_CMD_BASE 0x00
* #define HFI1_CMD_BAS 0xE0
*/
Expand Down

0 comments on commit 4aafa3e

Please sign in to comment.