[ewg] [PATCH 3/9] ib_core: RDMAoE support only QP1

Eli Cohen eli at dev.mellanox.co.il
Wed Jun 17 04:57:51 PDT 2009


On Wed, Jun 17, 2009 at 07:14:56AM -0400, Hal Rosenstock wrote:
> On Wed, Jun 17, 2009 at 7:10 AM, Eli Cohen<eli at dev.mellanox.co.il> wrote:
> > On Mon, Jun 15, 2009 at 02:26:42PM -0400, Hal Rosenstock wrote:
> >> Should ib_post_send_mad return some error on QP0 sends on RDMAoE ports ?
> > You can't send anything over QP0 because it is not created and so
> > there are no data structs corresponding to it.
> 
> Yes, I understand that's the intention but I didn't see where a MAD
> posted to QP0 returns an error. Does that occur ? Or is it just
> silently dropped ?
But you don't have a "struct ib_qp *" for QP0 that you could use to
post MADs to QP0...


> 
> >> What QP1 sends are allowed ?
> > Basically, all QP1 sends are allowed without any changes - QP1
> > functions as normal.
> > However, RDMAoE will initially support only the CM. In the future, we
> > can support additional QP1 services.
> 
> So what happens with other QP1 sends now ? Do they go into hyperspace
> and then timeout ?
SA joins and SA path queries are terminated at the driver. Otherwise,
post sends on QP1 should be sent on the wire.

> 
> There are a set of tools (infiniband-diags and ibutils) which do send
> MADs from userspace. I'm concerned that if someone tries these, the
> right thing will happen.
> 
What exactly do you mean?



More information about the ewg mailing list