[openib-general] Re: [PATCH] iWARP Include File Changes

Tom Tucker tom at opengridcomputing.com
Thu Jan 19 11:44:45 PST 2006


Hal:

Sounds like we need another bit.... That's what they are there for. I
don't know that this one would be exposed past the core though...


On Thu, 2006-01-19 at 14:08 -0500, Hal Rosenstock wrote:
> On Thu, 2006-01-19 at 14:02, Tom Tucker wrote:
> > Sean:
> > 
> > I don't think mtcha needs to set these unless it supports FMR or SRQ.
> > When the device does, it should set them. The bits aren't currently
> > usedby any of the core code or ULP. However...
> > 
> > This change is intended to allow an application (and the core for that
> > matter) to determine if a device has an optional capability. This will
> > be important going forward when attempting to optimize a ULP and making
> > sure that optional features are not relied upon (e.g. SRQ), but are
> > available if they can be used to good effect. 
> > 
> > I think the mtcha device would set FMR, and ultimately SRQ when that is
> > ready. 
> 
> Might there be 2 different FMR capabilities ? I may be wrong but I think
> the one mthca offers now is a pre (IBA 1.2) standard mode (and perhaps
> API).
> 
> -- Hal
> 
> > 
> > On Wed, 2006-01-18 at 16:38 -0800, Sean Hefty wrote:
> > > Tom Tucker wrote:
> > > >  enum ib_device_cap_flags {
> > > > @@ -86,6 +87,14 @@
> > > >  	IB_DEVICE_RC_RNR_NAK_GEN	= (1<<12),
> > > >  	IB_DEVICE_SRQ_RESIZE		= (1<<13),
> > > >  	IB_DEVICE_N_NOTIFY_CQ		= (1<<14),
> > > > +	IB_DEVICE_IN_ORD_PLCMNT         = (1<<15),
> > > > +	IB_DEVICE_ZERO_STAG             = (1<<16),
> > > > +	IB_DEVICE_SEND_W_INV            = (1<<17),
> > > > +	IB_DEVICE_MW                    = (1<<18),
> > > > +	IB_DEVICE_FMR                   = (1<<19),
> > > > +	IB_DEVICE_SRQ                   = (1<<20),
> > > > +	IB_DEVICE_ARP                   = (1<<21),
> > > > +	IB_DEVICE_LLP                   = (1<<22),
> > > >  };
> > > 
> > > Does this change imply that devices need to set these capabilities?  I.e. should 
> > > mthca and the other drivers be updated to set the device capabilities correctly?
> > > 
> > > - 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