Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c275 return sysfs_emit(buf, "0x%x\n", attr.sm_lid); in sm_lid_show()
417 static IB_PORT_ATTR_RO(sm_lid);
Dsa_query.c2130 rdma_ah_set_dlid(&ah_attr, port_attr.sm_lid); in update_sm_ah()
2145 port_attr.sm_lid == be16_to_cpu(IB_LID_PERMISSIVE))) in update_sm_ah()
/linux-6.1.9/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-6.1.9/drivers/infiniband/sw/rdmavt/
Dvt.c128 props->sm_lid = rvp->sm_lid; in rvt_query_port()
/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c164 props->sm_lid = resp->attrs.sm_lid; in pvrdma_query_port()
Dpvrdma_verbs.h137 u16 sm_lid; member
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe.c91 port->attr.sm_lid = RXE_PORT_SM_LID; in rxe_init_port_param()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_mad.c124 be16_to_cpu(pinfo->sm_lid), in smp_snoop()
Dmthca_provider.c146 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); in mthca_query_port()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dmad.c333 if (ibp->rvp.sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) { in send_trap()
336 ah = hfi1_create_qp0_ah(ibp, ibp->rvp.sm_lid); in send_trap()
797 pi->sm_lid = cpu_to_be32(ibp->rvp.sm_lid); in __subn_get_opa_portinfo()
1346 smlid = be32_to_cpu(pi->sm_lid); in __subn_set_opa_portinfo()
1411 } else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) { in __subn_set_opa_portinfo()
1415 if (smlid != ibp->rvp.sm_lid) in __subn_set_opa_portinfo()
1421 if (smlid != ibp->rvp.sm_lid) in __subn_set_opa_portinfo()
1422 ibp->rvp.sm_lid = smlid; in __subn_set_opa_portinfo()
Dverbs.c1559 ibp->rvp.sm_lid = 0; in init_ibport()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c709 rep->sm_lid = MLX5_GET_PR(hca_vport_context, ctx, sm_lid); in mlx5_query_hca_vport_context()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmad.c572 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
Dmain.c1310 props->sm_lid = rep->sm_lid; in mlx5_query_hca_port()
/linux-6.1.9/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c356 props->sm_lid = 0; in usnic_ib_query_port()
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h292 __u16 sm_lid; member
/linux-6.1.9/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-6.1.9/include/linux/mlx5/
Ddriver.h884 u16 sm_lid; member

12