/Linux-v5.10/drivers/infiniband/core/ |
D | uverbs_std_types_device.c | 158 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()
|
D | sysfs.c | 210 return sprintf(buf, "0x%x\n", attr.sm_lid); in sm_lid_show() 341 static PORT_ATTR_RO(sm_lid);
|
D | sa_query.c | 2238 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()
|
D | nldev.c | 329 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_SM_LID, attr.sm_lid)) in fill_port_info()
|
/Linux-v5.10/include/rdma/ |
D | ib_smi.h | 63 __be16 sm_lid; member
|
D | opa_port_info.h | 335 __be32 sm_lid; member
|
D | rdma_vt.h | 53 u32 sm_lid; member
|
/Linux-v5.10/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.h | 418 u32 sm_lid; member
|
D | ib_srpt.c | 152 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/ |
D | vt.c | 166 props->sm_lid = rvp->sm_lid; in rvt_query_port()
|
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 105 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()
|
D | qib_verbs.c | 1396 ibp->rvp.sm_lid = be16_to_cpu(IB_LID_PERMISSIVE); in init_ibport()
|
/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 164 props->sm_lid = resp->attrs.sm_lid; in pvrdma_query_port()
|
D | pvrdma_verbs.h | 172 u16 sm_lid; member
|
/Linux-v5.10/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 124 be16_to_cpu(pinfo->sm_lid), in smp_snoop()
|
D | mthca_provider.c | 154 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18)); in mthca_query_port()
|
/Linux-v5.10/drivers/infiniband/sw/rxe/ |
D | rxe.c | 91 port->attr.sm_lid = RXE_PORT_SM_LID; in rxe_init_port_param()
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | mad.c | 375 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()
|
D | verbs.c | 1604 ibp->rvp.sm_lid = 0; in init_ibport()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 708 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/ |
D | mad.c | 545 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
|
/Linux-v5.10/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 353 props->sm_lid = 0; in usnic_ib_query_port()
|
/Linux-v5.10/include/uapi/rdma/ |
D | ib_user_verbs.h | 292 __u16 sm_lid; member
|
/Linux-v5.10/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 43 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/ |
D | driver.h | 804 u16 sm_lid; member
|