From: Jeff Garzik <jeff@garzik.org>
To: Michael Chan <mchan@broadcom.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [PATCH 2.6.17] tg3: Add some missing rx error counters
Date: Mon, 22 May 2006 14:50:18 -0400 [thread overview]
Message-ID: <447207EA.4050909@garzik.org> (raw)
In-Reply-To: <1148316876.4780.110.camel@rh4>
Michael Chan wrote:
> Add some missing rx error counters for 5705 and newer chips.
>
> Update version to 3.58.
>
> Signed-off-by: Michael Chan <mchan@broadcom.com>
>
>
> diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
> index e1b33a2..49ad60b 100644
> --- a/drivers/net/tg3.c
> +++ b/drivers/net/tg3.c
> @@ -69,8 +69,8 @@
>
> #define DRV_MODULE_NAME "tg3"
> #define PFX DRV_MODULE_NAME ": "
> -#define DRV_MODULE_VERSION "3.57"
> -#define DRV_MODULE_RELDATE "Apr 28, 2006"
> +#define DRV_MODULE_VERSION "3.58"
> +#define DRV_MODULE_RELDATE "May 22, 2006"
>
> #define TG3_DEF_MAC_MODE 0
> #define TG3_DEF_RX_MODE 0
> @@ -6488,6 +6488,10 @@ static void tg3_periodic_fetch_stats(str
> TG3_STAT_ADD32(&sp->rx_frame_too_long_errors, MAC_RX_STATS_FRAME_TOO_LONG);
> TG3_STAT_ADD32(&sp->rx_jabbers, MAC_RX_STATS_JABBERS);
> TG3_STAT_ADD32(&sp->rx_undersize_packets, MAC_RX_STATS_UNDERSIZE);
> +
> + TG3_STAT_ADD32(&sp->rxbds_empty, RCVLPC_NO_RCV_BD_CNT);
> + TG3_STAT_ADD32(&sp->rx_discards, RCVLPC_IN_DISCARDS_CNT);
> + TG3_STAT_ADD32(&sp->rx_errors, RCVLPC_IN_ERRORS_CNT);
ACK
prev parent reply other threads:[~2006-05-22 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 16:54 [PATCH 2.6.17] tg3: Add some missing rx error counters Michael Chan
2006-05-22 18:50 ` Jeff Garzik [this message]
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=447207EA.4050909@garzik.org \
--to=jeff@garzik.org \
--cc=davem@davemloft.net \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.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).