public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Marciniszyn <mike.marciniszyn-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 0/4] qib debugfs supportablity enhancements
Date: Sat, 15 Jun 2013 17:06:53 -0400	[thread overview]
Message-ID: <20130615210633.6069.14865.stgit@phlsvslse11.ph.intel.com> (raw)

The original qib submission contained a sysfs "stats"
file the reported multiple values with multiple lines.

This set of patches adds a debugfs to replace that
functionality for supportablity reasons.

The first patch adjusts QP reference counting as a prerequisite.

The final patches are all based on the seq_file api to allow
access information from internal qib data structures.

The next patches add:
- IBTA opcode counters
- per receive context countes
- per QP attributes 


---

Mike Marciniszyn (4):
      IB/qib: remove atomic_inc_not_zero from QP RCU
      IB/qib: Convert opcode counters to per context
      IB/qib: add per context stats interface
      IB/qib: add qp_stats debug file


 drivers/infiniband/hw/qib/Makefile      |    1 
 drivers/infiniband/hw/qib/qib.h         |   36 ++--
 drivers/infiniband/hw/qib/qib_debugfs.c |  283 +++++++++++++++++++++++++++++++
 drivers/infiniband/hw/qib/qib_debugfs.h |   45 +++++
 drivers/infiniband/hw/qib/qib_driver.c  |    1 
 drivers/infiniband/hw/qib/qib_init.c    |   41 ++++
 drivers/infiniband/hw/qib/qib_qp.c      |  123 ++++++++++++-
 drivers/infiniband/hw/qib/qib_verbs.c   |    8 +
 drivers/infiniband/hw/qib/qib_verbs.h   |   23 ++-
 9 files changed, 523 insertions(+), 38 deletions(-)
 create mode 100644 drivers/infiniband/hw/qib/qib_debugfs.c
 create mode 100644 drivers/infiniband/hw/qib/qib_debugfs.h

-- 
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2013-06-15 21:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-15 21:06 Mike Marciniszyn [this message]
     [not found] ` <20130615210633.6069.14865.stgit-K+u1se/DcYrLESAwzcoQNrvm/XP+8Wra@public.gmane.org>
2013-06-15 21:06   ` [PATCH 1/4] IB/qib: remove atomic_inc_not_zero from QP RCU Mike Marciniszyn
2013-06-15 21:07   ` [PATCH 2/4] IB/qib: Convert opcode counters to per context Mike Marciniszyn
2013-06-15 21:07   ` [PATCH 3/4] IB/qib: add per context stats interface Mike Marciniszyn
2013-06-15 21:07   ` [PATCH 4/4] IB/qib: add qp_stats debug file Mike Marciniszyn

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=20130615210633.6069.14865.stgit@phlsvslse11.ph.intel.com \
    --to=mike.marciniszyn-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roland-BHEL68pLQRGGvPXPguhicg@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