Lines Matching refs:sgid

890 		       union ib_gid *sgid, struct ib_gid_attr **sgid_attr,  in bnxt_re_get_cached_gid()  argument
895 ret = ib_get_cached_gid(dev, port_num, index, sgid, *sgid_attr); in bnxt_re_get_cached_gid()
901 union ib_gid *sgid) in bnxt_re_gid_to_network_type() argument
903 return ib_gid_to_network_type(sgid_attr->gid_type, sgid); in bnxt_re_gid_to_network_type()
916 gid = &ah_info->sgid; in bnxt_re_get_ah_info()
1738 union ib_gid sgid; in bnxt_re_create_shadow_qp_ah() local
1750 rc = bnxt_re_query_gid(&rdev->ibdev, 1, 0, &sgid); in bnxt_re_create_shadow_qp_ah()
1755 memcpy(ah->qplib_ah.dgid.data, &sgid.raw, in bnxt_re_create_shadow_qp_ah()
2483 memcpy(data + buf_len, qp->qp_info_entry.sgid.raw + ip_off, addr_len); in get_source_port()
2504 qp->qp_info_entry.s_ip.ipv4_addr = ipv4_from_gid(qp->qp_info_entry.sgid.raw); in bnxt_re_update_qp_info()
2507 memcpy(&qp->qp_info_entry.s_ip.ipv6_addr, qp->qp_info_entry.sgid.raw, in bnxt_re_update_qp_info()
2577 union ib_gid sgid, *gid_ptr = NULL; in bnxt_re_modify_qp() local
2663 &sgid, &sgid_attr, in bnxt_re_modify_qp()
2667 gid_ptr = &sgid; in bnxt_re_modify_qp()
2671 nw_type = bnxt_re_gid_to_network_type(sgid_attr, &sgid); in bnxt_re_modify_qp()
2689 memcpy(&qp->qp_info_entry.sgid, gid_ptr, sizeof(qp->qp_info_entry.sgid)); in bnxt_re_modify_qp()
2932 union ib_gid sgid; in bnxt_re_build_qp1_send() local
2940 rc = bnxt_re_query_gid(&qp->rdev->ibdev, 1, qplib_ah->sgid_index, &sgid); in bnxt_re_build_qp1_send()
2959 vlan_id = rdma_get_vlan_id(&sgid); in bnxt_re_build_qp1_send()
2971 memcpy(qp->qp1_hdr.grh.source_gid.raw, sgid.raw, sizeof(sgid)); in bnxt_re_build_qp1_send()
2973 sizeof(sgid)); in bnxt_re_build_qp1_send()