sgid_index 1949 drivers/infiniband/core/mad.c grh->sgid_index, &sgid)) sgid_index 274 drivers/infiniband/core/user_mad.c packet->mad.hdr.gid_index = grh->sgid_index; sgid_index 1640 drivers/infiniband/core/uverbs_cmd.c uverb_attr->sgid_index = grh->sgid_index; sgid_index 1745 drivers/infiniband/core/uverbs_cmd.c uverb_attr->sgid_index, sgid_index 2431 drivers/infiniband/core/uverbs_cmd.c cmd.attr.grh.sgid_index, sgid_index 87 drivers/infiniband/core/uverbs_marshall.c dst->grh.sgid_index = grh->sgid_index; sgid_index 424 drivers/infiniband/core/verbs.c if (ah_attr->grh.sgid_attr->index != ah_attr->grh.sgid_index || sgid_index 457 drivers/infiniband/core/verbs.c rdma_get_gid_attr(device, ah_attr->port_num, grh->sgid_index); sgid_index 680 drivers/infiniband/hw/bnxt_re/ib_verbs.c ah->qplib_ah.sgid_index = grh->sgid_index / 2; sgid_index 681 drivers/infiniband/hw/bnxt_re/ib_verbs.c ah->qplib_ah.host_sgid_index = grh->sgid_index; sgid_index 915 drivers/infiniband/hw/bnxt_re/ib_verbs.c ah->qplib_ah.sgid_index = 0; sgid_index 1627 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.ah.sgid_index = grh->sgid_index / 2; sgid_index 1628 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.ah.host_sgid_index = grh->sgid_index; sgid_index 1118 drivers/infiniband/hw/bnxt_re/qplib_fp.c qp->ah.sgid_index = 0; sgid_index 1229 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id sgid_index 1230 drivers/infiniband/hw/bnxt_re/qplib_fp.c [qp->ah.sgid_index]); sgid_index 1330 drivers/infiniband/hw/bnxt_re/qplib_fp.c qp->ah.sgid_index = 0; sgid_index 1332 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (res->sgid_tbl.hw_id[i] == le16_to_cpu(sb->sgid_index)) { sgid_index 1333 drivers/infiniband/hw/bnxt_re/qplib_fp.c qp->ah.sgid_index = i; sgid_index 517 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.sgid_index = cpu_to_le16(res->sgid_tbl.hw_id[ah->sgid_index]); sgid_index 96 drivers/infiniband/hw/bnxt_re/qplib_sp.h u8 sgid_index; sgid_index 1162 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le16 sgid_index; sgid_index 1685 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le16 sgid_index; sgid_index 2183 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le16 sgid_index; sgid_index 267 drivers/infiniband/hw/hfi1/mad.c grh->sgid_index = 0; sgid_index 94 drivers/infiniband/hw/hfi1/ruc.c guid = get_sguid(ibp, grh->sgid_index); sgid_index 131 drivers/infiniband/hw/hfi1/ruc.c guid = get_sguid(ibp, grh->sgid_index); sgid_index 182 drivers/infiniband/hw/hfi1/ruc.c grh->sgid_index < HFI1_GUIDS_PER_PORT ? sgid_index 183 drivers/infiniband/hw/hfi1/ruc.c get_sguid(ibp, grh->sgid_index) : sgid_index 300 drivers/infiniband/hw/hfi1/ruc.c if (grd->sgid_index == OPA_GID_INDEX) sgid_index 301 drivers/infiniband/hw/hfi1/ruc.c grd->sgid_index = 0; sgid_index 205 drivers/infiniband/hw/hfi1/ud.c if (grd.sgid_index == 0) sgid_index 206 drivers/infiniband/hw/hfi1/ud.c grd.sgid_index = OPA_GID_INDEX; sgid_index 421 drivers/infiniband/hw/hfi1/ud.c if (grd->sgid_index == OPA_GID_INDEX) { sgid_index 423 drivers/infiniband/hw/hfi1/ud.c grd->sgid_index); sgid_index 424 drivers/infiniband/hw/hfi1/ud.c grd->sgid_index = 0; sgid_index 70 drivers/infiniband/hw/hns/hns_roce_ah.c ah->av.gid_index = grh->sgid_index; sgid_index 2956 drivers/infiniband/hw/hns/hns_roce_hw_v1.c grh->sgid_index)); sgid_index 3531 drivers/infiniband/hw/hns/hns_roce_hw_v1.c grh->sgid_index = sgid_index 3848 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->sgid_index)); sgid_index 4105 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (grh->sgid_index >= hr_dev->caps.gid_table_len[hr_port]) { sgid_index 4107 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->sgid_index, hr_dev->caps.gid_table_len[hr_port]); sgid_index 4125 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->sgid_index); sgid_index 4597 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->sgid_index = roce_get_field(context.byte_20_smac_sgid_idx, sgid_index 57 drivers/infiniband/hw/mlx4/ah.c ah->av.ib.gid_index = grh->sgid_index; sgid_index 113 drivers/infiniband/hw/mlx4/ah.c ah->av.eth.gid_index = ah_attr->grh.sgid_index; sgid_index 174 drivers/infiniband/hw/mlx4/ah.c slave_attr.grh.sgid_index = slave_sgid_index; sgid_index 1405 drivers/infiniband/hw/mlx4/mad.c rdma_ah_retrieve_grh(attr)->sgid_index, sgid_index 1476 drivers/infiniband/hw/mlx4/mad.c grh->sgid_index = slave; sgid_index 1478 drivers/infiniband/hw/mlx4/mad.c grh->sgid_index += get_slave_base_gid_ix(dev, slave, port); sgid_index 46 drivers/infiniband/hw/mlx5/ah.c grh->sgid_index << 20); sgid_index 2924 drivers/infiniband/hw/mlx5/qp.c if (grh->sgid_index >= sgid_index 2927 drivers/infiniband/hw/mlx5/qp.c grh->sgid_index, sgid_index 2960 drivers/infiniband/hw/mlx5/qp.c path->mgid_index = grh->sgid_index; sgid_index 3864 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(dctc, dctc, my_addr_index, attr->ah_attr.grh.sgid_index); sgid_index 5745 drivers/infiniband/hw/mlx5/qp.c qp_attr->ah_attr.grh.sgid_index = MLX5_GET(dctc, dctc, my_addr_index); sgid_index 213 drivers/infiniband/hw/mthca/mthca_av.c grh->sgid_index; sgid_index 533 drivers/infiniband/hw/mthca/mthca_qp.c if (grh->sgid_index >= dev->limits.gid_table_len) { sgid_index 535 drivers/infiniband/hw/mthca/mthca_qp.c grh->sgid_index, sgid_index 541 drivers/infiniband/hw/mthca/mthca_qp.c path->mgid_index = grh->sgid_index; sgid_index 358 drivers/infiniband/hw/ocrdma/ocrdma.h u16 sgid_index; sgid_index 124 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ah->sgid_index = ib_grh->sgid_index; sgid_index 243 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ah->sgid_index, sgid_index 2528 drivers/infiniband/hw/ocrdma/ocrdma_hw.c qp->sgid_idx = grh->sgid_index; sgid_index 2203 drivers/infiniband/hw/qedr/verbs.c qp->sgid_idx = grh->sgid_index; sgid_index 2209 drivers/infiniband/hw/qedr/verbs.c grh->sgid_index, rc); sgid_index 100 drivers/infiniband/hw/qib/qib_ruc.c guid = get_sguid(ibp, grh->sgid_index); sgid_index 139 drivers/infiniband/hw/qib/qib_ruc.c guid = get_sguid(ibp, grh->sgid_index); sgid_index 196 drivers/infiniband/hw/qib/qib_ruc.c if (!grh->sgid_index) sgid_index 198 drivers/infiniband/hw/qib/qib_ruc.c else if (grh->sgid_index < QIB_GUIDS_PER_PORT) sgid_index 199 drivers/infiniband/hw/qib/qib_ruc.c hdr->sgid.global.interface_id = ibp->guids[grh->sgid_index - 1]; sgid_index 260 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->sgid_index = src->sgid_index; sgid_index 270 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->sgid_index = src->sgid_index; sgid_index 534 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c ah->av.gid_index = grh->sgid_index; sgid_index 187 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h u8 sgid_index; sgid_index 82 drivers/infiniband/sw/rdmavt/ah.c rdma_ah_read_grh(ah_attr)->sgid_index >= port_attr.gid_tbl_len) sgid_index 51 drivers/infiniband/sw/rxe/rxe_av.c u8 sgid_index = rdma_ah_read_grh(attr)->sgid_index; sgid_index 53 drivers/infiniband/sw/rxe/rxe_av.c if (sgid_index > port->attr.gid_tbl_len) { sgid_index 54 drivers/infiniband/sw/rxe/rxe_av.c pr_warn("invalid sgid index = %d\n", sgid_index); sgid_index 70 drivers/infiniband/sw/rxe/rxe_av.c av->grh.sgid_index = grh->sgid_index; sgid_index 84 drivers/infiniband/sw/rxe/rxe_av.c grh->sgid_index = av->grh.sgid_index; sgid_index 468 drivers/infiniband/sw/rxe/rxe_net.c attr = rdma_get_gid_attr(&rxe->ib_dev, port_num, av->grh.sgid_index); sgid_index 742 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c conn->qp.sgid_index); sgid_index 887 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c err = mlx5_core_reserved_gid_alloc(fdev->mdev, &conn->qp.sgid_index); sgid_index 894 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c err = mlx5_core_roce_gid_set(fdev->mdev, conn->qp.sgid_index, sgid_index 904 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_dbg(fdev, "Reserved SGID index %u\n", conn->qp.sgid_index); sgid_index 963 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_core_roce_gid_set(fdev->mdev, conn->qp.sgid_index, 0, 0, NULL, sgid_index 966 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_core_reserved_gid_free(fdev->mdev, conn->qp.sgid_index); sgid_index 991 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_core_roce_gid_set(conn->fdev->mdev, conn->qp.sgid_index, 0, 0, sgid_index 993 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_core_reserved_gid_free(conn->fdev->mdev, conn->qp.sgid_index); sgid_index 65 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.h int sgid_index; sgid_index 33 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c u8 sgid_index; sgid_index 630 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c attr->sgid_index); sgid_index 667 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c rtr_attr.sgid_index = gid_index; sgid_index 747 include/rdma/ib_verbs.h u8 sgid_index; sgid_index 4498 include/rdma/ib_verbs.h u8 sgid_index, u8 hop_limit, sgid_index 4507 include/rdma/ib_verbs.h grh->sgid_index = sgid_index; sgid_index 506 include/uapi/rdma/ib_user_verbs.h __u8 sgid_index; sgid_index 661 include/uapi/rdma/ib_user_verbs.h __u8 sgid_index; sgid_index 53 include/uapi/rdma/rdma_user_rxe.h __u8 sgid_index; sgid_index 259 net/smc/smc_core.c &lnk->sgid_index); sgid_index 109 net/smc/smc_core.h u8 sgid_index; /* gid index for vlan id */ sgid_index 72 net/smc/smc_ib.c rdma_ah_set_grh(&qp_attr.ah_attr, NULL, 0, lnk->sgid_index, 1, 0); sgid_index 180 net/smc/smc_ib.c unsigned short vlan_id, u8 gid[], u8 *sgid_index) sgid_index 201 net/smc/smc_ib.c if (sgid_index) sgid_index 202 net/smc/smc_ib.c *sgid_index = attr->index; sgid_index 82 net/smc/smc_ib.h unsigned short vlan_id, u8 gid[], u8 *sgid_index);