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

Yevgeny Kliteynik kliteyn at mellanox.co.il
Thu Dec 27 05:07:38 PST 2007


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.
Basically, it all boils down to the question where would you drop
the packet with a wrong pkey.
With only outbound enforcement the packet is dropped by the
*last* port before target. With inbound the packet is dropped
by the *first* port - the one that is connected to the source HCA.

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.

-- 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
>



More information about the general mailing list