43#define IB_MAD_AGENTS __table ( struct ib_mad_agent, "ib_mad_agents" )
46#define __ib_mad_agent __table_entry ( IB_MAD_AGENTS, 01 )
struct arbelprm_rc_send_wqe rc
uint32_t type
Operating system type.
#define __always_inline
Declare a function to be always inline.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
static __always_inline void ib_madx_set_ownerdata(struct ib_mad_transaction *madx, void *priv)
Set Infiniband management transaction owner-private data.
int ib_mi_send(struct ib_device *ibdev, struct ib_mad_interface *mi, union ib_mad *mad, struct ib_address_vector *av)
Transmit MAD.
int ib_create_mi(struct ib_device *ibdev, enum ib_queue_pair_type type, struct ib_mad_interface **new_mi)
Create management interface.
void ib_destroy_madx(struct ib_device *ibdev, struct ib_mad_interface *mi, struct ib_mad_transaction *madx)
void ib_destroy_mi(struct ib_device *ibdev, struct ib_mad_interface *mi)
Destroy management interface.
struct ib_mad_transaction * ib_create_madx(struct ib_device *ibdev, struct ib_mad_interface *mi, union ib_mad *mad, struct ib_address_vector *av, struct ib_mad_transaction_operations *op)
Create management transaction.
static __always_inline void * ib_madx_get_ownerdata(struct ib_mad_transaction *madx)
Get Infiniband management transaction owner-private data.
ib_queue_pair_type
An Infiniband queue pair type.
static uint16_t struct vmbus_xfer_pages_operations * op
An Infiniband Address Vector.
An Infiniband Completion Queue.
An Infiniband management agent.
uint16_t attr_id
Attribute (in network byte order)
void(* handle)(struct ib_device *ibdev, struct ib_mad_interface *mi, union ib_mad *mad, struct ib_address_vector *av)
Handle MAD.
uint8_t mgmt_class
Management class.
uint8_t class_version
Class version.
An Infiniband management interface.
struct list_head madx
List of management transactions.
struct ib_queue_pair * qp
Queue pair.
struct ib_device * ibdev
Infiniband device.
struct ib_completion_queue * cq
Completion queue.
Infiniband management transaction operations.
void(* complete)(struct ib_device *ibdev, struct ib_mad_interface *mi, struct ib_mad_transaction *madx, int rc, union ib_mad *mad, struct ib_address_vector *av)
Handle transaction completion.
An Infiniband management transaction.
struct ib_mad_interface * mi
Associated management interface.
struct ib_mad_transaction_operations * op
Transaction operations.
union ib_mad mad
MAD being sent.
void * owner_priv
Owner private data.
struct list_head list
List of transactions.
struct ib_address_vector av
Destination address vector.
struct retry_timer timer
Retry timer.
An Infiniband Queue Pair.
A doubly-linked list entry (or list head)
static struct tlan_private * priv