[openib-general] gen2_basic patch 5/10: select a valid port number

Robert Walsh rjwalsh at pathscale.com
Tue Sep 19 22:42:23 PDT 2006


> Its easy to get linux running on a switch, so why not? You just
> need to write a low level driver that cn send/receve MADs.
> We did run a gen1 port on a switch at some point, and someone might want to
> do it again.

OK - that's a fine project idea, but I'm not about to start coding it up 
any time soon :-)

In any case, if we're going to insist that this test run on a 
hypothetical switch gen2 distribution, then the "choose a random port" 
code needs to check if it's running on a CA or router versus a switch 
and choose the port range appropriately.

Regards,
  Robert.




More information about the general mailing list