Home
last modified time | relevance | path

Searched refs:smlid (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_mad.c663 u16 lid, smlid; in subn_set_portinfo() local
708 smlid = be16_to_cpu(pip->sm_lid); in subn_set_portinfo()
711 if (smlid == 0 || smlid >= be16_to_cpu(IB_MULTICAST_LID_BASE)) 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()
718 smlid); 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()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dmad.c1320 u32 smlid; in __subn_set_opa_portinfo() local
1346 smlid = be32_to_cpu(pi->sm_lid); in __subn_set_opa_portinfo()
1347 if (smlid & 0xFF000000) { in __subn_set_opa_portinfo()
1348 pr_warn("OPA_PortInfo SM lid out of range: %X\n", smlid); in __subn_set_opa_portinfo()
1407 if ((smlid == 0 && ls_old > IB_PORT_INIT) || in __subn_set_opa_portinfo()
1408 (hfi1_is_16B_mcast(smlid))) { in __subn_set_opa_portinfo()
1410 pr_warn("SubnSet(OPA_PortInfo) smlid invalid 0x%x\n", smlid); in __subn_set_opa_portinfo()
1411 } else if (smlid != ibp->rvp.sm_lid || msl != ibp->rvp.sm_sl) { in __subn_set_opa_portinfo()
1412 pr_warn("SubnSet(OPA_PortInfo) smlid 0x%x\n", smlid); in __subn_set_opa_portinfo()
1415 if (smlid != ibp->rvp.sm_lid) in __subn_set_opa_portinfo()
[all …]