Home
last modified time | relevance | path

Searched refs:sm_lid (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_device.c158 resp->sm_lid = OPA_TO_IB_UCAST_LID(attr->sm_lid); in copy_port_attr_to_resp()
161 resp->sm_lid = ib_lid_cpu16(attr->sm_lid); in copy_port_attr_to_resp()
Dsysfs.c210 return sprintf(buf, "0x%x\n", attr.sm_lid); in sm_lid_show()
341 static PORT_ATTR_RO(sm_lid);
Dsa_query.c2239 rdma_ah_set_dlid(&ah_attr, port_attr.sm_lid); in update_sm_ah()
2254 port_attr.sm_lid == be16_to_cpu(IB_LID_PERMISSIVE))) in update_sm_ah()
/kernel/linux/linux-5.10/include/rdma/
Dib_smi.h63 __be16 sm_lid; member
Dopa_port_info.h335 __be32 sm_lid; member
Drdma_vt.h53 u32 sm_lid; member
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.h420 u32 sm_lid; member
Dib_srpt.c152 sport->sm_lid = 0; in srpt_event_handler()
169 if (!sport->lid && !sport->sm_lid) in srpt_event_handler()
561 sport->sm_lid = port_attr.sm_lid; in srpt_refresh_port()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dvt.c166 props->sm_lid = rvp->sm_lid; in rvt_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_mad.c105 if (ibp->rvp.sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) { in qib_send_trap()
108 ah = qib_create_qp0_ah(ibp, (u16)ibp->rvp.sm_lid); in qib_send_trap()
499 pip->sm_lid = cpu_to_be16((u16)ibp->rvp.sm_lid); in subn_get_portinfo()
708 smlid = be16_to_cpu(pip->sm_lid); in subn_set_portinfo()
713 else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) { in subn_set_portinfo()
716 if (smlid != ibp->rvp.sm_lid) in subn_set_portinfo()
723 if (smlid != ibp->rvp.sm_lid) in subn_set_portinfo()
724 ibp->rvp.sm_lid = smlid; in subn_set_portinfo()
Dqib_verbs.c1396 ibp->rvp.sm_lid = be16_to_cpu(IB_LID_PERMISSIVE); in init_ibport()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c164 props->sm_lid = resp->attrs.sm_lid; in pvrdma_query_port()
Dpvrdma_verbs.h172 u16 sm_lid; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c124 be16_to_cpu(pinfo->sm_lid), in smp_snoop()
Dmthca_provider.c154 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); in mthca_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe.c91 port->attr.sm_lid = RXE_PORT_SM_LID; in rxe_init_port_param()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c375 if (ibp->rvp.sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) { in send_trap()
378 ah = hfi1_create_qp0_ah(ibp, ibp->rvp.sm_lid); in send_trap()
839 pi->sm_lid = cpu_to_be32(ibp->rvp.sm_lid); in __subn_get_opa_portinfo()
1388 smlid = be32_to_cpu(pi->sm_lid); in __subn_set_opa_portinfo()
1453 } else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) { in __subn_set_opa_portinfo()
1457 if (smlid != ibp->rvp.sm_lid) in __subn_set_opa_portinfo()
1463 if (smlid != ibp->rvp.sm_lid) in __subn_set_opa_portinfo()
1464 ibp->rvp.sm_lid = smlid; in __subn_set_opa_portinfo()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c706 rep->sm_lid = MLX5_GET_PR(hca_vport_context, ctx, sm_lid); in mlx5_query_hca_vport_context()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c551 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c356 props->sm_lid = 0; in usnic_ib_query_port()
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h292 __u16 sm_lid; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h221 __u16 sm_lid; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h211 __u16 sm_lid; member
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-infiniband43 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_lid
62 sm_lid: (RO) Subnet manager LID for port's subnet
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h804 u16 sm_lid; member

12