• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/mlx4/mlx4_ib/

Lines Matching refs:mad_hdr

265 	mad.mad_hdr.tid = mlx4_ib_get_new_demux_tid(group->demux);
266 group->last_req_tid = mad.mad_hdr.tid; /* keep it for later validation */
286 mad.mad_hdr.base_version = 1;
287 mad.mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM;
288 mad.mad_hdr.class_version = 2;
289 mad.mad_hdr.method = IB_SA_METHOD_DELETE;
290 mad.mad_hdr.status = cpu_to_be16(0);
291 mad.mad_hdr.class_specific = cpu_to_be16(0);
292 mad.mad_hdr.tid = mlx4_ib_get_new_demux_tid(group->demux);
293 group->last_req_tid = mad.mad_hdr.tid; /* keep it for later validation */
294 mad.mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC);
295 mad.mad_hdr.attr_mod = cpu_to_be32(0);
327 mad.mad_hdr.base_version = 1;
328 mad.mad_hdr.mgmt_class = IB_MGMT_CLASS_SUBN_ADM;
329 mad.mad_hdr.class_version = 2;
330 mad.mad_hdr.method = IB_MGMT_METHOD_GET_RESP;
331 mad.mad_hdr.status = cpu_to_be16(status);
332 mad.mad_hdr.class_specific = cpu_to_be16(0);
333 mad.mad_hdr.tid = req_sa_mad->mad_hdr.tid;
334 *(u8 *)&mad.mad_hdr.tid = 0; /* resetting tid to 0 */
335 mad.mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC);
336 mad.mad_hdr.attr_mod = cpu_to_be32(0);
663 status = be16_to_cpu(group->response_sa_mad.mad_hdr.status);
664 method = group->response_sa_mad.mad_hdr.method;
665 if (group->last_req_tid != group->response_sa_mad.mad_hdr.tid) {
668 group->response_sa_mad.mad_hdr.tid),
719 if (req->sa_mad.mad_hdr.method == IB_SA_METHOD_DELETE)
894 switch (mad->mad_hdr.method) {
901 if (mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP) {
902 __be64 tid = mad->mad_hdr.tid;
930 port, mad->mad_hdr.method);
948 switch (sa_mad->mad_hdr.method) {
988 port, slave, sa_mad->mad_hdr.method);
1016 req->sa_mad.mad_hdr.tid));
1163 mad->mad_hdr.method = IB_SA_METHOD_DELETE;