Home
last modified time | relevance | path

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

12

/Linux-v5.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.c2238 rdma_ah_set_dlid(&ah_attr, port_attr.sm_lid); in update_sm_ah()
2253 port_attr.sm_lid == be16_to_cpu(IB_LID_PERMISSIVE))) in update_sm_ah()
Dnldev.c329 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_SM_LID, attr.sm_lid)) in fill_port_info()
/Linux-v5.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
/Linux-v5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.h418 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()
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dvt.c166 props->sm_lid = rvp->sm_lid; in rvt_query_port()
/Linux-v5.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()
/Linux-v5.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
/Linux-v5.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()
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe.c91 port->attr.sm_lid = RXE_PORT_SM_LID; in rxe_init_port_param()
/Linux-v5.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()
Dverbs.c1604 ibp->rvp.sm_lid = 0; in init_ibport()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c708 rep->sm_lid = MLX5_GET_PR(hca_vport_context, ctx, sm_lid); in mlx5_query_hca_vport_context()
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dmad.c545 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
/Linux-v5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c353 props->sm_lid = 0; in usnic_ib_query_port()
/Linux-v5.10/include/uapi/rdma/
Dib_user_verbs.h292 __u16 sm_lid; member
/Linux-v5.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
/Linux-v5.10/include/linux/mlx5/
Ddriver.h804 u16 sm_lid; member

12