svn commit: r303454 - head/sys/dev/cxgbe
John Baldwin
jhb at FreeBSD.org
Thu Jul 28 17:37:13 UTC 2016
Author: jhb
Date: Thu Jul 28 17:37:12 2016
New Revision: 303454
URL: https://svnweb.freebsd.org/changeset/base/303454
Log:
Mark spg_len and fl_pktshift static.
These variables are no longer exported to t4_netmap.c after r296478.
Modified:
head/sys/dev/cxgbe/t4_sge.c
Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c Thu Jul 28 17:18:02 2016 (r303453)
+++ head/sys/dev/cxgbe/t4_sge.c Thu Jul 28 17:37:12 2016 (r303454)
@@ -81,7 +81,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);
/*
@@ -98,7 +98,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);
/*
More information about the svn-src-head
mailing list