From: Petri Gynther <pgynt...@google.com> Date: Thu, 09 Jul 2015 01:55:02 +0000
> bcmgenet driver needs to separate packet drops from packet errors. > > When the driver has to drop a *good* packet, due to lack of buffers or > replacement skbs, increment only dev->stats.[rx|tx]_dropped. > > When the driver encounters a bad Rx packet or Tx error, increment only > dev->stats.[rx|tx]_errors + relevant detailed error counter. > > Signed-off-by: Petri Gynther <pgynt...@google.com> > --- > drivers/net/ethernet/broadcom/genet/bcmgenet.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c > b/drivers/net/ethernet/broadcom/genet/bcmgenet.c > index b43b2cb..64c1e9d 100644 > --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c > +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c > @@ -1230,7 +1230,6 @@ static struct sk_buff > *bcmgenet_put_tx_csum(struct net_device *dev, This is severely corrupted by your email client. Please fix this, email a test patch to yourself, and only resubmit this patch to the mailing list if you can successfully apply the patch you receive in that test email. Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html