From: Ben Hutchings <bhutchings@solarflare.com>
To: Eilon Greenstein <eilong@broadcom.com>
Cc: netdev <netdev@vger.kernel.org>,
jeff@garzik.org, davem@davemloft.net,
Vladislav Zolotarov <vladz@broadcom.com>,
Eliezer Tamir <eliezert@broadcom.com>
Subject: Re: [PATCH net-next 6/12]bnx2x: Add TPA, Broadcoms HW LRO
Date: Tue, 27 May 2008 15:47:54 +0100 [thread overview]
Message-ID: <20080527144752.GI28241@solarflare.com> (raw)
In-Reply-To: <1211897851.6967.79.camel@ubuntu804desktop.localdomain>
Eilon Greenstein wrote:
> bnx2x: Add TPA, Broadcoms HW LRO
>
> Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
> Signed-off-by: Eliezer Tamir <eliezert@broadcom.com>
What's with the byte order marks here?
[...]
> diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
> index 20ecfcb..366764e 100644
> --- a/drivers/net/bnx2x_main.c
> +++ b/drivers/net/bnx2x_main.c
> @@ -84,6 +84,7 @@ MODULE_VERSION(DRV_MODULE_VERSION);
> static int use_inta;
> static int poll;
> static int debug;
> +static int disable_tpa;
> static int nomcp;
> static int load_count[3]; /* 0 common, 1 port0, 2 port1 */
> static int use_multi;
> @@ -91,6 +92,7 @@ static int use_multi;
> module_param(use_inta, int, 0);
> module_param(poll, int, 0);
> module_param(debug, int, 0);
> +module_param(disable_tpa, int, 0);
> module_param(nomcp, int, 0);
> MODULE_PARM_DESC(use_inta, "use INT#A instead of MSI-X");
> MODULE_PARM_DESC(poll, "use polling (for debug)");
It's important that people are able to see how to disable LRO. Using a
different name for it, and no module parameter description, really doesn't
help.
You should also implement ethtool get_flags and set_flags methods so that
LRO can be turned on and off later (at least once the ethtool command gets
patched, hint hint).
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
next prev parent reply other threads:[~2008-05-27 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 14:17 [PATCH net-next 6/12]bnx2x: Add TPA, Broadcoms HW LRO Eilon Greenstein
2008-05-27 14:47 ` Ben Hutchings [this message]
2008-05-27 18:46 ` Eilon Greenstein
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=20080527144752.GI28241@solarflare.com \
--to=bhutchings@solarflare.com \
--cc=davem@davemloft.net \
--cc=eilong@broadcom.com \
--cc=eliezert@broadcom.com \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=vladz@broadcom.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).