All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: eran ben elisha
	<eranlinuxmellanox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Eran Ben Elisha <eranbe-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH v1 for-next 0/7] Add support for multicast loopback prevention to mlx4
Date: Tue, 29 Sep 2015 14:24:26 -0400	[thread overview]
Message-ID: <560AD75A.7080700@redhat.com> (raw)
In-Reply-To: <CAKHjkjnQNqeLu+irEg97a1hcKp_ziXsDOFaTRwcaPpZAX_fMng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3684 bytes --]

On 09/21/2015 10:24 AM, eran ben elisha wrote:
> On Thu, Aug 20, 2015 at 5:34 PM, Eran Ben Elisha <eranbe-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote:
>> Hi Doug,
>>
>> This patch-set adds a new  implementation for multicast loopback prevention for
>> mlx4 driver.  The current implementation is very limited, especially if link
>> layer is Ethernet. The new implementation is based on HW feature of dropping
>> incoming multicast packets if the sender QP counter index is equal to the
>> receiver counter index.
>>
>> Patch 0001 extends ib_uverbs_create_qp in order to allow receiving the
>> multicast loopback flag at create flags.
>> Patch 0002 adds an infrastructure for the counters' loopback prevention in the
>> mlx4_core.
>> Patch 0003 modifies mlx4_en QPs to use the new loopback prevention mode.
>> Patches 0004-0006 implements this feature for mlx4_ib driver.
>> Patch 0007 allows setting IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK in create_flag
>> field both from uverbs and ib_create_qp.
>>
>> Changes from v0:
>>   Move loopback assignment outside the for loop according to Yuval's comment
>>   rebase over to-be-rebased/for-4.3
>>
>>
>> Thanks,
>> Eran.
>>
>> Eran Ben Elisha (5):
>>   IB/core: Extend ib_uverbs_create_qp
>>   IB/core: Allow setting create flags in QP init attribute
>>   IB/mlx4: Add IB counters table
>>   IB/mlx4: Add counter based implementation for QP multicast loopback
>>     block
>>   IB/mlx4: Add support for blocking multicast loopback QP creation user
>>     flag
>>
>> Maor Gottlieb (2):
>>   net/mlx4_core: Add support for filtering multicast loopback
>>   net/mlx4_en: Implement mcast loopback prevention for ETH qps
> 
> Hi Doug,
> This version sits in the mailing list for a month with no comment.
> It has been tested by Christoph Lameter.
> When do you plan to take it into your tree?

I'm getting ready to tackle the for-next backlog.

> Eran.
> 
>>
>>  drivers/infiniband/core/uverbs.h                   |   1 +
>>  drivers/infiniband/core/uverbs_cmd.c               | 259 +++++++++++++++------
>>  drivers/infiniband/core/uverbs_main.c              |   1 +
>>  drivers/infiniband/hw/mlx4/mad.c                   |  25 +-
>>  drivers/infiniband/hw/mlx4/main.c                  |  66 ++++--
>>  drivers/infiniband/hw/mlx4/mlx4_ib.h               |  10 +-
>>  drivers/infiniband/hw/mlx4/qp.c                    |  88 ++++++-
>>  drivers/net/ethernet/mellanox/mlx4/en_main.c       |  22 ++
>>  drivers/net/ethernet/mellanox/mlx4/en_resources.c  |  25 ++
>>  drivers/net/ethernet/mellanox/mlx4/fw.c            |   6 +
>>  drivers/net/ethernet/mellanox/mlx4/mlx4_en.h       |   3 +-
>>  drivers/net/ethernet/mellanox/mlx4/qp.c            |  19 +-
>>  .../net/ethernet/mellanox/mlx4/resource_tracker.c  |  30 ++-
>>  include/linux/mlx4/device.h                        |   2 +
>>  include/linux/mlx4/qp.h                            |  24 +-
>>  include/uapi/rdma/ib_user_verbs.h                  |  26 +++
>>  16 files changed, 498 insertions(+), 109 deletions(-)
>>
>> --
>> 1.8.3.1
>>
>> --
>> 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
> 


-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
              GPG KeyID: 0E572FDD



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

  parent reply	other threads:[~2015-09-29 18:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 14:34 [PATCH v1 for-next 0/7] Add support for multicast loopback prevention to mlx4 Eran Ben Elisha
     [not found] ` <1440081275-15864-1-git-send-email-eranbe-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-08-20 14:34   ` [PATCH v1 for-next 1/7] IB/core: Extend ib_uverbs_create_qp Eran Ben Elisha
2015-08-20 14:34   ` [PATCH v1 for-next 2/7] IB/core: Allow setting create flags in QP init attribute Eran Ben Elisha
2015-08-20 14:34   ` [PATCH v1 for-next 3/7] net/mlx4_core: Add support for filtering multicast loopback Eran Ben Elisha
2015-08-20 14:34   ` [PATCH v1 for-next 4/7] net/mlx4_en: Implement mcast loopback prevention for ETH qps Eran Ben Elisha
2015-08-20 14:34   ` [PATCH v1 for-next 5/7] IB/mlx4: Add IB counters table Eran Ben Elisha
2015-08-20 14:34   ` [PATCH v1 for-next 6/7] IB/mlx4: Add counter based implementation for QP multicast loopback block Eran Ben Elisha
2015-08-20 14:34   ` [PATCH v1 for-next 7/7] IB/mlx4: Add support for blocking multicast loopback QP creation user flag Eran Ben Elisha
2015-08-25 16:44   ` [PATCH v1 for-next 0/7] Add support for multicast loopback prevention to mlx4 Christoph Lameter
     [not found]     ` <alpine.DEB.2.11.1508251143430.16801-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-08-26  9:12       ` eran ben elisha
     [not found]         ` <CAKHjkjnk9sFfr3KhNGBD_LzXUbDdb7_=vF2A3Z5+ousFShfxJw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-14 15:34           ` Christoph Lameter
2015-09-21 14:24   ` eran ben elisha
     [not found]     ` <CAKHjkjnQNqeLu+irEg97a1hcKp_ziXsDOFaTRwcaPpZAX_fMng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-29 18:24       ` Doug Ledford [this message]
     [not found]         ` <560AD75A.7080700-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-05 21:59           ` Or Gerlitz
     [not found]             ` <CAJ3xEMiuPEJZ5EQueC=8wQyok2QbEaywQ3gRYVpqOwSaFQcj0A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-06 16:05               ` Doug Ledford
     [not found]                 ` <5613F145.3040204-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-06 16:54                   ` Sagi Grimberg
     [not found]                     ` <5613FCB1.4050605-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2015-10-06 17:41                       ` Doug Ledford
2015-10-06 20:54                   ` Or Gerlitz
     [not found]                     ` <CAJ3xEMhsr5uRLZ=Ur56TOpZy5XT3UbK=M1kcgjt=zx_x3HNcSQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-06 21:26                       ` Doug Ledford
     [not found]                         ` <56143C8E.9090407-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-06 21:49                           ` Or Gerlitz
     [not found]                             ` <CAJ3xEMiNk2ZXgg_Ji5dg+ahL_D5_RAvEzEEhMsPDjC-PJYDu7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-07 15:28                               ` Doug Ledford
     [not found]                                 ` <56153A0C.4040006-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-07 15:36                                   ` 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=560AD75A.7080700@redhat.com \
    --to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
    --cc=eranbe-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=eranlinuxmellanox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ogerlitz-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.