[Fwd: Re: [openib-general] ib_verbs.h ib_device_attr device type]

Sean Hefty mshefty at ichips.intel.com
Wed Sep 1 09:05:03 PDT 2004


On Wed, 01 Sep 2004 12:48:01 -0400
Hal Rosenstock <halr at voltaire.com> wrote:

> On Wed, 2004-09-01 at 11:35, Sean Hefty wrote:
> > How about using a type field that matches up with 
> > NodeInfo::NodeType values?
> 
> Sounds good to me. That is the information we are representing.
> 
> Is ib_device.flags used for anything else ? If not, should it be
> eliminated ?

I checked Roland's stack, and he's using this field to determine if a device is a switch, among a couple of other things.

I was thinking of adding this field to ib_device_attr, but this means that you'd need access to the attributes if you needed to check for these fields, which his stack does.



More information about the general mailing list