netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] mlxsw: Disable checks in hardware pipeline
@ 2020-01-05 16:20 Ido Schimmel
  2020-01-05 16:20 ` [PATCH net-next 1/8] mlxsw: spectrum: Disable SIP_CLASS_E check " Ido Schimmel
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Ido Schimmel @ 2020-01-05 16:20 UTC (permalink / raw)
  To: netdev; +Cc: davem, jiri, amitc, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@mellanox.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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-01-06 21:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-05 16:20 [PATCH net-next 0/8] mlxsw: Disable checks in hardware pipeline Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 1/8] mlxsw: spectrum: Disable SIP_CLASS_E check " Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 2/8] selftests: forwarding: router: Add test case for source IP in class E Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 3/8] mlxsw: spectrum: Disable MC_DMAC check in hardware pipeline Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 4/8] selftests: forwarding: router: Add test case for multicast destination MAC mismatch Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 5/8] mlxsw: spectrum: Disable SIP_DIP check in hardware pipeline Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 6/8] selftests: forwarding: router: Add test case for source IP equals destination IP Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 7/8] mlxsw: spectrum: Disable DIP_LINK_LOCAL check in hardware pipeline Ido Schimmel
2020-01-05 16:20 ` [PATCH net-next 8/8] selftests: forwarding: router: Add test case for destination IP link-local Ido Schimmel
2020-01-06 21:38 ` [PATCH net-next 0/8] mlxsw: Disable checks in hardware pipeline David Miller

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