From: Ido Schimmel <idosch@nvidia•com>
To: Ido Schimmel <idosch@idosch•org>
Cc: <netdev@vger•kernel.org>, <davem@davemloft•net>,
<kuba@kernel•org>, <jiri@nvidia•com>, <petrm@nvidia•com>,
<liuhangbin@gmail•com>, <toke@redhat•com>, <mlxsw@nvidia•com>
Subject: Re: [PATCH net mlxsw v2 0/2] mlxsw: spectrum: Fix ECN marking in tunnel decapsulation
Date: Mon, 29 Mar 2021 11:38:31 +0300 [thread overview]
Message-ID: <YGGSB9D30MagfbtZ@shredder.lan> (raw)
In-Reply-To: <20210329082927.347631-4-idosch@idosch.org>
On Mon, Mar 29, 2021 at 11:29:25AM +0300, Ido Schimmel wrote:
> From: Ido Schimmel <idosch@nvidia•com>
>
> 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
Sorry about the "PATCH net mlxsw v2" patches. They are the internal
version of the patches and I sent them out by mistake.
Let me know if you want me to re-submit.
>
> Ido Schimmel (2):
> mlxsw: spectrum: Fix ECN marking in tunnel decapsulation
> selftests: forwarding: vxlan_bridge_1d: Add more ECN decap test cases
>
> drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 15 +++++++++++++++
> .../net/ethernet/mellanox/mlxsw/spectrum_ipip.c | 7 +++----
> .../net/ethernet/mellanox/mlxsw/spectrum_nve.c | 7 +++----
> .../selftests/net/forwarding/vxlan_bridge_1d.sh | 13 ++++++++++++-
> 4 files changed, 33 insertions(+), 9 deletions(-)
>
> --
> 2.30.2
>
next prev parent reply other threads:[~2021-03-29 8:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-29 8:29 [PATCH net 0/2] mlxsw: spectrum: Fix ECN marking in tunnel decapsulation Ido Schimmel
2021-03-29 8:29 ` [PATCH net 1/2] " Ido Schimmel
2021-03-29 9:03 ` Toke Høiland-Jørgensen
2021-03-29 8:29 ` [PATCH net 2/2] selftests: forwarding: vxlan_bridge_1d: Add more ECN decap test cases Ido Schimmel
2021-03-29 9:03 ` Toke Høiland-Jørgensen
2021-03-29 8:29 ` [PATCH net mlxsw v2 0/2] mlxsw: spectrum: Fix ECN marking in tunnel decapsulation Ido Schimmel
2021-03-29 8:38 ` Ido Schimmel [this message]
2021-03-29 8:29 ` [PATCH net mlxsw v2 1/2] " Ido Schimmel
2021-03-29 8:29 ` [PATCH net mlxsw v2 2/2] selftests: forwarding: vxlan_bridge_1d: Add more ECN decap test cases Ido Schimmel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YGGSB9D30MagfbtZ@shredder.lan \
--to=idosch@nvidia$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=idosch@idosch$(echo .)org \
--cc=jiri@nvidia$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=liuhangbin@gmail$(echo .)com \
--cc=mlxsw@nvidia$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=petrm@nvidia$(echo .)com \
--cc=toke@redhat$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox