Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.h65 int sgid_index; member
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()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c70 rdma_ah_set_grh(&qp_attr.ah_attr, NULL, 0, lnk->sgid_index, 1, 0); in smc_ib_modify_qp_rtr()
187 unsigned short vlan_id, u8 gid[], u8 *sgid_index) in smc_ib_determine_gid() argument
208 if (sgid_index) in smc_ib_determine_gid()
209 *sgid_index = attr->index; in smc_ib_determine_gid()
Dsmc_ib.h89 unsigned short vlan_id, u8 gid[], u8 *sgid_index);
Dsmc_core.h114 u8 sgid_index; /* gid index for vlan id */ member
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_marshall.c87 dst->grh.sgid_index = grh->sgid_index; in ib_copy_ah_attr_to_user()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dah.c82 rdma_ah_read_grh(ah_attr)->sgid_index >= port_attr.gid_tbl_len) in rvt_check_ah()
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_rxe.h58 __u8 sgid_index; member
Dib_user_verbs.h517 __u8 sgid_index; member
672 __u8 sgid_index; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_rxe.h39 __u8 sgid_index; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_ah.c65 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_user_rxe.h22 __u8 sgid_index; member
Dib_user_verbs.h387 __u8 sgid_index; member
517 __u8 sgid_index; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dah.c65 grh->sgid_index << 20); in create_ib_ah()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.h95 u8 sgid_index; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_av.c213 grh->sgid_index; in mthca_create_ah()

12