Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 22:34:12 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r306693 - stable/11/sys/dev/cxgbe
Message-ID:  <201610042234.u94MYCkb091823@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue Oct  4 22:34:12 2016
New Revision: 306693
URL: https://svnweb.freebsd.org/changeset/base/306693

Log:
  MFC 303454: Mark spg_len and fl_pktshift static.
  
  These variables are no longer exported to t4_netmap.c after r296478.

Modified:
  stable/11/sys/dev/cxgbe/t4_sge.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- stable/11/sys/dev/cxgbe/t4_sge.c	Tue Oct  4 22:32:43 2016	(r306692)
+++ stable/11/sys/dev/cxgbe/t4_sge.c	Tue Oct  4 22:34:12 2016	(r306693)
@@ -82,7 +82,7 @@ __FBSDID("$FreeBSD$");
  * Ethernet frames are DMA'd at this byte offset into the freelist buffer.
  * 0-7 are valid values.
  */
-int fl_pktshift = 2;
+static int fl_pktshift = 2;
 TUNABLE_INT("hw.cxgbe.fl_pktshift", &fl_pktshift);
 
 /*
@@ -99,7 +99,7 @@ TUNABLE_INT("hw.cxgbe.fl_pad", &fl_pad);
  * -1: driver should figure out a good value.
  *  64 or 128 are the only other valid values.
  */
-int spg_len = -1;
+static int spg_len = -1;
 TUNABLE_INT("hw.cxgbe.spg_len", &spg_len);
 
 /*



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