[ewg] [PATCH 2/8 v3] ib_core: RDMAoE support only QP1
Eli Cohen
eli at dev.mellanox.co.il
Tue Jul 14 00:46:45 PDT 2009
On Mon, Jul 13, 2009 at 03:26:34PM -0400, Hal Rosenstock wrote:
> On Mon, Jul 13, 2009 at 2:14 PM, Eli Cohen<eli at mellanox.co.il> wrote:
> > Since RDMAoE is using Ethernet as its link layer, there is no need for QP0. QP1
> > is still needed since it handles communications between CM agents. This patch
> > will create only QP1 for RDMAoE ports.
>
> What happens with other QP1 traffic (other than CM and SA) ?
I think it should work but I haven't tried that.
> Userspace
> can access QP1 (and QP0).
QP0 is not accessible since ib_register_mad_agent() will fail for QP0
becuase of this:
if (!port_priv->qp_info[qp_type].qp)
return NULL;
QP1 should work in the same way
> Does QP0 error out ? What about QP1 ? Does
> it just timeout ? If so, a direct error would be better.
>
See above - you can't access QP0. Do you know of a utility from
userspace which sends/receives MADs on QP0 or QP1?
More information about the ewg
mailing list