rpc_rdma_cid.h 622 B

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