From: "Eliezer Tamir" <eliezert@broadcom.com>
To: "Stephen Hemminger" <shemminger@linux-foundation.org>
Cc: netdev@vger.kernel.org, davem@davemloft.net, jeff@garzik.org,
"masbock" <masbock@us.ibm.com>,
"Eilon Greenstein" <eilong@broadcom.com>,
"Michael Chan" <mchan@broadcom.com>,
"Ram Pai" <linuxram@us.ibm.com>,
"Philip Oswald" <poswald@novell.com>
Subject: Re: [PATCH 2.6.25] add bnx2x driver for BCM57710 - bnx2x.c
Date: Fri, 16 Nov 2007 09:55:13 +0200 [thread overview]
Message-ID: <473D4CE1.9070102@broadcom.com> (raw)
In-Reply-To: <20071115150349.51e6d133@freepuppy.rosehill>
Stephen,
Thank you for taking the time to go over this.
Stephen Hemminger wrote:
> 1. Please use dev_err() to help user figure out which board has problem:
OK
> 2. Use new MAC_ADDR() rather than
OK
> 3. The reset task logic needs more cleanup/protection.
OK
> 4. Rather than hard coding mac address, could you use random_ether_address()
> instead?
I'm not sure,
This is only for some of the chip simulation environments that don't have an NVRAM.
Not for a real chip.
> 5. Current style police will complain about single line {}
OK (we all love the police. funny that checkpatch.pl did not find this)
> 6. The driver is using per-cpu tx queue, maybe it wants to have multi
> queue instead?
This is still not enabled by default.
We are limited to 16 queues and they are rather expansive, so I'm not sure what would be best.
Can you please give me pointers to examples?
In any case on the TX side you don't need more than one per cpu.
> 7. bnx2x_get_stats() is uneeded. If you leave dev->get_stats() set to NULL
> then register_netdev will handle it.
OK
> 8. Spelling fixes:
Thanks...
I will send the fixes as patches.
The reset change needs to be very carefully tested so this will only happen early next week.
Thanks,
Eliezer
next prev parent reply other threads:[~2007-11-16 7:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-15 19:19 [PATCH 2.6.25] add bnx2x driver for BCM57710 Eliezer Tamir
2007-11-15 19:45 ` [PATCH 2.6.25] add bnx2x driver for BCM57710 - bnx2x.h Eliezer Tamir
2007-11-15 19:46 ` [PATCH 2.6.25] add bnx2x driver for BCM57710 - bnx2x.c Eliezer Tamir
2007-11-15 23:03 ` Stephen Hemminger
2007-11-15 23:10 ` David Miller
2007-11-16 7:55 ` Eliezer Tamir [this message]
2007-11-15 19:47 ` [PATCH 2.6.25] add bnx2x driver for BCM57710 - bnx2x_fw_defs.h Eliezer Tamir
2007-11-15 19:47 ` [PATCH 2.6.25] add bnx2x driver for BCM57710 - bnx2x_hsi.h Eliezer Tamir
2007-11-15 19:48 ` [PATCH 2.6.25] add bnx2x driver for BCM57710 - bnx2x_init.h Eliezer Tamir
2007-11-15 19:49 ` [PATCH 2.6.25] add bnx2x driver for BCM57710 - bnx2x_reg.h Eliezer Tamir
2007-11-15 23:16 ` [PATCH 2.6.25] add bnx2x driver for BCM57710 David Miller
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=473D4CE1.9070102@broadcom.com \
--to=eliezert@broadcom.com \
--cc=davem@davemloft.net \
--cc=eilong@broadcom.com \
--cc=jeff@garzik.org \
--cc=linuxram@us.ibm.com \
--cc=masbock@us.ibm.com \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=poswald@novell.com \
--cc=shemminger@linux-foundation.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).