Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/rdma
File: irdma-abi.h
/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR Linux-OpenIB */
[0] Fix | Delete
/*
[1] Fix | Delete
* Copyright (c) 2006 - 2021 Intel Corporation. All rights reserved.
[2] Fix | Delete
* Copyright (c) 2005 Topspin Communications. All rights reserved.
[3] Fix | Delete
* Copyright (c) 2005 Cisco Systems. All rights reserved.
[4] Fix | Delete
* Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved.
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
#ifndef IRDMA_ABI_H
[8] Fix | Delete
#define IRDMA_ABI_H
[9] Fix | Delete
[10] Fix | Delete
#include <linux/types.h>
[11] Fix | Delete
[12] Fix | Delete
/* irdma must support legacy GEN_1 i40iw kernel
[13] Fix | Delete
* and user-space whose last ABI ver is 5
[14] Fix | Delete
*/
[15] Fix | Delete
#define IRDMA_ABI_VER 5
[16] Fix | Delete
[17] Fix | Delete
enum irdma_memreg_type {
[18] Fix | Delete
IRDMA_MEMREG_TYPE_MEM = 0,
[19] Fix | Delete
IRDMA_MEMREG_TYPE_QP = 1,
[20] Fix | Delete
IRDMA_MEMREG_TYPE_CQ = 2,
[21] Fix | Delete
};
[22] Fix | Delete
[23] Fix | Delete
struct irdma_alloc_ucontext_req {
[24] Fix | Delete
__u32 rsvd32;
[25] Fix | Delete
__u8 userspace_ver;
[26] Fix | Delete
__u8 rsvd8[3];
[27] Fix | Delete
};
[28] Fix | Delete
[29] Fix | Delete
struct irdma_alloc_ucontext_resp {
[30] Fix | Delete
__u32 max_pds;
[31] Fix | Delete
__u32 max_qps;
[32] Fix | Delete
__u32 wq_size; /* size of the WQs (SQ+RQ) in the mmaped area */
[33] Fix | Delete
__u8 kernel_ver;
[34] Fix | Delete
__u8 rsvd[3];
[35] Fix | Delete
__aligned_u64 feature_flags;
[36] Fix | Delete
__aligned_u64 db_mmap_key;
[37] Fix | Delete
__u32 max_hw_wq_frags;
[38] Fix | Delete
__u32 max_hw_read_sges;
[39] Fix | Delete
__u32 max_hw_inline;
[40] Fix | Delete
__u32 max_hw_rq_quanta;
[41] Fix | Delete
__u32 max_hw_wq_quanta;
[42] Fix | Delete
__u32 min_hw_cq_size;
[43] Fix | Delete
__u32 max_hw_cq_size;
[44] Fix | Delete
__u16 max_hw_sq_chunk;
[45] Fix | Delete
__u8 hw_rev;
[46] Fix | Delete
__u8 rsvd2;
[47] Fix | Delete
};
[48] Fix | Delete
[49] Fix | Delete
struct irdma_alloc_pd_resp {
[50] Fix | Delete
__u32 pd_id;
[51] Fix | Delete
__u8 rsvd[4];
[52] Fix | Delete
};
[53] Fix | Delete
[54] Fix | Delete
struct irdma_resize_cq_req {
[55] Fix | Delete
__aligned_u64 user_cq_buffer;
[56] Fix | Delete
};
[57] Fix | Delete
[58] Fix | Delete
struct irdma_create_cq_req {
[59] Fix | Delete
__aligned_u64 user_cq_buf;
[60] Fix | Delete
__aligned_u64 user_shadow_area;
[61] Fix | Delete
};
[62] Fix | Delete
[63] Fix | Delete
struct irdma_create_qp_req {
[64] Fix | Delete
__aligned_u64 user_wqe_bufs;
[65] Fix | Delete
__aligned_u64 user_compl_ctx;
[66] Fix | Delete
};
[67] Fix | Delete
[68] Fix | Delete
struct irdma_mem_reg_req {
[69] Fix | Delete
__u16 reg_type; /* enum irdma_memreg_type */
[70] Fix | Delete
__u16 cq_pages;
[71] Fix | Delete
__u16 rq_pages;
[72] Fix | Delete
__u16 sq_pages;
[73] Fix | Delete
};
[74] Fix | Delete
[75] Fix | Delete
struct irdma_modify_qp_req {
[76] Fix | Delete
__u8 sq_flush;
[77] Fix | Delete
__u8 rq_flush;
[78] Fix | Delete
__u8 rsvd[6];
[79] Fix | Delete
};
[80] Fix | Delete
[81] Fix | Delete
struct irdma_create_cq_resp {
[82] Fix | Delete
__u32 cq_id;
[83] Fix | Delete
__u32 cq_size;
[84] Fix | Delete
};
[85] Fix | Delete
[86] Fix | Delete
struct irdma_create_qp_resp {
[87] Fix | Delete
__u32 qp_id;
[88] Fix | Delete
__u32 actual_sq_size;
[89] Fix | Delete
__u32 actual_rq_size;
[90] Fix | Delete
__u32 irdma_drv_opt;
[91] Fix | Delete
__u16 push_idx;
[92] Fix | Delete
__u8 lsmm;
[93] Fix | Delete
__u8 rsvd;
[94] Fix | Delete
__u32 qp_caps;
[95] Fix | Delete
};
[96] Fix | Delete
[97] Fix | Delete
struct irdma_modify_qp_resp {
[98] Fix | Delete
__aligned_u64 push_wqe_mmap_key;
[99] Fix | Delete
__aligned_u64 push_db_mmap_key;
[100] Fix | Delete
__u16 push_offset;
[101] Fix | Delete
__u8 push_valid;
[102] Fix | Delete
__u8 rsvd[5];
[103] Fix | Delete
};
[104] Fix | Delete
[105] Fix | Delete
struct irdma_create_ah_resp {
[106] Fix | Delete
__u32 ah_id;
[107] Fix | Delete
__u8 rsvd[4];
[108] Fix | Delete
};
[109] Fix | Delete
#endif /* IRDMA_ABI_H */
[110] Fix | Delete
[111] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function