public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: alexey.kodanev@oracle.com
Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 2/2] device-drivers: pci: fixes
Date: Mon, 14 Oct 2013 12:05:15 +0200	[thread overview]
Message-ID: <20131014100332.GA1278@rei> (raw)
In-Reply-To: <5253F867.3030307@oracle.com>

Hi!
> > So the while cycle runs for all pci devices? How does this works?
> >
> > It seems to run all tests then increment pci_device until test number
> > zero fails. This needs to cleaned up so that the codeflow is less
> > cryptic. Or at least deserves a comment what is done and why.
> >
> Yes, my intention was to perform all test-cases with all available 
> pci-devices, not just with the first found. This behavior managed by 
> user-space test, so may be add a cmd-line option like test all or first 
> found pci-device(s)?

No need for that. What I do not like on the test is that there is no
correspondence between the pci device number in the userspace and in the
test module, i.e. the pci_number is incremented automagically in the
module once all tests are executed. This is hard to figure out. It would
be better if we had explicit mechanism for that, for example sysfs file
you write the number to (and get -EINVAL if the number is out of range).

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  parent reply	other threads:[~2013-10-14 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24 13:37 [LTP] [PATCH 1/2] device-drivers: pci: rename files and remove useless files Alexey Kodanev
2013-09-24 13:37 ` [LTP] [PATCH 2/2] device-drivers: pci: fixes Alexey Kodanev
2013-10-02 14:15   ` chrubis
     [not found]     ` <5253F867.3030307@oracle.com>
2013-10-14 10:05       ` chrubis [this message]
     [not found]         ` <525BD42C.1050703@oracle.com>
2013-10-14 12:04           ` chrubis

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=20131014100332.GA1278@rei \
    --to=chrubis@suse.cz \
    --cc=alexey.kodanev@oracle.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=vasily.isaenko@oracle.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