Home
last modified time | relevance | path

Searched refs:grh_present (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_ud_header.c326 int grh_present, in ib_ud_header_init() argument
334 grh_present = grh_present && !ip_version; in ib_ud_header_init()
348 grh_present ? IB_LNH_IBA_GLOBAL : IB_LNH_IBA_LOCAL; in ib_ud_header_init()
352 (grh_present ? IB_GRH_BYTES : 0) + in ib_ud_header_init()
362 if (ip_version == 6 || grh_present) { in ib_ud_header_init()
404 header->grh_present = grh_present || (ip_version == 6); in ib_ud_header_init()
440 if (header->grh_present) { in ib_ud_header_pack()
496 header->grh_present = 0; in ib_ud_header_unpack()
500 header->grh_present = 1; in ib_ud_header_unpack()
H A Dib_user_mad.c238 packet->mad.hdr.grh_present = !!(mad_recv_wc->wc->wc_flags & IB_WC_GRH); in recv_handler()
239 if (packet->mad.hdr.grh_present) { in recv_handler()
409 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination()
412 if (hdr1->grh_present && hdr2->grh_present) in same_destination()
501 if (packet->mad.hdr.grh_present) { in ib_umad_write()
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibdiag_sa.c77 int sa_set_handle(struct sa_handle * handle, int grh_present, ibmad_gid_t *gid) in sa_set_handle() argument
79 if (grh_present) { in sa_set_handle()
83 handle->dport.grh_present = 1; in sa_set_handle()
126 if (h->dport.grh_present) { in sa_query()
128 p_mad_addr->grh_present = 1; in sa_query()
H A Dibsysstat.c92 rport.grh_present = mad_addr->grh_present; in server_respond()
93 if (rport.grh_present) in server_respond()
358 portid.grh_present = 1; in main()
H A Dibdiag_sa.h63 int sa_set_handle(struct sa_handle * handle, int grh_present, ibmad_gid_t *gid);
H A Dibping.c254 portid.grh_present = 1; in main()
H A Dibccquery.c419 portid.grh_present = 1; in main()
H A Dibccconfig.c631 portid.grh_present = 1; in main()
H A Dvendstat.c410 portid.grh_present = 1; in main()
H A Dperfquery.c918 portid.grh_present = 1; in main()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_mad.h84 __u8 grh_present; member
128 __u8 grh_present; member
/freebsd/contrib/ofed/libibmad/
H A Dserv.c113 if (mad_addr->grh_present) { in mad_respond_via()
114 rport.grh_present = 1; in mad_respond_via()
H A Dmad.c184 if (dport->grh_present && !is_smi) { in mad_build_pkt()
185 addr.grh_present = 1; in mad_build_pkt()
H A Dportid.c66 if (portid->grh_present) { in portid2str()
H A Dmad.h308 int grh_present; /* flag */ member
1543 portid->grh_present = 0; in ib_portid_set()
/freebsd/sys/ofed/include/rdma/
H A Dib_pack.h267 int grh_present; member
295 int grh_present,
/freebsd/contrib/ofed/libibumad/
H A Dumad.h85 uint8_t grh_present; member
H A Dumad.c742 mad->addr.grh_present = 1; in umad_set_grh()
750 mad->addr.grh_present = 0; in umad_set_grh()
1105 addr->grh_present, (int)addr->gid_index, (int)addr->hop_limit, in umad_addr_dump()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad.c294 if (ib_mad_addr->grh_present) { in ib_mad_addr_conv()
1144 mad_addr.grh_present = 1; in osm_vendor_send()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c2965 qp->qp1_hdr.grh_present = 1; in bnxt_re_build_qp1_send()