Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 00:49:58 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r255959 - in stable: 8/sys/dev/nfe 9/sys/dev/nfe
Message-ID:  <201310010049.r910nwoJ056525@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Oct  1 00:49:57 2013
New Revision: 255959
URL: http://svnweb.freebsd.org/changeset/base/255959

Log:
  MFC r255648:
  
  Fix a typo when accounting for tx_broadcast statistics.
  
  Submitted by:	Paul A. Patience <paul-a patience polymtl ca>

Modified:
  stable/9/sys/dev/nfe/if_nfe.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/8/sys/dev/nfe/if_nfe.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/nfe/   (props changed)

Modified: stable/9/sys/dev/nfe/if_nfe.c
==============================================================================
--- stable/9/sys/dev/nfe/if_nfe.c	Mon Sep 30 21:26:03 2013	(r255958)
+++ stable/9/sys/dev/nfe/if_nfe.c	Tue Oct  1 00:49:57 2013	(r255959)
@@ -3261,7 +3261,7 @@ nfe_stats_update(struct nfe_softc *sc)
 	if ((sc->nfe_flags & NFE_MIB_V3) != 0) {
 		stats->tx_unicast += NFE_READ(sc, NFE_TX_UNICAST);
 		stats->tx_multicast += NFE_READ(sc, NFE_TX_MULTICAST);
-		stats->rx_broadcast += NFE_READ(sc, NFE_TX_BROADCAST);
+		stats->tx_broadcast += NFE_READ(sc, NFE_TX_BROADCAST);
 	}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310010049.r910nwoJ056525>