]> git.dujemihanovic.xyz Git - linux.git/commitdiff
Merge branch 'mlxsw-Disable-checks-in-hardware-pipeline'
authorDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:38:37 +0000 (13:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:38:37 +0000 (13:38 -0800)
Ido Schimmel says:

====================
mlxsw: Disable checks in hardware pipeline

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

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge