[openib-general] [RFC] [PATCH 1/1] ib_sa: add InformInfo registration for Notice reports

Hal Rosenstock halr at voltaire.com
Fri Jan 12 11:40:02 PST 2007


On Fri, 2007-01-12 at 14:32, Sean Hefty wrote:
> >>+static int send_unreg(struct inform_group *group)
> >>+{
> >>+	struct inform_port *port = group->port;
> >>+	struct ib_sa_inform inform;
> >>+	int ret;
> >>+
> >>+	memset(&inform, 0, sizeof inform);
> >>+	inform.lid_range_begin = cpu_to_be16(0xFFFF);
> >>+	inform.is_generic = 1;
> >>+	inform.type = cpu_to_be16(IB_SA_EVENT_TYPE_ALL);
> >>+	inform.trap.generic.trap_num = cpu_to_be16(group->trap_number);
> >>+	inform.trap.generic.qpn = IB_QP1;
> > 
> > 
> > Is the QPN constrained to be QP1 here ?
> 
> Currently, yes.
> 
> Will reports ever be sent to a different QPN?

I think this depends on what QPN the subscription request came from. In
the current OpenIB case (in the kernel), this is currently QP1.

-- Hal

> - Sean





More information about the general mailing list