Home
last modified time | relevance | path

Searched refs:ib_mad_hdr (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
Dmad.c39 static int reply(struct ib_mad_hdr *smp) in reply()
438 static void bad_mkey(struct hfi1_ibport *ibp, struct ib_mad_hdr *mad, in bad_mkey()
548 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc()
558 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc()
576 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo()
598 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo()
613 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo()
632 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo()
650 static int check_mkey(struct hfi1_ibport *ibp, struct ib_mad_hdr *mad, in check_mkey()
774 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo()
[all …]
/linux-6.6.21/include/trace/events/ !
Dib_mad.h67 ((struct ib_mad_hdr *)wr->send_buf.mad)->base_version;
69 ((struct ib_mad_hdr *)wr->send_buf.mad)->mgmt_class;
71 ((struct ib_mad_hdr *)wr->send_buf.mad)->class_version;
73 ((struct ib_mad_hdr *)wr->send_buf.mad)->method;
75 ((struct ib_mad_hdr *)wr->send_buf.mad)->status;
77 ((struct ib_mad_hdr *)wr->send_buf.mad)->class_specific;
78 __entry->tid = ((struct ib_mad_hdr *)wr->send_buf.mad)->tid;
80 ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_id;
82 ((struct ib_mad_hdr *)wr->send_buf.mad)->attr_mod;
154 ((struct ib_mad_hdr *)wr->send_buf.mad)->base_version;
[all …]
Dib_umad.h18 struct ib_mad_hdr *mad_hdr),
111 struct ib_mad_hdr *mad_hdr),
116 struct ib_mad_hdr *mad_hdr),
121 struct ib_mad_hdr *mad_hdr),
/linux-6.6.21/include/rdma/ !
Dibta_vol1_c12.h15 (byte_offset + sizeof(struct ib_mad_hdr)), bits_offset, \
19 (byte_offset + sizeof(struct ib_mad_hdr)), width)
22 (byte_offset + sizeof(struct ib_mad_hdr)), width)
25 (byte_offset + sizeof(struct ib_mad_hdr)), width)
27 IBA_FIELD64_LOC(field_struct, (byte_offset + sizeof(struct ib_mad_hdr)))
30 (byte_offset + sizeof(struct ib_mad_hdr)), width, type)
34 struct ib_mad_hdr hdr; \
Dib_mad.h137 struct ib_mad_hdr { struct
177 struct ib_mad_hdr mad_hdr;
182 struct ib_mad_hdr mad_hdr;
187 struct ib_mad_hdr mad_hdr;
193 struct ib_mad_hdr mad_hdr;
199 struct ib_mad_hdr mad_hdr;
206 struct ib_mad_hdr mad_hdr;
482 int ib_response_mad(const struct ib_mad_hdr *hdr);
Dib_pma.h29 struct ib_mad_hdr mad_hdr;
/linux-6.6.21/drivers/infiniband/sw/rdmavt/ !
Dmad.h13 const struct ib_mad_hdr *in, size_t in_mad_size,
14 struct ib_mad_hdr *out, size_t *out_mad_size,
Dmad.c33 const struct ib_mad_hdr *in, size_t in_mad_size, in rvt_process_mad()
34 struct ib_mad_hdr *out, size_t *out_mad_size, in rvt_process_mad()
/linux-6.6.21/drivers/infiniband/core/ !
Dmad.c96 const struct ib_mad_hdr *mad);
204 int ib_response_mad(const struct ib_mad_hdr *hdr) in ib_response_mad()
706 if (ib_response_mad((const struct ib_mad_hdr *)mad_priv->mad) && in handle_outgoing_dr_smp()
728 (const struct ib_mad_hdr *)mad_priv->mad); in handle_outgoing_dr_smp()
1090 if (!ib_is_mad_class_rmpp(((struct ib_mad_hdr *) send_buf->mad)->mgmt_class)) { in ib_post_send_mad()
1105 if (((struct ib_mad_hdr *) send_buf->mad)->mgmt_class == in ib_post_send_mad()
1115 mad_send_wr->tid = ((struct ib_mad_hdr *) send_buf->mad)->tid; in ib_post_send_mad()
1531 const struct ib_mad_hdr *mad_hdr) in find_mad_agent()
1614 static int validate_mad(const struct ib_mad_hdr *mad_hdr, in validate_mad()
1650 const struct ib_mad_hdr *mad_hdr) in is_rmpp_data_mad()
[all …]
Dagent.h47 extern void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh,
Duser_mad.c135 struct ib_mad_hdr mad_hdr;
370 (struct ib_mad_hdr *)&packet->mad.data); in copy_send_mad()
469 struct ib_mad_hdr *sent_hdr, *hdr; in is_duplicate()
471 hdr = (struct ib_mad_hdr *) packet->mad.data; in is_duplicate()
473 sent_hdr = (struct ib_mad_hdr *) sent_packet->mad.data; in is_duplicate()
538 (struct ib_mad_hdr *)&packet->mad.data); in ib_umad_write()
581 base_version = ((struct ib_mad_hdr *)&packet->mad.data)->base_version; in ib_umad_write()
620 tid = &((struct ib_mad_hdr *) packet->msg->mad)->tid; in ib_umad_write()
Dagent.c81 void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh, in agent_send_response()
Dmad_rmpp.c280 struct ib_mad_hdr *mad_hdr; in create_rmpp_recv()
327 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv()
845 struct ib_mad_hdr *mad_hdr = mad_send_wr->send_buf.mad; in init_newwin()
Dcm.c1283 static void cm_format_mad_hdr(struct ib_mad_hdr *hdr, in cm_format_mad_hdr()
1294 static void cm_format_mad_ece_hdr(struct ib_mad_hdr *hdr, __be16 attr_id, in cm_format_mad_ece_hdr()
3815 attr_index = be16_to_cpu(((struct ib_mad_hdr *) in cm_send_handler()
/linux-6.6.21/drivers/infiniband/ulp/opa_vnic/ !
Dopa_vnic_encap.h475 struct ib_mad_hdr mad_hdr;
517 struct ib_mad_hdr mad_hdr;
/linux-6.6.21/drivers/infiniband/ulp/srpt/ !
Dib_dm_mad.h79 struct ib_mad_hdr mad_hdr;
/linux-6.6.21/drivers/infiniband/hw/mlx4/ !
Dcm.c65 struct ib_mad_hdr hdr;
74 struct ib_mad_hdr hdr;