[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180117231111.GG5894@lunn.ch>
Date: Thu, 18 Jan 2018 00:11:11 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: David Ahern <dsahern@...il.com>,
Ido Schimmel <idosch@...lanox.com>, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org, davem@...emloft.net,
shuah@...nel.org, nikolay@...ulusnetworks.com,
roopa@...ulusnetworks.com, andy@...yhouse.net, jiri@...lanox.com,
mlxsw@...lanox.com, saeedm@...lanox.com, tariqt@...lanox.com,
jhs@...atatu.com, lucasb@...atatu.com,
vivien.didelot@...oirfairelinux.com, jakub.kicinski@...ronome.com,
simon.horman@...ronome.com
Subject: Re: [RFC PATCH net-next 00/12] selftests: forwarding: Add VRF-based
tests
> >> However, a similar kind of flexibility can be achieved by using VRFs and
> >> by looping the switch ports together. For example:
> >>
> >> br0
> >> +
> >> vrf-h1 | vrf-h2
> >> + +---+----+ +
> >> | | | |
> >> 192.0.2.1/24 + + + + 192.0.2.2/24
> >> swp1 swp2 swp3 swp4
> >> + + + +
> >> | | | |
> >> +--------+ +--------+
> >>
> Agreed this is really cool! For DSA enabled switches, we usually have a
> host that does the test sequencing and then execute commands remotely on
> the DUT, but we might be able to get such a similar framework up and
> running on the DUT itself without too much hassle.
I think the problem we will have is a lack of ports. Most DSA switches
have 4 or 5 ports. Given the need for two ports per bridge port, we
will be limited to bridges with just two members. That really limits
what sort of tests you can do.
But for top or rack switches, 16 ports, 8 loopback cables, that does
give interesting setups. If i were writing tests for that class of
routers, that would be the hardware setup i would define.
Andrew
Powered by blists - more mailing lists