All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Li Yang <leoli@freescale.com>
Cc: netdev@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] net/fs_enet: remove redundant messages for performance
Date: Thu, 07 Aug 2008 02:11:38 -0400	[thread overview]
Message-ID: <489A921A.2000906@garzik.org> (raw)
In-Reply-To: <1218006530-27173-1-git-send-email-leoli@freescale.com>

Li Yang wrote:
> Currently when we do a packet flood to the Ethernet port, the console
> reports error every time when a packet is dropped.  This is too
> redundant and cost performance.  Remove message for this type of event.
> 
> Signed-off-by: Li Yang <leoli@freescale.com>
> ---
>  drivers/net/fs_enet/mac-fcc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c
> index 0a97fc2..1c7ef81 100644
> --- a/drivers/net/fs_enet/mac-fcc.c
> +++ b/drivers/net/fs_enet/mac-fcc.c
> @@ -126,7 +126,7 @@ out:
>  #define FCC_NAPI_RX_EVENT_MSK	(FCC_ENET_RXF | FCC_ENET_RXB)
>  #define FCC_RX_EVENT		(FCC_ENET_RXF)
>  #define FCC_TX_EVENT		(FCC_ENET_TXB)
> -#define FCC_ERR_EVENT_MSK	(FCC_ENET_TXE | FCC_ENET_BSY)
> +#define FCC_ERR_EVENT_MSK	(FCC_ENET_TXE)
>  

applied

      reply	other threads:[~2008-08-07  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06  7:08 [PATCH] net/fs_enet: remove redundant messages for performance Li Yang
2008-08-07  6:11 ` 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=489A921A.2000906@garzik.org \
    --to=jeff@garzik.org \
    --cc=leoli@freescale.com \
    --cc=linuxppc-dev@ozlabs.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.