Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2010 07:00:57 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209980 - head/sys/netinet
Message-ID:  <201007130700.o6D70v87049350@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lstewart
Date: Tue Jul 13 07:00:57 2010
New Revision: 209980
URL: http://svn.freebsd.org/changeset/base/209980

Log:
  Catch up with the rename of DPCPU_SUM to DPCPU_VARSUM in r209978.
  
  Sponsored by:	FreeBSD Foundation

Modified:
  head/sys/netinet/siftr.c

Modified: head/sys/netinet/siftr.c
==============================================================================
--- head/sys/netinet/siftr.c	Tue Jul 13 06:57:27 2010	(r209979)
+++ head/sys/netinet/siftr.c	Tue Jul 13 07:00:57 2010	(r209980)
@@ -1282,16 +1282,16 @@ siftr_manage_ops(uint8_t action)
 		siftr_pkt_manager_thr = NULL;
 		mtx_unlock(&siftr_pkt_mgr_mtx);
 
-		totalss.n_in = DPCPU_SUM(ss, n_in);
-		totalss.n_out = DPCPU_SUM(ss, n_out);
-		totalss.nskip_in_malloc = DPCPU_SUM(ss, nskip_in_malloc);
-		totalss.nskip_out_malloc = DPCPU_SUM(ss, nskip_out_malloc);
-		totalss.nskip_in_mtx = DPCPU_SUM(ss, nskip_in_mtx);
-		totalss.nskip_out_mtx = DPCPU_SUM(ss, nskip_out_mtx);
-		totalss.nskip_in_tcpcb = DPCPU_SUM(ss, nskip_in_tcpcb);
-		totalss.nskip_out_tcpcb = DPCPU_SUM(ss, nskip_out_tcpcb);
-		totalss.nskip_in_inpcb = DPCPU_SUM(ss, nskip_in_inpcb);
-		totalss.nskip_out_inpcb = DPCPU_SUM(ss, nskip_out_inpcb);
+		totalss.n_in = DPCPU_VARSUM(ss, n_in);
+		totalss.n_out = DPCPU_VARSUM(ss, n_out);
+		totalss.nskip_in_malloc = DPCPU_VARSUM(ss, nskip_in_malloc);
+		totalss.nskip_out_malloc = DPCPU_VARSUM(ss, nskip_out_malloc);
+		totalss.nskip_in_mtx = DPCPU_VARSUM(ss, nskip_in_mtx);
+		totalss.nskip_out_mtx = DPCPU_VARSUM(ss, nskip_out_mtx);
+		totalss.nskip_in_tcpcb = DPCPU_VARSUM(ss, nskip_in_tcpcb);
+		totalss.nskip_out_tcpcb = DPCPU_VARSUM(ss, nskip_out_tcpcb);
+		totalss.nskip_in_inpcb = DPCPU_VARSUM(ss, nskip_in_inpcb);
+		totalss.nskip_out_inpcb = DPCPU_VARSUM(ss, nskip_out_inpcb);
 
 		total_skipped_pkts = totalss.nskip_in_malloc +
 		    totalss.nskip_out_malloc + totalss.nskip_in_mtx +



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