[openib-general] [PATCH 7/10] Handling of various configurable parameters of the driver

Roland Dreier rdreier at cisco.com
Mon Oct 2 13:38:35 PDT 2006


 > +	sid = 0x10LL << 56 |
 > +	    0x00LL << 48 |
 > +	    0x06LL << 40 |
 > +	    0x6aLL << 32 |
 > +	    0x00LL << 24 |
 > +	    0x00LL << 16 |
 > +	    0x00LL << 8 | ((be64_to_cpu(params->ioc_guid) >> 32) & 0xFF);

What is this magic number code doing??  Wouldn't it be clearer just to
use the constant 0x1000066a00000000 rather than making it by hand?
What does that value mean?

 - R.




More information about the general mailing list