linux/drivers/net/ethernet/mellanox/mlxsw
Jiri Pirko 0c921a894c mlxsw: acl: Use PBS type for forward action
Current behaviour of "mirred redirect" action (forward) offload is a bit
odd. For matched packets the action forwards them to the desired
destination, but it also lets the packet duplicates to go the original
way down (bridge, router, etc). That is more like "mirred mirror".
Fix this by using PBS type which behaves exactly like "mirred redirect".
Note that PBS does not support loopback mode.

Fixes: 4cda7d8d70 ("mlxsw: core: Introduce flexible actions support")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-15 13:23:20 -05:00
..
cmd.h mlxsw: cmd: Fix API name comments for event-queues 2017-01-09 14:35:13 -05:00
core_acl_flex_actions.c mlxsw: acl: Use PBS type for forward action 2017-02-15 13:23:20 -05:00
core_acl_flex_actions.h mlxsw: core: Introduce flexible actions support 2017-02-03 16:35:41 -05:00
core_acl_flex_keys.c mlxsw: core: Introduce flexible keys support 2017-02-03 16:35:41 -05:00
core_acl_flex_keys.h mlxsw: core: Introduce flexible keys support 2017-02-03 16:35:41 -05:00
core_hwmon.c mlxsw: core: Zero payload buffers for couple of registers 2016-10-30 16:50:17 -04:00
core_thermal.c mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
core.c mlxsw: core: Queue work immediately instead of delaying it 2017-02-06 11:25:55 -05:00
core.h mlxsw: core: Queue work immediately instead of delaying it 2017-02-06 11:25:55 -05:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
i2c.c mlxsw: Fix mlxsw_i2c_write return value 2017-01-09 14:35:13 -05:00
i2c.h mlxsw: Introduce support for I2C bus 2016-11-16 23:29:04 -05:00
ib.h mlxsw: switchx2: Add IB port support 2016-10-30 16:50:17 -04:00
item.h mlxsw: item: Add helpers for getting pointer into payload for char buffer item 2017-02-03 16:35:38 -05:00
Kconfig mlxsw: add psample dependency for spectrum 2017-02-07 11:44:12 -05:00
Makefile mlxsw: spectrum: Implement TC flower offload 2017-02-03 16:35:43 -05:00
minimal.c mlxsw: minimal: Add I2C support for Mellanox ASICs 2016-11-16 23:29:04 -05:00
pci_hw.h mlxsw: pci: Fix EQE structure definition 2017-01-12 09:25:55 -05:00
pci.c mlxsw: Add bus capability flag 2016-11-16 23:29:04 -05:00
pci.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
port.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
reg.h mlxsw: reg: Fix HTGT register length 2017-02-06 11:07:21 -05:00
resources.h mlxsw: resources: Add ACL related resources 2017-02-03 16:35:42 -05:00
spectrum_acl_flex_keys.h mlxsw: spectrum: Introduce basic set of flexible key blocks 2017-02-03 16:35:41 -05:00
spectrum_acl_tcam.c spectrum: acl_tcam: Fix catchall prio value 2017-02-07 14:15:21 -05:00
spectrum_acl.c mlxsw: spectrum: Introduce ACL core with simple TCAM implementation 2017-02-03 16:35:43 -05:00
spectrum_buffers.c mlxsw: spectrum_buffers: Limit size of pools 2016-11-29 20:48:51 -05:00
spectrum_dcb.c mlxsw: spectrum: Do not override PAUSE settings 2016-08-08 12:57:27 -07:00
spectrum_flower.c spectrum: flower: Treat ETH_P_ALL as a special case and translate for HW 2017-02-10 13:42:50 -05:00
spectrum_kvdl.c mlxsw: Introduce simplistic KVD linear area manager 2016-07-05 09:06:30 -07:00
spectrum_router.c mlxsw: spectrum_router: Add support for route replace 2017-02-10 11:32:14 -05:00
spectrum_switchdev.c mlxsw: spectrum: Update mc_disabled flag by switchdev attr 2017-02-10 11:46:41 -05:00
spectrum.c mlxsw: spectrum: Change ipv6 unregistered mc table 2017-02-14 13:15:46 -05:00
spectrum.h mlxsw: spectrum: Add an option to flood mc by mc_router_port 2017-02-10 11:46:40 -05:00
switchib.c mlxsw: Change trap groups setting 2016-11-25 21:22:14 -05:00
switchx2.c net: mellanox: switchx2: use new api ethtool_{get|set}_link_ksettings 2017-02-08 14:35:26 -05:00
trap.h mlxsw: spectrum: Add packet sample offloading support 2017-01-24 13:44:28 -05:00
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00