Home
last modified time | relevance | path

Searched refs:sgid_index (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c56 ah->av.ib.gid_index = ah_attr->grh.sgid_index; in create_ib_ah()
95 ah_attr->grh.sgid_index, &sgid, &gid_attr); in create_iboe_ah()
107 ret = mlx4_ib_gid_index_to_real_index(ibdev, ah_attr->port_num, ah_attr->grh.sgid_index); in create_iboe_ah()
160 slave_attr.grh.sgid_index = slave_sgid_index; in mlx4_ib_create_ah_slave()
204 ah_attr->grh.sgid_index = ah->av.ib.gid_index; in mlx4_ib_query_ah()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_ah.c40 ah_attr->grh.sgid_index << 20); in create_ib_ah()
52 ah_attr->grh.sgid_index); in create_ib_ah()
109 ah_attr->grh.sgid_index = (tmp >> 20) & 0xff; in mlx5_ib_query_ah()
/freebsd/contrib/ofed/libibverbs/
H A Dmarshall.c44 dst->grh.sgid_index = src->grh.sgid_index; in ibv_copy_ah_attr_from_kern()
H A Dcmd.c1277 attr->ah_attr.grh.sgid_index = resp.dest.sgid_index; in ibv_cmd_query_qp()
1289 attr->alt_ah_attr.grh.sgid_index = resp.alt_dest.sgid_index; in ibv_cmd_query_qp()
1340 cmd->dest.sgid_index = attr->ah_attr.grh.sgid_index; in copy_modify_qp_fields()
1372 cmd->alt_dest.sgid_index = attr->alt_ah_attr.grh.sgid_index; in copy_modify_qp_fields()
1678 cmd.attr.grh.sgid_index = attr->grh.sgid_index; in ibv_cmd_create_ah()
H A Dverbs.c835 ah_attr->grh.sgid_index = (uint8_t) ret; in set_ah_attr_by_ipv4()
872 ah_attr->grh.sgid_index = (uint8_t) ret; in set_ah_attr_by_ipv6()
992 attr->grh.sgid_index, &sgid); in ibv_resolve_eth_l2_from_gid()
H A Dkern-abi.h563 __u8 sgid_index; member
696 __u8 sgid_index; member
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_marshall.c43 dst->grh.sgid_index = src->grh.sgid_index; in ib_copy_ah_attr_to_user()
H A Dib_user_mad.c249 packet->mad.hdr.gid_index = ah_attr.grh.sgid_index; in recv_handler()
504 ah_attr.grh.sgid_index = packet->mad.hdr.gid_index; in ib_umad_write()
H A Dib_uverbs_cmd.c1639 uverb_attr->sgid_index = grh->sgid_index; in copy_ah_attr_to_uverbs()
1745 grh->sgid_index = uverb_attr->sgid_index; in copy_ah_attr_from_uverbs()
2435 grh->sgid_index = cmd.attr.grh.sgid_index; in ib_uverbs_create_ah()
/freebsd/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_conn.c734 conn->qp.sgid_index); in mlx5_fpga_conn_rtr_qp()
879 err = mlx5_core_reserved_gid_alloc(fdev->mdev, &conn->qp.sgid_index); in mlx5_fpga_conn_create()
886 err = mlx5_core_roce_gid_set(fdev->mdev, conn->qp.sgid_index, in mlx5_fpga_conn_create()
895 mlx5_fpga_dbg(fdev, "Reserved SGID index %u\n", conn->qp.sgid_index); in mlx5_fpga_conn_create()
954 mlx5_core_roce_gid_set(fdev->mdev, conn->qp.sgid_index, 0, 0, NULL, in mlx5_fpga_conn_create()
957 mlx5_core_reserved_gid_free(fdev->mdev, conn->qp.sgid_index); in mlx5_fpga_conn_create()
982 mlx5_core_roce_gid_set(conn->fdev->mdev, conn->qp.sgid_index, 0, 0, in mlx5_fpga_conn_destroy()
984 mlx5_core_reserved_gid_free(conn->fdev->mdev, conn->qp.sgid_index); in mlx5_fpga_conn_destroy()
H A Dconn.h64 int sgid_index; member
/freebsd/sys/dev/mthca/
H A Dmthca_av.c210 ah_attr->grh.sgid_index; in mthca_create_ah()
316 attr->grh.sgid_index = ah->av->gid_index & in mthca_ah_query()
H A Dmthca_qp.c414 ib_ah_attr->grh.sgid_index = path->mgid_index & (dev->limits.gid_table_len - 1); in to_ib_ah_attr()
524 if (ah->grh.sgid_index >= dev->limits.gid_table_len) { in mthca_path_set()
526 ah->grh.sgid_index, dev->limits.gid_table_len-1); in mthca_path_set()
531 path->mgid_index = ah->grh.sgid_index; in mthca_path_set()
/freebsd/sys/dev/irdma/
H A Dirdma_kcompat.c547 ah->sgid_index = attr->grh.sgid_index; in irdma_create_ah()
551 attr->grh.sgid_index, &sgid, &sgid_attr); in irdma_create_ah()
556 attr->grh.sgid_index, attr->port_num); in irdma_create_ah()
1297 attr->ah_attr.grh.sgid_index, &sgid, in kc_irdma_set_roce_cm_info()
H A Dirdma_verbs.h89 u8 sgid_index; member
/freebsd/sys/ofed/include/rdma/
H A Dib_cm.h244 u8 sgid_index; member
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c919 rc = bnxt_re_get_cached_gid(&rdev->ibdev, 1, ah_attr->grh.sgid_index, in bnxt_re_get_ah_info()
1018 ah->qplib_ah.sgid_index = _get_sgid_index(rdev, ah_attr->grh.sgid_index); in bnxt_re_create_ah()
1019 if (ah->qplib_ah.sgid_index == 0xFF) { in bnxt_re_create_ah()
1024 ah->qplib_ah.host_sgid_index = ah_attr->grh.sgid_index; in bnxt_re_create_ah()
1080 ah_attr->grh.sgid_index = ah->qplib_ah.host_sgid_index; in bnxt_re_query_ah()
1757 ah->qplib_ah.sgid_index = 0; in bnxt_re_create_shadow_qp_ah()
2652 qp->qplib_qp.ah.sgid_index = _get_sgid_index(rdev, in bnxt_re_modify_qp()
2653 qp_attr->ah_attr.grh.sgid_index); in bnxt_re_modify_qp()
2654 qp->qplib_qp.ah.host_sgid_index = qp_attr->ah_attr.grh.sgid_index; in bnxt_re_modify_qp()
2662 qp_attr->ah_attr.grh.sgid_index, in bnxt_re_modify_qp()
[all …]
H A Dqplib_sp.h96 u8 sgid_index; member
H A Dqplib_fp.c1323 qp->ah.sgid_index = 0; in __filter_modify_flags()
1420 req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[qp->ah.sgid_index]); in bnxt_qplib_modify_qp()
1546 qp->ah.sgid_index = 0; in bnxt_qplib_query_qp()
1548 if (res->sgid_tbl.hw_id[i] == le16_to_cpu(sb->sgid_index)) { in bnxt_qplib_query_qp()
1549 qp->ah.sgid_index = i; in bnxt_qplib_query_qp()
1556 qp->id, le16_to_cpu(sb->sgid_index)); in bnxt_qplib_query_qp()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h511 __u8 sgid_index; member
666 __u8 sgid_index; member
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_cm.c508 if (grh->sgid_index < QLNXR_MAX_SGID) in qlnxr_gsi_build_header()
509 sgid = dev->sgid_tbl[grh->sgid_index]; in qlnxr_gsi_build_header()
/freebsd/contrib/ofed/libmlx4/
H A Dverbs.c1183 attr->grh.sgid_index, &sgid); in mlx4_resolve_grh_to_l2()
1231 ah->av.gid_index = attr->grh.sgid_index; in mlx4_create_ah()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_ibmgt.c776 p_av->sgid_index = 0; /* we always use source GID 0 */ in __osmv_IBMGT_osm_addr_to_ibmgt_addr()
/freebsd/contrib/ofed/libibverbs/examples/
H A Duc_pingpong.c101 attr.ah_attr.grh.sgid_index = sgid_idx; in pp_connect_ctx()
H A Dud_pingpong.c113 ah_attr.grh.sgid_index = sgid_idx; in pp_connect_ctx()

12