linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Saeed Mahameed <saeedm-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: [PATCH rdma-next 0/3] Add raw ethernet local loopback
Date: Tue, 30 May 2017 09:42:52 +0300	[thread overview]
Message-ID: <20170530064255.3745-1-leon@kernel.org> (raw)

Hi Doug,

The following patch set from Huy adds ability to disable/enable
raw ethernet loopbacks based on actual number of user contexts.

The one or less user space context simply says that no actual consumer
of this packets and they don't need to be forwarded to the vport.

After this patch set, the raw ethernet unicast and multicast
local loopbacks are disabled by default and packets are forwarded
to the next routing level (eswitch, or multihost switch, or out to the
wire depending on the configuration).

Available in the "topic/local_lb" topic branch of this git repo:
git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git

Or for browsing:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/local_lb

Possible merge conflicts resolution is available in:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=testing/queue-next

Huy Nguyen (3):
  net/mlx5: Add raw ethernet local loopback firmware command
  IB/mlx5: Add raw ethernet local loopback support
  net/mlx5e: Enable local loopback in loopback selftest

 drivers/infiniband/hw/mlx5/main.c                  | 51 ++++++++++++++++--
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |  4 ++
 .../net/ethernet/mellanox/mlx5/core/en_selftest.c  | 13 +++++
 drivers/net/ethernet/mellanox/mlx5/core/main.c     | 19 +++++++
 drivers/net/ethernet/mellanox/mlx5/core/vport.c    | 62 ++++++++++++++++++++++
 include/linux/mlx5/mlx5_ifc.h                      | 11 ++--
 include/linux/mlx5/vport.h                         |  3 +-
 7 files changed, 155 insertions(+), 8 deletions(-)

--
2.12.2

--
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

             reply	other threads:[~2017-05-30  6:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30  6:42 Leon Romanovsky [this message]
     [not found] ` <20170530064255.3745-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-05-30  6:42   ` [PATCH rdma-next 1/3] net/mlx5: Add raw ethernet local loopback firmware command Leon Romanovsky
2017-05-30  6:42   ` [PATCH rdma-next 2/3] IB/mlx5: Add raw ethernet local loopback support Leon Romanovsky
2017-05-30  6:42   ` [PATCH rdma-next 3/3] net/mlx5e: Enable local loopback in loopback selftest Leon Romanovsky
2017-07-28 18:15   ` [PATCH rdma-next 0/3] Add raw ethernet local loopback Doug Ledford

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=20170530064255.3745-1-leon@kernel.org \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=saeedm-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;
as well as URLs for NNTP newsgroup(s).