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

12

/linux-master/drivers/infiniband/core/
H A Duverbs_std_types_device.c158 resp->sm_lid = OPA_TO_IB_UCAST_LID(attr->sm_lid);
161 resp->sm_lid = ib_lid_cpu16(attr->sm_lid);
H A Dsysfs.c275 return sysfs_emit(buf, "0x%x\n", attr.sm_lid);
421 static IB_PORT_ATTR_RO(sm_lid);
H A Dsa_query.c2069 rdma_ah_set_dlid(&ah_attr, port_attr.sm_lid);
2077 * The OPA sm_lid of 0xFFFF needs special handling so that it can be
2084 port_attr.sm_lid == be16_to_cpu(IB_LID_PERMISSIVE)))
/linux-master/include/rdma/
H A Dib_smi.h63 __be16 sm_lid; member in struct:ib_port_info
H A Dopa_port_info.h335 __be32 sm_lid; member in struct:opa_port_info
H A Drdma_vt.h53 u32 sm_lid; member in struct:rvt_ibport
/linux-master/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h401 * @sm_lid: cached value of the port's sm_lid.
420 u32 sm_lid; member in struct:srpt_port
H A Dib_srpt.c156 sport->sm_lid = 0;
173 if (!sport->lid && !sport->sm_lid)
550 * Enable InfiniBand management datagram processing, update the cached sm_lid,
568 sport->sm_lid = port_attr.sm_lid;
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dvt.c128 props->sm_lid = rvp->sm_lid;
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe.c93 port->attr.sm_lid = RXE_PORT_SM_LID;
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_mad.c105 if (ibp->rvp.sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) {
108 ah = qib_create_qp0_ah(ibp, (u16)ibp->rvp.sm_lid);
499 pip->sm_lid = cpu_to_be16((u16)ibp->rvp.sm_lid);
708 smlid = be16_to_cpu(pip->sm_lid);
713 else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) {
716 if (smlid != ibp->rvp.sm_lid)
723 if (smlid != ibp->rvp.sm_lid)
724 ibp->rvp.sm_lid = smlid;
H A Dqib_verbs.c1396 ibp->rvp.sm_lid = be16_to_cpu(IB_LID_PERMISSIVE);
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c164 props->sm_lid = resp->attrs.sm_lid;
H A Dpvrdma_verbs.h137 u16 sm_lid; member in struct:pvrdma_port_attr
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c124 be16_to_cpu(pinfo->sm_lid),
H A Dmthca_provider.c146 props->sm_lid = be16_to_cpup((__be16 *) (out_mad->data + 18));
/linux-master/drivers/infiniband/hw/hfi1/
H A Dmad.c333 if (ibp->rvp.sm_lid != be16_to_cpu(IB_LID_PERMISSIVE)) {
336 ah = hfi1_create_qp0_ah(ibp, ibp->rvp.sm_lid);
797 pi->sm_lid = cpu_to_be32(ibp->rvp.sm_lid);
1346 smlid = be32_to_cpu(pi->sm_lid);
1411 } else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) {
1415 if (smlid != ibp->rvp.sm_lid)
1421 if (smlid != ibp->rvp.sm_lid)
1422 ibp->rvp.sm_lid = smlid;
H A Dverbs.c1559 ibp->rvp.sm_lid = 0;
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c356 props->sm_lid = 0;
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmad.c573 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18));
H A Dmain.c1357 props->sm_lid = rep->sm_lid;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c731 rep->sm_lid = MLX5_GET_PR(hca_vport_context, ctx, sm_lid);
/linux-master/include/uapi/rdma/
H A Dib_user_verbs.h304 __u16 sm_lid; member in struct:ib_uverbs_query_port_resp
/linux-master/include/linux/mlx5/
H A Ddriver.h905 u16 sm_lid; member in struct:mlx5_hca_vport_context
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmad.c242 be16_to_cpu(pinfo->sm_lid),

Completed in 1005 milliseconds

12