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

Hal Rosenstock hrosenstock at xsigo.com
Thu Dec 27 07:04:59 PST 2007


On Thu, 2007-12-27 at 15:07 +0200, Yevgeny Kliteynik wrote:
> Yevgeny Kliteynik wrote:
> > Sasha Khapyorsky wrote:
> >> On 14:29 Tue 25 Dec     , 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.
> >>
> >> Nice catch!
> >>
> >> Interesting how "inbound enforcement" switch service could be useful at
> >> all?
> It appears that the inbound enforcement is actually a useful thing.

Indeed :-)

> Basically, it all boils down to the question where would you drop
> the packet with a wrong pkey.

Exactly.

> With only outbound enforcement the packet is dropped by the
> *last* port before target.

(and it would be dropped at the endport anyhow).

>  With inbound the packet is dropped
> by the *first* port - the one that is connected to the source HCA.

Way more useful as this saves the network bandwidth.

> Anyway, I'm reviewing the spec again in this area, and I'll probably
> post a patch that turns on the inbound enforcement too later today.

Good to hear.

-- Hal

> -- Yevgeny
> 
> 
> > Beats me...
> >
> > -- Yevgeny
> >
> >>> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
> >>
> >> Applied. Thanks.
> >>
> >> 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
> >
> _______________________________________________
> 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