Home
last modified time | relevance | path

Searched refs:mad_agent (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/include/rdma/
Dib_mad.h241 struct ib_mad_agent *mad_agent; member
306 typedef void (*ib_mad_send_handler)(struct ib_mad_agent *mad_agent,
319 typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent,
334 typedef void (*ib_mad_recv_handler)(struct ib_mad_agent *mad_agent,
491 int ib_unregister_mad_agent(struct ib_mad_agent *mad_agent);
533 void ib_cancel_mad(struct ib_mad_agent *mad_agent,
545 int ib_modify_mad(struct ib_mad_agent *mad_agent,
585 int ib_process_mad_wc(struct ib_mad_agent *mad_agent,
614 struct ib_mad_send_buf *ib_create_send_mad(struct ib_mad_agent *mad_agent,
/linux-2.6.39/drivers/infiniband/core/
Dmad.c561 int ib_unregister_mad_agent(struct ib_mad_agent *mad_agent) in ib_unregister_mad_agent() argument
567 if (mad_agent->hi_tid) { in ib_unregister_mad_agent()
568 mad_agent_priv = container_of(mad_agent, in ib_unregister_mad_agent()
573 mad_snoop_priv = container_of(mad_agent, in ib_unregister_mad_agent()
857 struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent, in ib_create_send_mad() argument
868 mad_agent_priv = container_of(mad_agent, struct ib_mad_agent_private, in ib_create_send_mad()
873 if ((!mad_agent->rmpp_version && in ib_create_send_mad()
892 mad_send_wr->sg_list[0].lkey = mad_agent->mr->lkey; in ib_create_send_mad()
894 mad_send_wr->sg_list[1].lkey = mad_agent->mr->lkey; in ib_create_send_mad()
913 mad_send_wr->send_buf.mad_agent = mad_agent; in ib_create_send_mad()
[all …]
Dcm.c159 struct ib_mad_agent *mad_agent; member
254 struct ib_mad_agent *mad_agent; in cm_alloc_msg() local
258 mad_agent = cm_id_priv->av.port->mad_agent; in cm_alloc_msg()
259 ah = ib_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr); in cm_alloc_msg()
263 m = ib_create_send_mad(mad_agent, cm_id_priv->id.remote_cm_qpn, in cm_alloc_msg()
289 ah = ib_create_ah_from_wc(port->mad_agent->qp->pd, mad_recv_wc->wc, in cm_alloc_response_msg()
294 m = ib_create_send_mad(port->mad_agent, 1, mad_recv_wc->wc->pkey_index, in cm_alloc_response_msg()
852 ib_cancel_mad(cm_id_priv->av.port->mad_agent, cm_id_priv->msg); in cm_destroy_id()
860 ib_cancel_mad(cm_id_priv->av.port->mad_agent, cm_id_priv->msg); in cm_destroy_id()
881 ib_cancel_mad(cm_id_priv->av.port->mad_agent, cm_id_priv->msg); in cm_destroy_id()
[all …]
Dagent.c138 static void agent_send_handler(struct ib_mad_agent *mad_agent, in agent_send_handler() argument
Dsa_query.c979 static void recv_handler(struct ib_mad_agent *mad_agent, in recv_handler() argument