[openib-general] Usermode cm_id definition

Tom Tucker tom at opengridcomputing.com
Fri Oct 13 11:39:52 PDT 2006


Sean strikes again. That seems perfect.


On 10/13/06 12:29 PM, "Steve Wise" <swise at opengridcomputing.com> wrote:

> 
> That seems good.
> 
> 
> 
> On Fri, 2006-10-13 at 09:29 -0700, Sean Hefty wrote:
>> Tom Tucker wrote:
>>> The only "correct" way would be to declare a sockaddr structure * to a
>>> struct socket_storage allocated buffer and waste 4 bytes in the rdma_cm_id
>>> structure.
>>> 
>>> Anyway, it's buggin' me...Maybe I'm being anal...
>>> 
>>> Thoughts?
>> 
>> We could change the definition to something similar in the kernel:
>> 
>> struct sockaddr src_addr;
>> u8  src_pad[sizeof(struct sockaddr_storage) -
>> sizeof(struct sockaddr)];
>> 
>> I'm guessing this sort of change wouldn't require any changes to any of the
>> clients.
>> 
>> - Sean
>> 
>> _______________________________________________
>> openib-general mailing list
>> openib-general at openib.org
>> http://openib.org/mailman/listinfo/openib-general
>> 
>> To unsubscribe, please visit
>> http://openib.org/mailman/listinfo/openib-general
>> 
> 






More information about the general mailing list