linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ira Weiny <ira.weiny@intel.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: oulijun <oulijun@huawei.com>, linux-rdma <linux-rdma@vger.kernel.org>
Subject: Re: 【infiniband_diags tool question】
Date: Mon, 18 Nov 2019 11:01:56 -0800	[thread overview]
Message-ID: <20191118190155.GA22418@iweiny-DESK2.sc.intel.com> (raw)
In-Reply-To: <20191118172144.GD2149@ziepe.ca>

On Mon, Nov 18, 2019 at 01:21:44PM -0400, Jason Gunthorpe wrote:
> On Sat, Nov 16, 2019 at 10:20:19AM +0800, oulijun wrote:
> > Hi, Jason Gunthorpe
> >     I have noticed that you have integrated infiniband_diags in the new rdma-core repo.
> > I want to try to using it in RoCE. it is fail. the print as flows:
> > roo
> > root@(none)# ./ibaddr -g 0
> >  ibwarn: [1054] mad_rpc_open_port: client_register for mgmt 1 failed
> >   Failed to open (null) port 0
> > 
> > I found through process analysis that it needs ca to support IB_QPT_SMI.
> > I understand that if hca does not support SMI, then we will not be able to use infiniband_diags tool?
> 
> I didn't think diags were really relevant for roce? The only thing
> that should work is perfquery

This is correct.   infiniband-diags are not really relevant to RoCE or OPA.
While some tools will work.  They are not specifically designed for nor
intended to support anything other than InfiniBand.

Ira

      reply	other threads:[~2019-11-18 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-16  2:20 【infiniband_diags tool question】 oulijun
2019-11-18 17:21 ` Jason Gunthorpe
2019-11-18 19:01   ` Ira Weiny [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191118190155.GA22418@iweiny-DESK2.sc.intel.com \
    --to=ira.weiny@intel.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=oulijun@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).