From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: Craig Thomas <craiger@osdl.org>,
David Hollis <dhollis@davehollis.com>,
netdev@oss.sgi.com, cliff white <cliffw@osdl.org>
Subject: Re: Network driver test suite?
Date: Wed, 12 Jan 2005 10:21:29 -0800 [thread overview]
Message-ID: <41E56AA9.2060800@osdl.org> (raw)
In-Reply-To: <20050112101001.20ccc59d@dxpl.pdx.osdl.net>
Stephen Hemminger wrote:
> On Wed, 12 Jan 2005 09:14:01 -0800
> Craig Thomas <craiger@osdl.org> wrote:
>
>
>>On Wed, 2005-01-12 at 08:24, David Hollis wrote:
>>
>>>On Tue, 2005-01-11 at 17:32 -0800, Craig Thomas wrote:
>>>
>>>
>>>>Would there be a desire for someone to collect the tests or at least
>>>>create an index to all their locations? If so, then developers can
>>>>scan a library of potential tests to run against newly developed code.
>>>>
>>>>OSDL can start incorporating some of these tests into their test
>>>>platform as well.
>>>
>>>I would love to see a collection of the types of tests that should be
>>>performed. As it appears now, there is nothing defined that a driver
>>>author should do to verify that their driver performs properly, or
>>>supports the right capabilities etc. Some things may be difficult to
>>>automate, but simply having a checklist would be great. For the things
>>>that can be automated, that would be even better.
>>
>>Great. We can do some of this. I would like to ask, what mimimal
>>types of tests do you expect to execute for a driver? If several
>>can respond to the types of testing they perform, we can start
>>a checklist. Then, additional items can be added to fill in the
>>holes. I've asked Cliff White of OSDL to help put this together.
>
>
> There are two types of tests that would be easy to set up.
> First is a full exercise of all the possible API transitions through
> ifconfig, ip link, and ethtool. These could be covered without any
> traffic going through.
>
> Then setup a standard test environment with a known good card and a
> crossover cable. The test could then use raw (and/or packet generator)
> to send packets down good card to card to be verified.
>
> Also testing, auto negotiation and transitions under load.
Other than API testing, stats interface testing, & link/speed
verification, the most useful test that I ever did in NIC driver
development (Natl Semi & Intel) was just traffic saturation:
copy and compare files for hours, log (and optionally stop on)
compare errors.
--
~Randy
next prev parent reply other threads:[~2005-01-12 18:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050105152635.290ad9c0@dxpl.pdx.osdl.net>
2005-01-12 1:32 ` Fw: Network driver test suite? 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 [this message]
2005-01-13 15:29 ` Cliff White
2005-01-12 18:15 ` Fw: " Ben Greear
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
-- strict thread matches above, loose matches on Subject: below --
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
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=41E56AA9.2060800@osdl.org \
--to=rddunlap@osdl.org \
--cc=cliffw@osdl.org \
--cc=craiger@osdl.org \
--cc=dhollis@davehollis.com \
--cc=netdev@oss.sgi.com \
--cc=shemminger@osdl.org \
/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).