From: Ben Hutchings <bhutchings@solarflare.com>
To: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Cc: netdev@vger.kernel.org,
Dept_NX_Linux_NIC_Driver <Dept_NX_Linux_NIC_Driver@qlogic.com>
Subject: Re: [PATCH ethtool 2/3] ethtool: add support for external loopback.
Date: Tue, 04 Oct 2011 23:12:23 +0100 [thread overview]
Message-ID: <1317766343.2751.17.camel@bwh-desktop> (raw)
In-Reply-To: <1316514695-17157-3-git-send-email-sucheta.chakraborty@qlogic.com>
On Tue, 2011-09-20 at 03:31 -0700, Sucheta Chakraborty wrote:
> External loopback will be performed in addition to other offline tests.
> User need to pass new parameter "external_lb" for the same.
>
> Reqd. man page changes included.
Applied, but:
[...]
> @@ -1689,6 +1692,9 @@ static int dump_test(struct ethtool_drvinfo *info, struct ethtool_test *test,
>
> rc = test->flags & ETH_TEST_FL_FAILED;
> fprintf(stdout, "The test result is %s\n", rc ? "FAIL" : "PASS");
> + fprintf(stdout, "External loopback test is %s\n",
> + test->flags & ETH_TEST_FL_EXTERNAL_LB_DONE ? "executed" :
> + "not executed");
>
> if (info->testinfo_len)
> fprintf(stdout, "The test extra info:\n");
1. This message should say 'was', not 'is'.
2. There are undoubtedly scripts that parse the output of ethtool -t.
We might break them if we add a line to the output of existing commands.
I've made this conditional on test_type == EXTERNAL_LB.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
next prev parent reply other threads:[~2011-10-04 22:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-20 10:31 [PATCH 0/3] ethtool: Features added Sucheta Chakraborty
2011-09-20 10:31 ` [PATCH ethtool 1/3] ethtool: file ethtool-copy.h update Sucheta Chakraborty
2011-10-04 22:09 ` Ben Hutchings
2011-09-20 10:31 ` [PATCH ethtool 2/3] ethtool: add support for external loopback Sucheta Chakraborty
2011-10-04 22:12 ` Ben Hutchings [this message]
2011-09-20 10:31 ` [PATCH ethtool 3/3] ethtool: add ETHTOOL_{G,S}CHANNEL support Sucheta Chakraborty
2011-10-04 22:21 ` Ben Hutchings
2011-10-04 22:36 ` Ben Hutchings
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=1317766343.2751.17.camel@bwh-desktop \
--to=bhutchings@solarflare.com \
--cc=Dept_NX_Linux_NIC_Driver@qlogic.com \
--cc=netdev@vger.kernel.org \
--cc=sucheta.chakraborty@qlogic.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).