netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Network driver test suite?
@ 2005-01-05 20:19 David Hollis
  2005-01-05 22:10 ` Jeff Garzik
  0 siblings, 1 reply; 10+ messages in thread
From: David Hollis @ 2005-01-05 20:19 UTC (permalink / raw)
  To: Netdev

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

Is there any kind of test suite (automated or list of tests) available
for testing Linux network drivers?  I'm completing the addition of a few
new USB ethernet devices and would like to able to test all possible
scenarios instead of coming across them piece-meal in the future.  I'm
not a big fan of the "works on my box" testing that I'm doing now.  I'm
sure there are all kinds of things that I'm not testing that aren't
everyday types of things such as VLANs, multicasting, various
ethtool/mii-tool things, large packets, etc.

If there isn't anything like this, maybe it would be a useful thing to
develop?  At a minimum, maybe to set the treshhold for minimum features
that drivers support and the like.

-- 
David Hollis <dhollis@davehollis.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <20050105152635.290ad9c0@dxpl.pdx.osdl.net>]
* Network driver "test suite"
@ 2017-04-12  0:16 Benjamin Herrenschmidt
  2017-04-12  0:36 ` Florian Fainelli
  2017-04-12  7:18 ` Corentin Labbe
  0 siblings, 2 replies; 10+ messages in thread
From: Benjamin Herrenschmidt @ 2017-04-12  0:16 UTC (permalink / raw)
  To: netdev

Hi folks !

Does anybody knows of an existing kind of automated "test suite" for a
network/ethernet driver ?

IE. Something we could run both on the "tested" driver and a cross-over 
"known good" peer (possibly the latter set to promisc & no offload for
proper analysis), that would out the driver through a whole bunch of
tests, such as verifying the checksum offload on a various combinations
of headers lenghts and encapsulation, vlan stuff, multicast filters,
etc... ?

I've hacking on a driver recently and ended up "manually" testing a
bunch of these things using a palette of tools (iperf, nuttcp, some
multicast hack I have around, etc... along with tcpdump) but it feels
like this is the kind of things that could be greatly automated.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-04-12  7:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05 20:19 Network driver test suite? David Hollis
2005-01-05 22:10 ` Jeff Garzik
2005-01-06 13:43   ` David Hollis
     [not found] <20050105152635.290ad9c0@dxpl.pdx.osdl.net>
2005-01-12  1:32 ` Fw: " Craig Thomas
2005-01-12 16:24   ` David Hollis
2005-01-12 17:14     ` Craig Thomas
2005-01-12 18:10       ` Stephen Hemminger
2005-01-12 18:21         ` Randy.Dunlap
2005-01-13 15:29         ` Cliff White
  -- strict thread matches above, loose matches on Subject: below --
2017-04-12  0:16 Network driver "test suite" Benjamin Herrenschmidt
2017-04-12  0:36 ` Florian Fainelli
2017-04-12  7:47   ` Benjamin Herrenschmidt
2017-04-12  7:18 ` Corentin Labbe

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).