[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <489A921A.2000906@garzik.org>
Date: Thu, 07 Aug 2008 02:11:38 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Li Yang <leoli@...escale.com>
CC: netdev@...r.kernel.org, linuxppc-dev@...abs.org
Subject: Re: [PATCH] net/fs_enet: remove redundant messages for performance
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@...escale.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists