Merge tag 'xtensa-20221213' of https://github.com/jcmvbkbc/linux-xtensa
[linux-2.6-microblaze.git] / include / linux / sunrpc / rpc_rdma_cid.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * * Copyright (c) 2020, Oracle and/or its affiliates.
4  */
5
6 #ifndef RPC_RDMA_CID_H
7 #define RPC_RDMA_CID_H
8
9 /*
10  * The rpc_rdma_cid struct records completion ID information. A
11  * completion ID matches an incoming Send or Receive completion
12  * to a Completion Queue and to a previous ib_post_*(). The ID
13  * can then be displayed in an error message or recorded in a
14  * trace record.
15  *
16  * This struct is shared between the server and client RPC/RDMA
17  * transport implementations.
18  */
19 struct rpc_rdma_cid {
20         u32                     ci_queue_id;
21         int                     ci_completion_id;
22 };
23
24 #endif  /* RPC_RDMA_CID_H */