[openib-general] Re: [PATCH][UVERBS][RFC] Node Type in Userland

Sean Hefty mshefty at ichips.intel.com
Mon Apr 24 11:09:18 PDT 2006


Tom Tucker wrote:
> Index: librdmacm/include/rdma/rdma_cma.h
> ===================================================================
> --- librdmacm/include/rdma/rdma_cma.h	(revision 6570)
> +++ librdmacm/include/rdma/rdma_cma.h	(working copy)
> @@ -79,6 +79,7 @@
>  	void			*context;
>  	struct ibv_qp		*qp;
>  	struct rdma_route	 route;
> +	enum ibv_node_type       node_type;
>  	uint8_t			 port_num;
>  };

Rather than storing node_type with the userspace rdma_cm, would it make more 
sense to store it in ibv_context?

- Sean



More information about the general mailing list