linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
Huy Nguyen c85023e153 IB/mlx5: Add raw ethernet local loopback support
Currently, unicast/multicast loopback raw ethernet
(non-RDMA) packets are sent back to the vport.
A unicast loopback packet is the packet with destination
MAC address the same as the source MAC address.
For multicast, the destination MAC address is in the
vport's multicast filter list.

Moreover, the local loopback is not needed if
there is one or none user space context.

After this patch, the raw ethernet unicast and multicast
local loopback are disabled by default. When there is more
than one user space context, the local loopback is enabled.

Note that when local loopback is disabled, raw ethernet
packets are not looped back to the vport and are forwarded
to the next routing level (eswitch, or multihost switch,
or out to the wire depending on the configuration).

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-24 10:29:18 -04:00
..
ah.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
cmd.c IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
cmd.h IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
cq.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Fix iteration overrun in GSI qps 2016-08-02 14:32:51 -04:00
ib_virt.c IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
main.c IB/mlx5: Add raw ethernet local loopback support 2017-07-24 10:29:18 -04:00
Makefile IB/mlx5: Add null_mkey access 2017-02-14 11:41:18 -05:00
mem.c IB/mlx5: Add contiguous ODP support 2017-04-25 15:40:28 -04:00
mlx5_ib.h IB/mlx5: Add raw ethernet local loopback support 2017-07-24 10:29:18 -04:00
mr.c IB/mlx5: Fix a warning message 2017-07-20 11:20:49 -04:00
odp.c IB/mlx5: Add ODP support to MW 2017-04-25 15:40:28 -04:00
qp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-06 22:20:08 -04:00
srq.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00