Merge branch 'mlxsw-ecn-marking'
authorDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:29:49 +0000 (13:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:29:49 +0000 (13:29 -0700)
commit2dce6987a66d292ab08fcde9e65ae34d5d2f1a94
tree3bfa056a2f98d0c275335302ba3edddfb90fffd4
parent1b479fb801602b22512f53c19b1f93a4fc5d5d9d
parent4bfd0de590300d3e3889ee9833bec8cc4059fae6
Merge branch 'mlxsw-ecn-marking'

Ido Schimmel says:

====================
mlxsw: spectrum: Fix ECN marking in tunnel decapsulation

Patch #1 fixes a discrepancy between the software and hardware data
paths with regards to ECN marking after decapsulation. See the changelog
for a detailed description.

Patch #2 extends the ECN decap test to cover all possible combinations
of inner and outer ECN markings. The test passes over both data paths.

v2:
* Only set ECT(1) if inner is ECT(0)
* Introduce a new helper to determine inner ECN. Share it between NVE
  and IP-in-IP tunnels
* Extend the selftest
====================

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