[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <098121b7-7118-5605-e701-0c47c759ee6c@blackwall.org>
Date: Mon, 29 May 2023 17:48:46 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Ido Schimmel <idosch@...dia.com>, netdev@...r.kernel.org,
bridge@...ts.linux-foundation.org
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, taras.chornyi@...ision.eu, saeedm@...dia.com,
leon@...nel.org, petrm@...dia.com, vladimir.oltean@....com,
claudiu.manoil@....com, alexandre.belloni@...tlin.com,
UNGLinuxDriver@...rochip.com, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, roopa@...dia.com, simon.horman@...igine.com
Subject: Re: [PATCH net-next v2 8/8] selftests: forwarding: Add layer 2 miss
test cases
On 29/05/2023 14:48, Ido Schimmel wrote:
> Add test cases to verify that the bridge driver correctly marks layer 2
> misses only when it should and that the flower classifier can match on
> this metadata.
>
> Example output:
>
> # ./tc_flower_l2_miss.sh
> TEST: L2 miss - Unicast [ OK ]
> TEST: L2 miss - Multicast (IPv4) [ OK ]
> TEST: L2 miss - Multicast (IPv6) [ OK ]
> TEST: L2 miss - Link-local multicast (IPv4) [ OK ]
> TEST: L2 miss - Link-local multicast (IPv6) [ OK ]
> TEST: L2 miss - Broadcast [ OK ]
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
>
> Notes:
> v2:
> * Test that broadcast does not hit miss filter.
>
> .../testing/selftests/net/forwarding/Makefile | 1 +
> .../net/forwarding/tc_flower_l2_miss.sh | 350 ++++++++++++++++++
> 2 files changed, 351 insertions(+)
> create mode 100755 tools/testing/selftests/net/forwarding/tc_flower_l2_miss.sh
Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists