[ofa-general] [PATCH] opensm/osm_pkey_mgr.c: setting only outbound partition enforcement on switch

Hal Rosenstock hrosenstock at xsigo.com
Thu Dec 27 08:37:37 PST 2007


On Thu, 2007-12-27 at 16:40 +0000, Sasha Khapyorsky wrote:
> On 08:20 Thu 27 Dec     , Hal Rosenstock wrote:
> > On Thu, 2007-12-27 at 16:13 +0000, Sasha Khapyorsky wrote:
> > > Hi Hal,
> > > 
> > > On 07:00 Thu 27 Dec     , Hal Rosenstock wrote:
> > > > On Tue, 2007-12-25 at 14:29 +0200, Yevgeny Kliteynik wrote:
> > > > > Fixing wrong setting of partition enforcement bits on switch ports.
> > > > > When an HCA port is configured with a certain pkey, the peer port
> > > > > on the switch should turn on outbound partition enforcement bit only.
> > > > > Turning on the inbound enforcement will cause the switch to drop
> > > > > valid packets if the HCA is partial member.
> > > > 
> > > > Inbound enforcement is actually the more useful case. If there is
> > > > inbound enforcement, outbound enforcement doesn't add much.
> > > > 
> > > > In the case of partial only (not both partial and full) membership, the
> > > > peer switch physical port would need to be set to full membership.
> > > 
> > > Then it could break outbound enforcement. Isn't it?
> > 
> > What I wrote was wrong. Limited pkey is sufficient. See o18-14
> 
> Do you mean last paragraph of o18-14?

Last bullet (for limited). Switch (external/physical) port enforcement
is different than end port enforcement.

-- Hal

>  Assuming so - it makes sense. So
> we need just revert the original patch.
> 
> Sasha
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



More information about the general mailing list