[PATCH] net/fs_enet: remove redundant messages for performance
Jeff Garzik
jeff at garzik.org
Thu Aug 7 16:11:38 EST 2008
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 at 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
More information about the Linuxppc-dev
mailing list