From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Devesh Sharma <Devesh.Sharma-iH1Dq9VlAzfQT0dZR+AlfA@public.gmane.org>
Cc: Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Selvin Xavier
<Selvin.Xavier-iH1Dq9VlAzfQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH for-next 15/17] RDMA/ocrdma: Support for Skyhawk statistics
Date: Sat, 8 Feb 2014 12:16:33 -0700 [thread overview]
Message-ID: <20140208191633.GA24320@obsidianresearch.com> (raw)
In-Reply-To: <424c56ee-b168-48e2-a298-f30a326ee8d0-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
On Sat, Feb 08, 2014 at 04:26:37AM +0000, Devesh Sharma wrote:
> We are having some 200 Odds vendor specific stats to be
> displayed. With sysfs infrastructure for IB devices we found that
> each stat will correspond to one file in sysfs tree therefore it
> will constitute a large number of files in ocrdma tree per port,
> situation will worsen if SRIOV and Multichannel comes into picture,
> On the other hand, with debugfs it is possible to have one file
> displaying multiple stats thus, drastically reducing the number of
> sysfs file entries.
This really is what netlink is for.
Remember, debugfs is not a stable ABI area, it could change at any
moment, You must not ship tools to end users that process these stats if
they come out through debugfs - it is not a way to bypass the kernel
API rules. It is just something for developers to use.
Jason
--
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
next prev parent reply other threads:[~2014-02-08 19:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1391495230-28021-1-git-send-email-devesh.sharma@emulex.com>
[not found] ` <1391495230-28021-1-git-send-email-devesh.sharma-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
2014-02-04 6:26 ` [PATCH for-next 01/17] RDMA/ocrdma: Eq full catastrophe avoidance Devesh Sharma
2014-02-04 6:26 ` [PATCH for-next 02/17] RDMA/ocrdma: SQ and RQ doorbell offset clean up Devesh Sharma
2014-02-04 6:26 ` [PATCH for-next 03/17] RDMA/ocrdma: read ASIC_ID register to select asic_gen Devesh Sharma
2014-02-04 6:26 ` [PATCH for-next 04/17] RDMA/ocrdma: Allow DPP QP creation Devesh Sharma
2014-02-04 6:26 ` [PATCH for-next 05/17] RDMA/ocrdma: ABI versioning between ocrdma and be2net Devesh Sharma
2014-02-04 6:26 ` [PATCH for-next 06/17] be2net: adding abi version between be2net and ocrdma Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 07/17] RDMA/ocrdma: update version string Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 08/17] RDMA/ocrdma: increment abi version count Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 09/17] RDMA/ocrdma: Memory leak fix in ocrdma_dereg_mr Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 10/17] RDMA/ocrdma: Use non zero tag in SRQ posting Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 11/17] RDMA/ocrdma: Display proper value for max_mw Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 12/17] RDMA/ocrdma: Handle CQ overrun error Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 13/17] RDMA/ocrdma: Support non-embedded mailbox commands Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 14/17] RDMA/ocrdma: Query controller information Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 15/17] RDMA/ocrdma: Support for Skyhawk statistics Devesh Sharma
[not found] ` <CAJZOPZK-w98t0=K4AUceKPCbwjd75BBjG325YgbQ-iV-ETosPg@mail.gmail.com>
[not found] ` <CAJZOPZK-w98t0=K4AUceKPCbwjd75BBjG325YgbQ-iV-ETosPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-06 21:07 ` Or Gerlitz
[not found] ` <CAJZOPZ+ajdDtehBJnwUGA5mgMM2aDn1JsY=0Pas3Se-WfZYs4A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-08 4:26 ` Devesh Sharma
[not found] ` <424c56ee-b168-48e2-a298-f30a326ee8d0-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2014-02-08 19:16 ` Jason Gunthorpe [this message]
[not found] ` <20140208191633.GA24320-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2014-02-14 6:16 ` Devesh Sharma
2014-02-11 7:57 ` Or Gerlitz
2014-02-04 6:27 ` [PATCH for-next 16/17] RDMA/ocrdma: Display fw version Devesh Sharma
2014-02-04 6:27 ` [PATCH for-next 17/17] RDMA/ocrdma: code clean-up Devesh Sharma
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=20140208191633.GA24320@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=Devesh.Sharma-iH1Dq9VlAzfQT0dZR+AlfA@public.gmane.org \
--cc=Selvin.Xavier-iH1Dq9VlAzfQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=roland-DgEjT+Ai2ygdnm+yROfE0A@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