Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * * Copyright (c) 2020, Oracle and/or its affiliates.
0004  */
0005 
0006 #ifndef RPC_RDMA_CID_H
0007 #define RPC_RDMA_CID_H
0008 
0009 /*
0010  * The rpc_rdma_cid struct records completion ID information. A
0011  * completion ID matches an incoming Send or Receive completion
0012  * to a Completion Queue and to a previous ib_post_*(). The ID
0013  * can then be displayed in an error message or recorded in a
0014  * trace record.
0015  *
0016  * This struct is shared between the server and client RPC/RDMA
0017  * transport implementations.
0018  */
0019 struct rpc_rdma_cid {
0020     u32         ci_queue_id;
0021     int         ci_completion_id;
0022 };
0023 
0024 #endif  /* RPC_RDMA_CID_H */