/drivers/infiniband/sw/rxe/ |
D | rxe_av.c | 26 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()
|
D | rxe_net.c | 432 attr = rdma_get_gid_attr(&rxe->ib_dev, port_num, av->grh.sgid_index); in rxe_init_packet()
|
/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 100 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/ |
D | pvrdma_misc.c | 259 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()
|
D | pvrdma_verbs.h | 187 u8 sgid_index; member
|
D | pvrdma_verbs.c | 535 ah->av.gid_index = grh->sgid_index; in pvrdma_create_ah()
|
/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 94 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()
|
D | ud.c | 205 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/ |
D | ah.c | 57 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/ |
D | ocrdma_ah.c | 124 ah->sgid_index = ib_grh->sgid_index; in set_av_attr() 245 ah->sgid_index, in ocrdma_query_ah()
|
D | ocrdma.h | 356 u16 sgid_index; member
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | conn.c | 718 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()
|
D | conn.h | 65 int sgid_index; member
|
/drivers/infiniband/core/ |
D | uverbs_marshall.c | 87 dst->grh.sgid_index = grh->sgid_index; in ib_copy_ah_attr_to_user()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 65 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah()
|
/drivers/infiniband/sw/rdmavt/ |
D | ah.c | 82 rdma_ah_read_grh(ah_attr)->sgid_index >= port_attr.gid_tbl_len) in rvt_check_ah()
|
/drivers/infiniband/hw/mlx5/ |
D | ah.c | 65 grh->sgid_index << 20); in create_ib_ah()
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_sp.h | 95 u8 sgid_index; member
|
D | qplib_sp.c | 514 req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[ah->sgid_index]); in bnxt_qplib_create_ah()
|
D | qplib_fp.c | 1175 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()
|
D | roce_hsi.h | 1269 __le16 sgid_index; member 1792 __le16 sgid_index; member 2290 __le16 sgid_index; member
|
D | ib_verbs.c | 661 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/ |
D | dr_send.c | 33 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/ |
D | mthca_av.c | 213 grh->sgid_index; in mthca_create_ah()
|
D | mthca_qp.c | 533 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()
|