#include <infiniband.h>
Data Fields | |
| int(* | create_cq )(struct ib_device *ibdev, struct ib_completion_queue *cq) |
| Create completion queue. | |
| void(* | destroy_cq )(struct ib_device *ibdev, struct ib_completion_queue *cq) |
| Destroy completion queue. | |
| int(* | create_qp )(struct ib_device *ibdev, struct ib_queue_pair *qp) |
| Create queue pair. | |
| int(* | modify_qp )(struct ib_device *ibdev, struct ib_queue_pair *qp) |
| Modify queue pair. | |
| void(* | destroy_qp )(struct ib_device *ibdev, struct ib_queue_pair *qp) |
| Destroy queue pair. | |
| int(* | post_send )(struct ib_device *ibdev, struct ib_queue_pair *qp, struct ib_address_vector *av, struct io_buffer *iobuf) |
| Post send work queue entry. | |
| int(* | post_recv )(struct ib_device *ibdev, struct ib_queue_pair *qp, struct io_buffer *iobuf) |
| Post receive work queue entry. | |
| void(* | poll_cq )(struct ib_device *ibdev, struct ib_completion_queue *cq) |
| Poll completion queue. | |
| void(* | poll_eq )(struct ib_device *ibdev) |
| Poll event queue. | |
| int(* | open )(struct ib_device *ibdev) |
| Open port. | |
| void(* | close )(struct ib_device *ibdev) |
| Close port. | |
| int(* | mcast_attach )(struct ib_device *ibdev, struct ib_queue_pair *qp, struct ib_gid *gid) |
| Attach to multicast group. | |
| void(* | mcast_detach )(struct ib_device *ibdev, struct ib_queue_pair *qp, struct ib_gid *gid) |
| Detach from multicast group. | |
| int(* | set_port_info )(struct ib_device *ibdev, union ib_mad *mad) |
| Set port information. | |
| int(* | set_pkey_table )(struct ib_device *ibdev, union ib_mad *mad) |
| Set partition key table. | |
These represent a subset of the Infiniband Verbs.
Definition at line 231 of file infiniband.h.
| int( * ib_device_operations::create_cq)(struct ib_device *ibdev, struct ib_completion_queue *cq) |
Create completion queue.
| ibdev | Infiniband device | |
| cq | Completion queue |
| rc | Return status code |
Referenced by ib_create_cq().
| void( * ib_device_operations::destroy_cq)(struct ib_device *ibdev, struct ib_completion_queue *cq) |
Destroy completion queue.
| ibdev | Infiniband device | |
| cq | Completion queue |
Referenced by ib_create_cq(), and ib_destroy_cq().
| int( * ib_device_operations::create_qp)(struct ib_device *ibdev, struct ib_queue_pair *qp) |
Create queue pair.
| ibdev | Infiniband device | |
| qp | Queue pair |
| rc | Return status code |
Referenced by ib_create_qp().
| int( * ib_device_operations::modify_qp)(struct ib_device *ibdev, struct ib_queue_pair *qp) |
Modify queue pair.
| ibdev | Infiniband device | |
| qp | Queue pair |
| rc | Return status code |
Referenced by ib_modify_qp().
| void( * ib_device_operations::destroy_qp)(struct ib_device *ibdev, struct ib_queue_pair *qp) |
Destroy queue pair.
| ibdev | Infiniband device | |
| qp | Queue pair |
Referenced by ib_create_qp(), and ib_destroy_qp().
| int( * ib_device_operations::post_send)(struct ib_device *ibdev, struct ib_queue_pair *qp, struct ib_address_vector *av, struct io_buffer *iobuf) |
Post send work queue entry.
| ibdev | Infiniband device | |
| qp | Queue pair | |
| av | Address vector | |
| iobuf | I/O buffer |
| rc | Return status code |
Referenced by ib_post_send().
| int( * ib_device_operations::post_recv)(struct ib_device *ibdev, struct ib_queue_pair *qp, struct io_buffer *iobuf) |
Post receive work queue entry.
| ibdev | Infiniband device | |
| qp | Queue pair | |
| iobuf | I/O buffer |
| rc | Return status code |
Referenced by ib_post_recv().
| void( * ib_device_operations::poll_cq)(struct ib_device *ibdev, struct ib_completion_queue *cq) |
Poll completion queue.
| ibdev | Infiniband device | |
| cq | Completion queue |
Referenced by ib_poll_cq().
| void( * ib_device_operations::poll_eq)(struct ib_device *ibdev) |
| int( * ib_device_operations::open)(struct ib_device *ibdev) |
| void( * ib_device_operations::close)(struct ib_device *ibdev) |
| int( * ib_device_operations::mcast_attach)(struct ib_device *ibdev, struct ib_queue_pair *qp, struct ib_gid *gid) |
Attach to multicast group.
| ibdev | Infiniband device | |
| qp | Queue pair | |
| gid | Multicast GID |
| rc | Return status code |
Referenced by ib_mcast_attach().
| void( * ib_device_operations::mcast_detach)(struct ib_device *ibdev, struct ib_queue_pair *qp, struct ib_gid *gid) |
Detach from multicast group.
| ibdev | Infiniband device | |
| qp | Queue pair | |
| gid | Multicast GID |
Referenced by ib_mcast_detach().
| int( * ib_device_operations::set_port_info)(struct ib_device *ibdev, union ib_mad *mad) |
Set port information.
| ibdev | Infiniband device | |
| mad | Set port information MAD |
Referenced by ib_set_port_info().
| int( * ib_device_operations::set_pkey_table)(struct ib_device *ibdev, union ib_mad *mad) |
Set partition key table.
| ibdev | Infiniband device | |
| mad | Set partition key table MAD |
Referenced by ib_set_pkey_table().
1.5.7.1