Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

ib_qset.h 717B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _GPXE_IB_QSET_H
  2. #define _GPXE_IB_QSET_H
  3. /** @file
  4. *
  5. * Infiniband queue sets
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER );
  9. #include <stdint.h>
  10. #include <gpxe/infiniband.h>
  11. /** An Infiniband queue set */
  12. struct ib_queue_set {
  13. /** Completion queue */
  14. struct ib_completion_queue *cq;
  15. /** Queue pair */
  16. struct ib_queue_pair *qp;
  17. };
  18. extern int ib_create_qset ( struct ib_device *ibdev,
  19. struct ib_queue_set *qset, unsigned int num_cqes,
  20. struct ib_completion_queue_operations *cq_op,
  21. unsigned int num_send_wqes,
  22. unsigned int num_recv_wqes, unsigned long qkey );
  23. extern void ib_destroy_qset ( struct ib_device *ibdev,
  24. struct ib_queue_set *qset );
  25. #endif /* _GPXE_IB_QSET_H */