public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: dumping queue state
Date: Thu, 21 Dec 2017 07:15:10 +0200	[thread overview]
Message-ID: <20171221051510.GE2942@mtr-leonro.local> (raw)
In-Reply-To: <029d01d379db$7f2c3a40$7d84aec0$@opengridcomputing.com>

[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]

On Wed, Dec 20, 2017 at 03:42:56PM -0600, Steve Wise wrote:
> > > > Check filters options too, to filters by numbers and display columns.
> > >
> > > [root@stevo1 ~]# /root/stevo/iproute2/rdma/rdma res show qp link
> > cxgb4_0/-
> > > display lqpn,type,state,pid lqpn 1000-1030
> > > DEV/PORT  LQPN       TYPE  STATE  PID
> > > cxgb4_0/- 1027       RC    RTS    0
> > > [root@stevo1 ~]# /root/stevo/iproute2/rdma/rdma res show qp link
> > cxgb4_0/-
> > > display lqpn,type,state,pid lqpn 1000-1033
> > > DEV/PORT  LQPN       TYPE  STATE  PID
> > > cxgb4_0/- 1027       RC    RTS    0
> > > cxgb4_0/- 1033       RC    RTS    0
> > > [root@stevo1 ~]#
> > >
> > > Working!
> >
> > Thanks,
> > It supports various combinations with "," and "-", like
> > 990,1000-1030,1031-1032,1033
>
> While the rdma tool easily allows poking around various resources, it would
> be sort of painful to do a full state dump.  Perhaps a fastpath command like
> 'rdma dumpall' to just dump everything in detail?

It can be an option after we add more objects, right now, I added only
QP and this one object is "full state" for now. To dump all QPs in detailed
format simply run "rdma res show qp -d" and add "-j" to output it in JSON format.

Thanks

>
>
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-12-21  5:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20 15:53 dumping queue state Steve Wise
2017-12-20 16:14 ` Bart Van Assche
     [not found]   ` <1513786487.2603.4.camel-Sjgp3cTcYWE@public.gmane.org>
2017-12-20 16:59     ` Steve Wise
2017-12-20 16:36 ` Leon Romanovsky
     [not found]   ` <20171220163655.GW2942-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-12-20 17:00     ` Steve Wise
2017-12-20 17:11       ` Leon Romanovsky
     [not found]         ` <20171220171146.GX2942-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-12-20 17:42           ` Steve Wise
2017-12-20 18:05             ` Leon Romanovsky
     [not found]               ` <20171220180549.GY2942-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-12-20 19:01                 ` Steve Wise
2017-12-20 20:01                   ` Leon Romanovsky
     [not found]                     ` <20171220200115.GC2942-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-12-20 21:42                       ` Steve Wise
2017-12-21  5:15                         ` Leon Romanovsky [this message]
2017-12-20 19:31                 ` Steve Wise
2017-12-20 19:58                   ` Leon Romanovsky

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=20171221051510.GE2942@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org \
    /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