>SMI has nothing to do with those SM attributes.<br><br>Yes you are right. SMI has nothing to do with them right now. But if some other hardware vendor wants to implement the SMA in the host software (like ipath) in future he again needs to implement those structures (nodeinfo and port_info, attributes of SM ) in his driver. <br>we can avoid this situation (duplicate declarations of same structre) by declaring the above mentioned structures in the core layer. <br><br>>What structures (in what file(s)) are you referring to ?<br><br>Here I am referring to the structures for some SM attributes like nodeinfo and port_info which are currently declared in ipath driver. <br><br>Some fields in those structures have big endian (__bexx) alignment and others<br> have CPU  (uxx) alignment.<br><br>e.g: in struct port_info  declared in <span style="font-weight: bold;">ipath driver (ipath_mad.c)</span>, the mkey is declared as <span style="font-weight:
 bold;">__be64</span> <span style="font-weight: bold;">mkey</span> whereas  the local port number is declared as <br><span style="font-weight: bold;">u8 local_port_num</span>.<br><br>-Mahesh<p>


        
                <hr size=1></hr> 
Here’s a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a>