From: "ira.weiny" <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Or Gerlitz <gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "Hefty,
Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>,
"roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
<roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"talal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org"
<talal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
"amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org"
<amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH for-next 0/9] mlx4 changes in virtual GID management
Date: Thu, 2 Apr 2015 18:31:36 -0400 [thread overview]
Message-ID: <20150402223135.GA12588@phlsvsds.ph.intel.com> (raw)
In-Reply-To: <CAJ3xEMgptECgnWXfW7wN8sjqRfUvzF3tCN=Lj8MZtdOG8yg3jQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Thu, Apr 02, 2015 at 05:32:53PM +0300, Or Gerlitz wrote:
> On Wed, Apr 1, 2015 at 12:33 AM, Hefty, Sean <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
[snip]
>
> Your claim says more or less "don't touch the good old
> include/rdma/ib_verbs.h from 2.6.12, just add new low-level drivers"
> -- this is very close to claiming that it doesn't make sense to change
> anything in the low areas of the core networking stack or in
> netdevice.h over the years, just add new Ethernet drivers. This does
> not make any sense.
I don't think the question is "if" we should change the core but "how".
Seans point is that the core seems to be in constant flux. Furthermore, Roland
and others have found enough problems with the core changes in the past that
they are _not_ comfortable applying them without serious review. Many of the
changes proposed here are completely new and require serious time to
understand.
Most people on this list have limited time and are unable to review every
vendors hardware implementation. What they do care about is how those changes
affect the core and how those core changes then affect their hardware, other
hardware they use, and the ULPs. This becomes a huge amount of time.
To facilitate this we should be looking for ways to minimize and be very clear
the ramifications of the core changes. In addition, we need to identify where
the core needs to be cleaned up such that future core changes are either 1)
unnecessary or 2) easily reviewable because of their limited impact to other
areas.
With all that said, I too must voice my concerns with Rolands lack of activity.
There have been some good discussions recently on re-architecting the device
feature indicators which were spawned from my OPA MAD changes.
Various alternatives have been submitted and discussed but Roland has not
weighed in on which are acceptable. This makes it difficult to determine what
direction we should take.
Also, recently I found out my repo for the 0-day build was no longer testing my
branches because Rolands for-next branch was too old. I see today that Roland
has updated to 4.0 rc now. Thank you.
Ira
> There are more and more new use cases for RDMA and indeed a nice
> challenge to frame them generally with modified/new verbs APIs and
> changes to the IB core, such as the patches to support name-spaces to
> make RDMA usable in containers which you (maintainer of the CM and
> RDMA-CM in the IB core) is ignoring for couple of months too
> (following Roland?).
>
>
> >> So examples please!
> > Sure - this is from Somnath's latest patch series:
> >
> > Matan Barak (14):
> > IB/core: Add RoCE GID cache
> > IB/core: Add kref to IB devices
> > IB/core: Add RoCE GID population
> > IB/core: Add default GID for RoCE GID Cache
> > net/bonding: make DRV macros private
> > net: Add info for NETDEV_CHANGEUPPER event
> > IB/core: Add RoCE cache bonding support
> > IB/core: GID attribute should be returned from verbs API and cache API
> > IB/core: Report gid_type and gid_ndev through sysfs
> > IB/core: Support find sgid index using a filter function
> > IB/core: Modify ib_verbs and cma in order to use roce_gid_cache
> > IB/core: Add gid_type to path and rdma_id_private
> > IB/core: Add rdma_network_type to wc
> > IB/cma: Add configfs for rdma_cm
> >
> > Moni Shoua (13):
> > IB/mlx4: Remove gid table management for RoCE
> > IB/mlx4: Replace spin_lock with rw_semaphore
> > IB/mlx4: Lock with RCU instead of RTNL
> > net/mlx4: Postpone the registration of net_device
> > IB/mlx4: Advertise RoCE support in port capabilities
> > IB/mlx4: Implement ib_device callback - get_netdev
> > IB/mlx4: Implement ib_device callback - modify_gid
> > IB/mlx4: Configure device to work in RoCEv2
> > IB/mlx4: Translate cache gid index to real index
> > IB/core: Initialize UD header structure with IP and UDP headers
> > IB/mlx4: Enable send of RoCE QP1 packets with IP/UDP headers
> > IB/mlx4: Create and use another QP1 for RoCEv2
> > IB/cma: Join and leave multicast groups with IGMP
> >
> > That's a significant number of patches that modify the core rdma layer.
>
> This series indeed is a bit heavy as it brings three changes
>
> 1. move the RoCE GID table management from LL drivers (ocrdma and
> mlx4) into the IB core
> 2. support multiple GID types
> 3. support RoCE V2
>
> #1 is terribly making sense, b/c RoCE GID addresses are derived
> through net events
> from IP addresses configured to the buddy Ethernet net-device and uppers (vlan,
> bond and such) so there's no point to have this logic replicated over
> and over in LL drivers.
>
> #2 and #3 follow the IBTA spec of RoCE V2
>
> It could be perfect maintainer comment to say: do it one-by-one, but
> anybody there?
>
> If you have concrete feedback on step #1 or anything else in the
> series, let them know.
>
> > NFSoRDMA had 5 different ways to register memory.
>
> that's bad protocol implementation, so they are fixing it now. Has
> nothing to do with the IB core.
>
> > I agree that Roland's response time is ridiculously slow. But he does tend to merge in new drivers and updates that only touch a single vendor's driver fairly quickly. It's the thrashing on the core that sees significant delays.
>
> Without ability to add the changed to the core, we can't make progress
>
> Or.
> --
> 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
--
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:[~2015-04-02 22:31 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-29 13:51 [PATCH for-next 0/9] mlx4 changes in virtual GID management Or Gerlitz
[not found] ` <1427637093-6711-1-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-03-29 13:51 ` [PATCH for-next 1/9] IB/mlx4: Alias GUID adding persistency support Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 2/9] net/mlx4_core: Manage alias GUID per VF Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 3/9] net/mlx4_core: Set initial admin GUIDs for VFs Or Gerlitz
[not found] ` <1427637093-6711-4-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-03-30 17:16 ` Jason Gunthorpe
[not found] ` <20150330171631.GA1152-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-03-31 9:54 ` Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 4/9] IB/mlx4: Manage admin alias GUID upon admin request Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 5/9] IB/mlx4: Change init flow to request alias GUIDs for active VFs Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 6/9] IB/mlx4: Request alias GUID on demand Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 7/9] net/mlx4_core: Raise slave shutdown event upon FLR Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 8/9] net/mlx4_core: Return the admin alias GUID upon host view request Or Gerlitz
2015-03-29 13:51 ` [PATCH for-next 9/9] IB/mlx4: Change alias guids default to be host assigned Or Gerlitz
2015-03-30 16:17 ` [PATCH for-next 0/9] mlx4 changes in virtual GID management Or Gerlitz
[not found] ` <CAJ3xEMj0T8QXBQdVHmfEFMXwjAFVD-O6ywAwyyVY+M3oRLzAVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-31 3:36 ` David Miller
[not found] ` <20150330.233602.155832546277570456.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2015-03-31 3:47 ` Roland Dreier
[not found] ` <CAL1RGDUmDGCGdTBeTTBiHygO5UgEbRm_Qgxtx-+bxo1vg1v-8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-31 9:13 ` Sagi Grimberg
[not found] ` <551A6556.9030708-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-03-31 18:46 ` Jason Gunthorpe
2015-03-31 11:22 ` Or Gerlitz
[not found] ` <CAJ3xEMjfbxt2Ouh4bhuf3_LMc7qY807h6FryvdCr0rr_gdiZAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-31 12:49 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1503310735380.13128-gkYfJU5Cukgdnm+yROfE0A@public.gmane.org>
2015-03-31 12:57 ` Hal Rosenstock
[not found] ` <551A99D4.7060703-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-03-31 15:49 ` Christoph Lameter
2015-03-31 15:50 ` David Miller
[not found] ` <20150331.115052.1321302787804579694.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2015-03-31 16:29 ` Christoph Lameter
2015-03-31 15:48 ` David Miller
[not found] ` <20150331.114824.651005354305268415.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2015-03-31 17:27 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A82373A8FBB790-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-31 20:28 ` Or Gerlitz
2015-03-31 21:33 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A82373A8FBBCE3-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-02 14:32 ` Or Gerlitz
[not found] ` <CAJ3xEMgptECgnWXfW7wN8sjqRfUvzF3tCN=Lj8MZtdOG8yg3jQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-02 22:31 ` ira.weiny [this message]
[not found] ` <20150402223135.GA12588-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-04-05 5:15 ` Or Gerlitz
[not found] ` <CAJ3xEMgsHAFJomuCN+EzMcYaxTOTQqHuDdr9zztuO9pH9QicXw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-05 14:51 ` Roland Dreier
[not found] ` <CAG4TOxOv98YjNOi9MbKHiHg6aLw75XRfasMaScdRccRitiE3-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-05 20:46 ` David Miller
[not found] ` <20150405.164626.1878934248335902055.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2015-04-07 17:12 ` Jason Gunthorpe
2015-04-08 13:03 ` Or Gerlitz
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=20150402223135.GA12588@phlsvsds.ph.intel.com \
--to=ira.weiny-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
--cc=gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=talal-VPRAkNaXOzVWk0Htik3J/w@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