Home
last modified time | relevance | path

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

12

/drivers/infiniband/sw/rxe/
Drxe_av.c26 if (grh->sgid_index > port->attr.gid_tbl_len) { in rxe_av_chk_attr()
28 grh->sgid_index); in rxe_av_chk_attr()
52 av->grh.sgid_index = grh->sgid_index; in rxe_av_from_attr()
66 grh->sgid_index = av->grh.sgid_index; in rxe_av_to_attr()
Drxe_net.c432 attr = rdma_get_gid_attr(&rxe->ib_dev, port_num, av->grh.sgid_index); in rxe_init_packet()
/drivers/infiniband/hw/qib/
Dqib_ruc.c100 guid = get_sguid(ibp, grh->sgid_index); in qib_ruc_check_hdr()
139 guid = get_sguid(ibp, grh->sgid_index); in qib_ruc_check_hdr()
196 if (!grh->sgid_index) in qib_make_grh()
198 else if (grh->sgid_index < QIB_GUIDS_PER_PORT) in qib_make_grh()
199 hdr->sgid.global.interface_id = ibp->guids[grh->sgid_index - 1]; in qib_make_grh()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c259 dst->sgid_index = src->sgid_index; in pvrdma_global_route_to_ib()
269 dst->sgid_index = src->sgid_index; in ib_global_route_to_pvrdma()
Dpvrdma_verbs.h187 u8 sgid_index; member
Dpvrdma_verbs.c535 ah->av.gid_index = grh->sgid_index; in pvrdma_create_ah()
/drivers/infiniband/hw/hfi1/
Druc.c94 guid = get_sguid(ibp, grh->sgid_index); in hfi1_ruc_check_hdr()
131 guid = get_sguid(ibp, grh->sgid_index); in hfi1_ruc_check_hdr()
182 grh->sgid_index < HFI1_GUIDS_PER_PORT ? in hfi1_make_grh()
183 get_sguid(ibp, grh->sgid_index) : in hfi1_make_grh()
300 if (grd->sgid_index == OPA_GID_INDEX) in hfi1_make_ruc_header_16B()
301 grd->sgid_index = 0; in hfi1_make_ruc_header_16B()
Dud.c205 if (grd.sgid_index == 0) in ud_loopback()
206 grd.sgid_index = OPA_GID_INDEX; in ud_loopback()
421 if (grd->sgid_index == OPA_GID_INDEX) { in hfi1_make_ud_req_16B()
423 grd->sgid_index); in hfi1_make_ud_req_16B()
424 grd->sgid_index = 0; in hfi1_make_ud_req_16B()
/drivers/infiniband/hw/mlx4/
Dah.c57 ah->av.ib.gid_index = grh->sgid_index; in create_ib_ah()
113 ah->av.eth.gid_index = ah_attr->grh.sgid_index; in create_iboe_ah()
176 slave_attr.grh.sgid_index = slave_sgid_index; in mlx4_ib_create_ah_slave()
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c124 ah->sgid_index = ib_grh->sgid_index; in set_av_attr()
245 ah->sgid_index, in ocrdma_query_ah()
Docrdma.h356 u16 sgid_index; member
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c718 conn->qp.sgid_index); in mlx5_fpga_conn_rtr_qp()
846 err = mlx5_core_reserved_gid_alloc(fdev->mdev, &conn->qp.sgid_index); in mlx5_fpga_conn_create()
853 err = mlx5_core_roce_gid_set(fdev->mdev, conn->qp.sgid_index, in mlx5_fpga_conn_create()
863 mlx5_fpga_dbg(fdev, "Reserved SGID index %u\n", conn->qp.sgid_index); in mlx5_fpga_conn_create()
922 mlx5_core_roce_gid_set(fdev->mdev, conn->qp.sgid_index, 0, 0, NULL, in mlx5_fpga_conn_create()
925 mlx5_core_reserved_gid_free(fdev->mdev, conn->qp.sgid_index); in mlx5_fpga_conn_create()
942 mlx5_core_roce_gid_set(conn->fdev->mdev, conn->qp.sgid_index, 0, 0, in mlx5_fpga_conn_destroy()
944 mlx5_core_reserved_gid_free(conn->fdev->mdev, conn->qp.sgid_index); in mlx5_fpga_conn_destroy()
Dconn.h65 int sgid_index; member
/drivers/infiniband/core/
Duverbs_marshall.c87 dst->grh.sgid_index = grh->sgid_index; in ib_copy_ah_attr_to_user()
/drivers/infiniband/hw/hns/
Dhns_roce_ah.c65 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah()
/drivers/infiniband/sw/rdmavt/
Dah.c82 rdma_ah_read_grh(ah_attr)->sgid_index >= port_attr.gid_tbl_len) in rvt_check_ah()
/drivers/infiniband/hw/mlx5/
Dah.c65 grh->sgid_index << 20); in create_ib_ah()
/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.h95 u8 sgid_index; member
Dqplib_sp.c514 req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[ah->sgid_index]); in bnxt_qplib_create_ah()
Dqplib_fp.c1175 qp->ah.sgid_index = 0; in __modify_flags_from_init_state()
1286 req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id in bnxt_qplib_modify_qp()
1287 [qp->ah.sgid_index]); in bnxt_qplib_modify_qp()
1387 qp->ah.sgid_index = 0; in bnxt_qplib_query_qp()
1389 if (res->sgid_tbl.hw_id[i] == le16_to_cpu(sb->sgid_index)) { in bnxt_qplib_query_qp()
1390 qp->ah.sgid_index = i; in bnxt_qplib_query_qp()
Droce_hsi.h1269 __le16 sgid_index; member
1792 __le16 sgid_index; member
2290 __le16 sgid_index; member
Dib_verbs.c661 ah->qplib_ah.sgid_index = ctx->idx; in bnxt_re_create_ah()
662 ah->qplib_ah.host_sgid_index = grh->sgid_index; in bnxt_re_create_ah()
993 ah->qplib_ah.sgid_index = 0; in bnxt_re_create_shadow_qp_ah()
1911 qp->qplib_qp.ah.sgid_index = ctx->idx; in bnxt_re_modify_qp()
1912 qp->qplib_qp.ah.host_sgid_index = grh->sgid_index; in bnxt_re_modify_qp()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c33 u8 sgid_index; member
635 attr->sgid_index); in dr_cmd_modify_qp_init2rtr()
676 rtr_attr.sgid_index = gid_index; in dr_prepare_qp_to_rts()
/drivers/infiniband/hw/mthca/
Dmthca_av.c213 grh->sgid_index; in mthca_create_ah()
Dmthca_qp.c533 if (grh->sgid_index >= dev->limits.gid_table_len) { in mthca_path_set()
535 grh->sgid_index, in mthca_path_set()
541 path->mgid_index = grh->sgid_index; in mthca_path_set()

12