netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Jiri Pirko <jiri@resnulli.us>
Cc: netdev@vger.kernel.org, davem@davemloft.net, idosch@mellanox.com,
	eladr@mellanox.com, yotamg@mellanox.com, ogerlitz@mellanox.com,
	jhs@mojatatu.com, sfeldma@gmail.com,
	vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com,
	linux@roeck-us.net, gospo@cumulusnetworks.com,
	roopa@cumulusnetworks.com, rami.rosen@intel.com,
	nikolay@cumulusnetworks.com, horms@verge.net.au,
	pjonnala@broadcom.com, olichtne@redhat.com, jtluka@redhat.com,
	jprochaz@redhat.com
Subject: Re: switchdev automated testing
Date: Wed, 27 Jan 2016 16:51:14 +0100	[thread overview]
Message-ID: <20160127155114.GB20194@lunn.ch> (raw)
In-Reply-To: <20160127144657.GB2222@nanopsycho.orion>

On Wed, Jan 27, 2016 at 03:46:57PM +0100, Jiri Pirko wrote:
> Hi All.
> 
> Just want to send a small note here about what we use for mlxsw driver
> automated testing. It can be handy for other people using switchdev
> infra, namely DSA guys.

Hi Jiri

I have a few hacked together python scripts combined with the Ostinato
drone, integrated into a Jenkins CI system, for testing DSA.

Taking a quick look at the XML files, it looks like we took different
approaches. I have a host with 8 Ethernet interfaces connected to the
switch. You appear to have many more machines, with one or two
interfaces connected to the switch per machine. This is going to make
it difficult for me to run your tests using my setup.

I only took a quick look at the tests, but it also does not seem like
the linux machine in the switch itself is involved in the
tests. e.g. l2-000-minimal.py, you put IP addresses on the two
machines connected to the switch, but what about putting an address on
the linux bridge interface and make sure you can ping that as well?
This is important for DSA, since the switch is often embedded in a
WiFi access point and a lot of traffic is coming from the wifi device
attached to the linux host.

> It's just a start. We'd like to make them more complete, possibly with
> your help.

If i can make them work with my testbed setup, and i can get test
results in a form Jenkins understands, i would be interested in using
them.

Are you going to be in the netdev 1.1 switchdev BoF? Maybe we can
discuss testing there?

	Andrew

  reply	other threads:[~2016-01-27 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 14:46 switchdev automated testing Jiri Pirko
2016-01-27 15:51 ` Andrew Lunn [this message]
2016-01-27 15:57   ` Jiri Pirko

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=20160127155114.GB20194@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=eladr@mellanox.com \
    --cc=f.fainelli@gmail.com \
    --cc=gospo@cumulusnetworks.com \
    --cc=horms@verge.net.au \
    --cc=idosch@mellanox.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=jprochaz@redhat.com \
    --cc=jtluka@redhat.com \
    --cc=linux@roeck-us.net \
    --cc=netdev@vger.kernel.org \
    --cc=nikolay@cumulusnetworks.com \
    --cc=ogerlitz@mellanox.com \
    --cc=olichtne@redhat.com \
    --cc=pjonnala@broadcom.com \
    --cc=rami.rosen@intel.com \
    --cc=roopa@cumulusnetworks.com \
    --cc=sfeldma@gmail.com \
    --cc=vivien.didelot@savoirfairelinux.com \
    --cc=yotamg@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).