Skip to content

Commit

Permalink
net/fs_enet: remove redundant messages for performance
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Li Yang authored and Jeff Garzik committed Aug 7, 2008
1 parent 9a33e88 commit 5b1c29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/fs_enet/mac-fcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static int do_pd_setup(struct fs_enet_private *fep)
#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)

static int setup_data(struct net_device *dev)
{
Expand Down

0 comments on commit 5b1c29b

Please sign in to comment.