/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ /* * Copyright(c) 2018 Intel Corporation. * */ #ifndef TID_RDMA_DEFS_H #define TID_RDMA_DEFS_H #include <rdma/ib_pack.h> struct tid_rdma_read_req { … }; struct tid_rdma_read_resp { … }; struct tid_rdma_write_req { … }; struct tid_rdma_write_resp { … }; struct tid_rdma_write_data { … }; struct tid_rdma_resync { … }; struct tid_rdma_ack { … }; /* * TID RDMA Opcodes */ #define IB_OPCODE_TID_RDMA … enum { … }; #define TID_OP(x) … /* * Define TID RDMA specific WR opcodes. The ib_wr_opcode * enum already provides some reserved values for use by * low level drivers. Two of those are used but renamed * to be more descriptive. */ #define IB_WR_TID_RDMA_WRITE … #define IB_WR_TID_RDMA_READ … #endif /* TID_RDMA_DEFS_H */