public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn•ch>
To: Ido Schimmel <idosch@idosch•org>
Cc: Ido Schimmel <idosch@mellanox•com>,
	netdev@vger•kernel.org, linux-kselftest@vger•kernel.org,
	davem@davemloft•net, shuah@kernel•org, dsahern@gmail•com,
	nikolay@cumulusnetworks•com, roopa@cumulusnetworks•com,
	andy@greyhouse•net, jiri@mellanox•com, mlxsw@mellanox•com,
	saeedm@mellanox•com, tariqt@mellanox•com, jhs@mojatatu•com,
	lucasb@mojatatu•com, f.fainelli@gmail•com,
	vivien.didelot@savoirfairelinux•com,
	jakub.kicinski@netronome•com, simon.horman@netronome•com
Subject: Re: [RFC PATCH net-next 02/12] selftests: forwarding: Add a test for FDB learning
Date: Mon, 15 Jan 2018 22:01:40 +0100	[thread overview]
Message-ID: <20180115210140.GB31030@lunn.ch> (raw)
In-Reply-To: <20180115200520.GA27952@splinter>

> Good idea. We can actually do that with only two ports. Disable flooding
> on port A, check packets with DMAC A don't egress the port. Inject a
> packet with SMAC A through port A, check packets with DMAC A egress the
> port.

Hi Ido

You could do it like that. But that is more testing that you can
disable flooding. And how often do users do that?

What does your marketing department tell you about typical users of
your switches? For DSA, we typically have 4 or 5 ports. 4 of those
ports are typically in one bridge, and the remaining port is used
alone. That is the sort of setup i test in DSA. Your switches
typically have 40 ports? Do your users setup 20 bridges each with two
ports?

I would test the use cases which people actually use. I expect people
setup a bridge with multiple ports, and they send traffic without
changing any defaults. So that setup is what i would test.

	Andrew

  reply	other threads:[~2018-01-15 21:01 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-15 19:18 [RFC PATCH net-next 00/12] selftests: forwarding: Add VRF-based tests Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 01/12] selftests: forwarding: Add initial testing framework Ido Schimmel
2018-01-17 20:56   ` David Ahern
2018-01-17 21:18     ` Andrew Lunn
2018-01-17 21:26       ` David Ahern
2018-01-15 19:18 ` [RFC PATCH net-next 02/12] selftests: forwarding: Add a test for FDB learning Ido Schimmel
2018-01-15 19:41   ` Andrew Lunn
2018-01-15 20:05     ` Ido Schimmel
2018-01-15 21:01       ` Andrew Lunn [this message]
2018-01-17 20:48   ` David Ahern
2018-01-17 21:01     ` Jiri Pirko
2018-01-17 22:46       ` Roopa Prabhu
2018-01-17 22:59         ` Roopa Prabhu
2018-01-17 23:31           ` Jiri Pirko
2018-01-18  0:15             ` David Ahern
2018-01-18  7:16               ` Ido Schimmel
2018-01-18  7:51                 ` Jiri Pirko
2018-01-15 19:18 ` [RFC PATCH net-next 03/12] selftests: forwarding: Add a test for flooded traffic Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 04/12] selftests: forwarding: Add a test for basic IPv4 and IPv6 routing Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 05/12] selftests: forwarding: Create test topology for multipath routing Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 06/12] selftests: forwarding: Test IPv4 weighted nexthops Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 07/12] selftests: forwarding: Test IPv6 " Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 08/12] selftests: forwarding: Add tc offload check helper Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 09/12] selftests: forwarding: Add MAC get helper Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 10/12] selftests: forwarding: Allow to get netdev interfaces names from commandline Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 11/12] selftests: forwarding: Allow to pass commandline options Ido Schimmel
2018-01-15 19:18 ` [RFC PATCH net-next 12/12] selftests: forwarding: Introduce tc flower matching tests Ido Schimmel
2018-01-15 20:14 ` [RFC PATCH net-next 00/12] selftests: forwarding: Add VRF-based tests David Ahern
2018-01-15 23:17   ` Jiri Pirko
2018-01-15 23:48     ` David Ahern
2018-01-16  7:59       ` Ido Schimmel
2018-01-17 22:51   ` Florian Fainelli
2018-01-17 23:11     ` Andrew Lunn
2018-01-18  7:41       ` Ido Schimmel
2018-01-18 12:46         ` Andrew Lunn

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=20180115210140.GB31030@lunn.ch \
    --to=andrew@lunn$(echo .)ch \
    --cc=andy@greyhouse$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=dsahern@gmail$(echo .)com \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=idosch@idosch$(echo .)org \
    --cc=idosch@mellanox$(echo .)com \
    --cc=jakub.kicinski@netronome$(echo .)com \
    --cc=jhs@mojatatu$(echo .)com \
    --cc=jiri@mellanox$(echo .)com \
    --cc=linux-kselftest@vger$(echo .)kernel.org \
    --cc=lucasb@mojatatu$(echo .)com \
    --cc=mlxsw@mellanox$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=nikolay@cumulusnetworks$(echo .)com \
    --cc=roopa@cumulusnetworks$(echo .)com \
    --cc=saeedm@mellanox$(echo .)com \
    --cc=shuah@kernel$(echo .)org \
    --cc=simon.horman@netronome$(echo .)com \
    --cc=tariqt@mellanox$(echo .)com \
    --cc=vivien.didelot@savoirfairelinux$(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