[openib-general] Usermode cm_id definition

Steve Wise swise at opengridcomputing.com
Fri Oct 13 10:29:29 PDT 2006


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