[openib-general] [PATCH][iWARP] IW CM Verbs

James Lentini jlentini at netapp.com
Mon Aug 29 06:41:47 PDT 2005



On Fri, 26 Aug 2005, Tom Tucker wrote:

> Index: ib_verbs.h
> ===================================================================
> --- ib_verbs.h	(revision 3120)
> +++ ib_verbs.h	(working copy)
> @@ -804,6 +806,7 @@
>  	struct ib_gid_cache   **gid_cache;
>  };
>  
> +struct iw_cm;
>  struct ib_device {
>  	struct device                *dma_device;
>  
> @@ -820,6 +823,8 @@
>  
>  	u32                           flags;
>  
> +	struct iw_cm                  *iwcm;
> +
>  	int		           (*query_device)(struct ib_device *device,
>  						   struct ib_device_attr *device_attr);
>  	int		           (*query_port)(struct ib_device *device,

Why does the ib_device need a cm structure for iWARP but not IB? If 
you used either Guy or Roland's generic RDMA connection API and did 
the iWARP implementation, would you still need to add the iw_cm 
structure?



More information about the general mailing list