[openib-general] [PATCH] osm: PathRecord prefer 1K MTU for MT23108 devices

Hal Rosenstock halr at voltaire.com
Fri Sep 15 16:26:00 PDT 2006


Hi Eitan,

On Fri, 2006-09-15 at 07:45, Eitan Zahavi wrote:
> Hi Hal
> 
> The following patch solves an issue with OpenSM preferring largest MTU 
> for PathRecord/MultiPathRecord for paths going to or from MT23108 (Tavor)
> devices instead of using a 1K MTU which is best for this device.
> 
> Since this is a device specific quirk I have added a configuration option
> named enable_quirks which is FALSE by default to enable this functionality.
> 
> To summarize the functionality change:
> 1. Added enable_quirks option 
> 2. If enable_quirks is FALSE do nothing
> 3. If a specific MTU is requested (either =2K or >1K) do nothing
> 4. If either source port or destination port is a Tavor device  
> 	MTU is limited to 1K (can be further reduced by path traversal) 
> 
> Target is both trunk and OFED 1.1

Thanks. Applied to both trunk and 1.1 with the MPR compmask change that
Sasha saw and some other cosmetic changes. Please retest to be sure.

-- Hal

> Thanks
> 
> Eitan
> 
> Signed-off-by:  Eitan Zahavi <eitan at mellanox.co.il>






More information about the general mailing list