RE: [PATCH RFC] IB/mad: remove obsolete snoop interface

From: Weiny, Ira
Date: Wed Sep 30 2015 - 12:32:33 EST


>
> On 9/30/2015 2:01 AM, ira.weiny@xxxxxxxxx wrote:
> > From: Ira Weiny <ira.weiny@xxxxxxxxx>
> >
> > This interface has no current users and is obsolete.
>
> There are no in tree users of this but there is Sean's madeye tool (which is out
> of tree). This is still a useful debug tool for MADs.

Where is that? I did not think it was supported any longer?

I have a series of about 5 patches which implement tracing in the MAD stack which I was working through and was going to submit along with this patch (those are still being tested in my spare time). I just wanted put this out here because of the patch Nicholas posted yesterday.

>
> > Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>
> > ---
> >
> > This has undergone a medium level of testing. I have run it against
> > mlx4, qib, and OPA hardware and it does not seem to cause any regressions.
> >
> > drivers/infiniband/core/mad.c | 226 +------------------------------------
> > drivers/infiniband/core/mad_priv.h | 13 ---
> > 2 files changed, 5 insertions(+), 234 deletions(-)
>
> There are also snoop changes needed in include/rdma/ib_mad.h.

I'll look into it if there are no other objections to removing the snoop interface.

>
> Is it correct to assume that OPA_CAP_MASK3_IsSnoopSupported in
> opa_port_info.h is not related to this ?

Nope, not related.

Ira

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/