Skip to content

Add raw ethernet local loopback

Leon Romanovsky linux-rdma 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3net/mlx5: Add raw ethernet local loopback firmware commanddrivers/net/ethernet/mellanox/mlx5/core/vport.c include/linux/mlx5/mlx5_ifc.h include/linux/mlx5/vport.h+72 -40 replies
2/3IB/mlx5: Add raw ethernet local loopback supportdrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h drivers/net/ethernet/mellanox/mlx5/core/main.c+70 -40 replies
3/3net/mlx5e: Enable local loopback in loopback selftestdrivers/net/ethernet/mellanox/mlx5/core/en_selftest.c+13 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDaniel Jurgens
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-next 0/3] Add raw ethernet local loopback

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html