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 ib_device * ibdev
Infiniband device.
struct arbelprm_rc_send_wqe rc
struct ib_address_vector av
Destination address vector.
int ib_create_mi(struct ib_device *ibdev, enum ib_queue_pair_type type, struct ib_mad_interface **new_mi)
Create management interface.
uint32_t type
Operating system type.
void ib_destroy_mi(struct ib_device *ibdev, struct ib_mad_interface *mi)
Destroy management interface.
void(* handle)(struct ib_device *ibdev, struct ib_mad_interface *mi, union ib_mad *mad, struct ib_address_vector *av)
Handle MAD.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int ib_mi_send(struct ib_device *ibdev, struct ib_mad_interface *mi, union ib_mad *mad, struct ib_address_vector *av)
Transmit MAD.
struct list_head list
List of transactions.
uint16_t attr_id
Attribute (in network byte order)
An Infiniband management interface.
A doubly-linked list entry (or list head)
struct ib_queue_pair * qp
Queue pair.
void ib_destroy_madx(struct ib_device *ibdev, struct ib_mad_interface *mi, struct ib_mad_transaction *madx)
struct ib_completion_queue * cq
Completion queue.
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.
An Infiniband management transaction.
An Infiniband management agent.
static __always_inline void ib_madx_set_ownerdata(struct ib_mad_transaction *madx, void *priv)
Set Infiniband management transaction owner-private data.
uint8_t class_version
Class version.
ib_queue_pair_type
An Infiniband queue pair type.
#define __always_inline
Declare a function to be always inline.
An Infiniband Completion Queue.
struct ib_mad_transaction_operations * op
Transaction operations.
static __always_inline void * ib_madx_get_ownerdata(struct ib_mad_transaction *madx)
Get Infiniband management transaction owner-private data.
An Infiniband Queue Pair.
static uint16_t struct vmbus_xfer_pages_operations * op
struct ib_mad_interface * mi
Associated management interface.
static struct tlan_private * priv
uint8_t mgmt_class
Management class.
void * owner_priv
Owner private data.
An Infiniband Address Vector.
union ib_mad mad
MAD being sent.
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.
Infiniband management transaction operations.
struct list_head madx
List of management transactions.