public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Or Gerlitz <ogerlitz-smomgflXvOZWk0Htik3J/w@public.gmane.org>
Cc: Nir Muchtar <nirm-smomgflXvOZWk0Htik3J/w@public.gmane.org>,
	Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>,
	rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	monis-smomgflXvOZWk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH 0/3] IB Netlink Interface and RDMA CM exports
Date: Thu, 18 Nov 2010 09:13:22 -0700	[thread overview]
Message-ID: <20101118161322.GB7419@obsidianresearch.com> (raw)
In-Reply-To: <4CE536CE.6010705-smomgflXvOZWk0Htik3J/w@public.gmane.org>

On Thu, Nov 18, 2010 at 04:23:10PM +0200, Or Gerlitz wrote:
> Roland Dreier wrote:
> >I think we should probably put this in the core module rather than 
> >creating yet another module.  I don't really see what the advantage of 
> >separating netlink into its own module is.

> If we're going on putting the netlink code in an existing module, 
> ib_core would fit better, since there are occasions  where uverbs will 
> not be loaded but still we'd like very much (...) to trace things such 
> as rdma_cm connections made by kernel ULPs such as nfs-rdma, iser, rds 
> and alike.

Nir's patch is really in two parts -
 1) The creation of NETLINK_INFINIBAND and associated dispatch of
    ops carried on the class
 2) The processing of IBNL_RDMA_CM_STATS op

The #1 should live in ib_core, but #2 should have parts in ib_verbs,
ib_uverbs, rdma_cm, and ib_cm, at least. To get a complete picure of
the QPs we will need information from all those places ..

What I would like to see is for ib_verbs to own the IBNL_RDMA_CM_STATS
op, to walk the QP list and call out to the other modules to add
appropriate netlink attributes.

Some other ops that would be great to see in future:
 - Report CQ status and information - enough to correlate with lsof
 - Report RDMA devices and the information we see in sysfs today
 - Report IPOIB path information through the usual IP netlink
 - netlink notifications for IB evens, like port up/down/etc

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

  parent reply	other threads:[~2010-11-18 16:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-14 16:12 [PATCH 0/3] IB Netlink Interface and RDMA CM exports Nir Muchtar
     [not found] ` <4CE00A72.30001-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2010-11-15  3:19   ` Jason Gunthorpe
     [not found]     ` <20101115031904.GA3566-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-11-15 15:56       ` Nir Muchtar
2010-11-16  6:26         ` Jason Gunthorpe
     [not found]           ` <20101116062602.GA488-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-11-16 15:57             ` Nir Muchtar
2010-11-17 21:34               ` Roland Dreier
     [not found]                 ` <aday68riqhm.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-11-18  7:18                   ` Jason Gunthorpe
     [not found]                     ` <20101118071828.GA19281-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-11-18 13:09                       ` Nir Muchtar
2010-11-18 20:44                         ` Roland Dreier
2010-11-18 14:23                   ` Or Gerlitz
     [not found]                     ` <4CE536CE.6010705-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2010-11-18 16:13                       ` Jason Gunthorpe [this message]
     [not found]     ` <1289836238.2258.1088.camel@nirm-desktop>
2010-11-17 21:39       ` Roland Dreier
     [not found]         ` <adapqu3iq9i.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-11-18 13:24           ` Nir Muchtar

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=20101118161322.GB7419@obsidianresearch.com \
    --to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=monis-smomgflXvOZWk0Htik3J/w@public.gmane.org \
    --cc=nirm-smomgflXvOZWk0Htik3J/w@public.gmane.org \
    --cc=ogerlitz-smomgflXvOZWk0Htik3J/w@public.gmane.org \
    --cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
    --cc=rolandd-FYB4Gu1CFyUAvxtiuMwx3w@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