mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Update Linux headers to 4.17-rc6
Update our copy of the Linux headers to upstream 4.17-rc6 (kernel commit 771c577c23bac90597c68). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20180525132755.21839-6-peter.maydell@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2af1acadc2
commit
65a6d8dd3f
19 changed files with 628 additions and 389 deletions
|
@ -143,7 +143,7 @@ struct pvrdma_alloc_pd_resp {
|
|||
};
|
||||
|
||||
struct pvrdma_create_cq {
|
||||
uint64_t buf_addr;
|
||||
uint64_t __attribute__((aligned(8))) buf_addr;
|
||||
uint32_t buf_size;
|
||||
uint32_t reserved;
|
||||
};
|
||||
|
@ -154,13 +154,13 @@ struct pvrdma_create_cq_resp {
|
|||
};
|
||||
|
||||
struct pvrdma_resize_cq {
|
||||
uint64_t buf_addr;
|
||||
uint64_t __attribute__((aligned(8))) buf_addr;
|
||||
uint32_t buf_size;
|
||||
uint32_t reserved;
|
||||
};
|
||||
|
||||
struct pvrdma_create_srq {
|
||||
uint64_t buf_addr;
|
||||
uint64_t __attribute__((aligned(8))) buf_addr;
|
||||
uint32_t buf_size;
|
||||
uint32_t reserved;
|
||||
};
|
||||
|
@ -171,25 +171,25 @@ struct pvrdma_create_srq_resp {
|
|||
};
|
||||
|
||||
struct pvrdma_create_qp {
|
||||
uint64_t rbuf_addr;
|
||||
uint64_t sbuf_addr;
|
||||
uint64_t __attribute__((aligned(8))) rbuf_addr;
|
||||
uint64_t __attribute__((aligned(8))) sbuf_addr;
|
||||
uint32_t rbuf_size;
|
||||
uint32_t sbuf_size;
|
||||
uint64_t qp_addr;
|
||||
uint64_t __attribute__((aligned(8))) qp_addr;
|
||||
};
|
||||
|
||||
/* PVRDMA masked atomic compare and swap */
|
||||
struct pvrdma_ex_cmp_swap {
|
||||
uint64_t swap_val;
|
||||
uint64_t compare_val;
|
||||
uint64_t swap_mask;
|
||||
uint64_t compare_mask;
|
||||
uint64_t __attribute__((aligned(8))) swap_val;
|
||||
uint64_t __attribute__((aligned(8))) compare_val;
|
||||
uint64_t __attribute__((aligned(8))) swap_mask;
|
||||
uint64_t __attribute__((aligned(8))) compare_mask;
|
||||
};
|
||||
|
||||
/* PVRDMA masked atomic fetch and add */
|
||||
struct pvrdma_ex_fetch_add {
|
||||
uint64_t add_val;
|
||||
uint64_t field_boundary;
|
||||
uint64_t __attribute__((aligned(8))) add_val;
|
||||
uint64_t __attribute__((aligned(8))) field_boundary;
|
||||
};
|
||||
|
||||
/* PVRDMA address vector. */
|
||||
|
@ -207,14 +207,14 @@ struct pvrdma_av {
|
|||
|
||||
/* PVRDMA scatter/gather entry */
|
||||
struct pvrdma_sge {
|
||||
uint64_t addr;
|
||||
uint64_t __attribute__((aligned(8))) addr;
|
||||
uint32_t length;
|
||||
uint32_t lkey;
|
||||
};
|
||||
|
||||
/* PVRDMA receive queue work request */
|
||||
struct pvrdma_rq_wqe_hdr {
|
||||
uint64_t wr_id; /* wr id */
|
||||
uint64_t __attribute__((aligned(8))) wr_id; /* wr id */
|
||||
uint32_t num_sge; /* size of s/g array */
|
||||
uint32_t total_len; /* reserved */
|
||||
};
|
||||
|
@ -222,7 +222,7 @@ struct pvrdma_rq_wqe_hdr {
|
|||
|
||||
/* PVRDMA send queue work request */
|
||||
struct pvrdma_sq_wqe_hdr {
|
||||
uint64_t wr_id; /* wr id */
|
||||
uint64_t __attribute__((aligned(8))) wr_id; /* wr id */
|
||||
uint32_t num_sge; /* size of s/g array */
|
||||
uint32_t total_len; /* reserved */
|
||||
uint32_t opcode; /* operation type */
|
||||
|
@ -234,19 +234,19 @@ struct pvrdma_sq_wqe_hdr {
|
|||
uint32_t reserved;
|
||||
union {
|
||||
struct {
|
||||
uint64_t remote_addr;
|
||||
uint64_t __attribute__((aligned(8))) remote_addr;
|
||||
uint32_t rkey;
|
||||
uint8_t reserved[4];
|
||||
} rdma;
|
||||
struct {
|
||||
uint64_t remote_addr;
|
||||
uint64_t compare_add;
|
||||
uint64_t swap;
|
||||
uint64_t __attribute__((aligned(8))) remote_addr;
|
||||
uint64_t __attribute__((aligned(8))) compare_add;
|
||||
uint64_t __attribute__((aligned(8))) swap;
|
||||
uint32_t rkey;
|
||||
uint32_t reserved;
|
||||
} atomic;
|
||||
struct {
|
||||
uint64_t remote_addr;
|
||||
uint64_t __attribute__((aligned(8))) remote_addr;
|
||||
uint32_t log_arg_sz;
|
||||
uint32_t rkey;
|
||||
union {
|
||||
|
@ -255,13 +255,14 @@ struct pvrdma_sq_wqe_hdr {
|
|||
} wr_data;
|
||||
} masked_atomics;
|
||||
struct {
|
||||
uint64_t iova_start;
|
||||
uint64_t pl_pdir_dma;
|
||||
uint64_t __attribute__((aligned(8))) iova_start;
|
||||
uint64_t __attribute__((aligned(8))) pl_pdir_dma;
|
||||
uint32_t page_shift;
|
||||
uint32_t page_list_len;
|
||||
uint32_t length;
|
||||
uint32_t access_flags;
|
||||
uint32_t rkey;
|
||||
uint32_t reserved;
|
||||
} fast_reg;
|
||||
struct {
|
||||
uint32_t remote_qpn;
|
||||
|
@ -274,8 +275,8 @@ struct pvrdma_sq_wqe_hdr {
|
|||
|
||||
/* Completion queue element. */
|
||||
struct pvrdma_cqe {
|
||||
uint64_t wr_id;
|
||||
uint64_t qp;
|
||||
uint64_t __attribute__((aligned(8))) wr_id;
|
||||
uint64_t __attribute__((aligned(8))) qp;
|
||||
uint32_t opcode;
|
||||
uint32_t status;
|
||||
uint32_t byte_len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue