[ofa-general] Re: [PATCH] ib/core: Add creation flags to create QP

Eli Cohen eli at dev.mellanox.co.il
Tue Jan 15 23:45:29 PST 2008


On Wed, 2008-01-16 at 08:55 +0200, Jack Morgenstein wrote:
> On Tuesday 15 January 2008 18:55, Eli Cohen wrote:
> > On a second thought, we could add - in addition to the creation flags -
> > a special qp type, IB_QPT_UD_IPOIB for example, where each low level
> > driver could add special enhancements for the sake of achieving higher
> > performance. What do you thinks?
> > 
> You would get the same effect by just adding a create flag bit:
> 	IPOIB_QP

Yes I guess you're right. Adding a new QP type was how I did it from the
first place but a creation flag will do as well.

> 
> This way, we do not need to add a new QP type every time we have need
> to know who the QP creator is, or if there is a sub-type.
> 
> - Jack




More information about the general mailing list