[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200105162057.182547-1-idosch@idosch.org>
Date: Sun, 5 Jan 2020 18:20:49 +0200
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, amitc@...lanox.com,
mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/8] mlxsw: Disable checks in hardware pipeline
From: Ido Schimmel <idosch@...lanox.com>
Amit says:
The hardware pipeline contains some checks that, by default, are
configured to drop packets. Since the software data path does not drop
packets due to these reasons and since we are interested in offloading
the software data path to hardware, then these checks should be disabled
in the hardware pipeline as well.
This patch set changes mlxsw to disable four of these checks and adds
corresponding selftests. The tests pass both when the software data path
is exercised (using veth pair) and when the hardware data path is
exercised (using mlxsw ports in loopback).
Amit Cohen (8):
mlxsw: spectrum: Disable SIP_CLASS_E check in hardware pipeline
selftests: forwarding: router: Add test case for source IP in class E
mlxsw: spectrum: Disable MC_DMAC check in hardware pipeline
selftests: forwarding: router: Add test case for multicast destination
MAC mismatch
mlxsw: spectrum: Disable SIP_DIP check in hardware pipeline
selftests: forwarding: router: Add test case for source IP equals
destination IP
mlxsw: spectrum: Disable DIP_LINK_LOCAL check in hardware pipeline
selftests: forwarding: router: Add test case for destination IP
link-local
.../net/ethernet/mellanox/mlxsw/spectrum.c | 8 +
drivers/net/ethernet/mellanox/mlxsw/trap.h | 4 +
.../selftests/net/forwarding/router.sh | 189 +++++++++++++++++-
3 files changed, 200 insertions(+), 1 deletion(-)
--
2.24.1
Powered by blists - more mailing lists