From: Greg KH <greg@kroah.com>
To: Sean Hefty <sean.hefty@intel.com>
Cc: rolandd@cisco.com, hal.rosenstock@gmail.com,
general@lists.openfabrics.org, linux-kernel@vger.kernel.org
Subject: Re: question about drivers/infiniband/core/cm.c's kobject usage
Date: Thu, 22 May 2008 14:58:12 -0700 [thread overview]
Message-ID: <20080522215812.GA3366@kroah.com> (raw)
In-Reply-To: <000501c8bc55$7c2dd680$ec248686@amr.corp.intel.com>
On Thu, May 22, 2008 at 02:47:51PM -0700, Sean Hefty wrote:
> >So I was curious, was this done on purpose? If so, why? If not, any
> >objection to me switching it over to be using struct device properly?
>
> It's entirely possible I have this wrong, but the intent is to export some
> infiniband communication management message counters and relate them to the
> corresponding ib_device/port. For example:
>
> /sys/class/infiniband_cm/<device name>/<port number>/<counter group>/<counter>
>
> (E.g. /sys/class/infiniband_cm/mthca0/1/cm_tx_msgs/req)
>
> If there's a better way to handle this, I have no objection to changing it.
Yes, just hang all of the <port number> stuff off of the original
<device name> struct device. That seems like it would be much simpler.
thanks,
greg k-h
prev parent reply other threads:[~2008-05-22 22:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-22 20:34 question about drivers/infiniband/core/cm.c's kobject usage Greg KH
2008-05-22 21:47 ` Sean Hefty
2008-05-22 21:58 ` Greg KH [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=20080522215812.GA3366@kroah.com \
--to=greg@kroah.com \
--cc=general@lists.openfabrics.org \
--cc=hal.rosenstock@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rolandd@cisco.com \
--cc=sean.hefty@intel.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