public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Nir Muchtar <nirm-smomgflXvOZWk0Htik3J/w@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	monis-smomgflXvOZWk0Htik3J/w@public.gmane.org,
	Or Gerlitz <ogerlitz-smomgflXvOZWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH 0/3] IB Netlink Interface and RDMA CM exports
Date: Mon, 15 Nov 2010 17:56:44 +0200	[thread overview]
Message-ID: <1289836604.2258.1091.camel@nirm-desktop> (raw)
In-Reply-To: <20101115031904.GA3566-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>


> I'd really prefer that this not be seperate modules. I think it would
> be good to stick the core stuff as part of ib_uverbs. Especially since
> it doesn't look too big. For embedded you can have a
> CONFIG_RDMA_NETLINK or something. (For embedded I think it would use
> less memory to be able to forgo sysfs and use netlink entirely, someday.)
> 
Well, the main reason for the module separation is to allow
extensibility and independence.
Code separation is just a bonus. I like the idea of having the runtime
option to use this interface (or not).
A part of the patch is CONFIG_IB_NETLINK, which compiles all of the new
modules. 
What I wanted to achieve is an IB independent infrastructure that can be
used 
in parts. I.e a plugin for every module (the first example is rdma_cm).
This way only the modules of interest are joined to the infrastructure. 
The necessity of this flexibility can be examined of course.
> Ideally I think the netlink schema should build up from QPs and add on
> IB CM, and IB RDMA CM information seperately as appropriate. Getting
> info on non-CM QPs is very important as well, IMHO. Maybe the first
> cut only reports the RDMA CM QPs but the schema should support
> reporting everything. 
> 
I agree. That's one of the main goals.
For example, I have plans for adding ipoib exports as well as other
ideas.
> I'll comment on what you have specifically later, but just a quick
> glance makes me wonder if you reviewed how the 'ss' program exchanges
> very similar information over netlink for IP sockets when you designed
> this??
> 
> Jason
Yes I have actually. Some ideas are from NETLINK_INET_DIAG which is the
back-end for ss.
There are a few differences here that made the result different. 
I'd say this is a mix between NETLINK_INET_DIAG and NETLINK_NETFILTER.

--
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-15 15:56 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 [this message]
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
     [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=1289836604.2258.1091.camel@nirm-desktop \
    --to=nirm-smomgflxvozwk0htik3j/w@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=monis-smomgflXvOZWk0Htik3J/w@public.gmane.org \
    --cc=ogerlitz-smomgflXvOZWk0Htik3J/w@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