Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F116018926
D36648.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36648.diff
View Options
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -314,12 +314,6 @@
SYSCTL_INT(_hw_cxgbe, OID_AUTO, rsrv_noflowq, CTLFLAG_RDTUN, &t4_rsrv_noflowq,
0, "Reserve TX queue 0 of each VI for non-flowid packets");
-#if defined(TCP_OFFLOAD) || defined(RATELIMIT)
-#define NOFLDTXQ 8
-static int t4_nofldtxq = -NOFLDTXQ;
-SYSCTL_INT(_hw_cxgbe, OID_AUTO, nofldtxq, CTLFLAG_RDTUN, &t4_nofldtxq, 0,
- "Number of offload TX queues per port");
-
static int t4_clocksync_fast = 1;
SYSCTL_INT(_hw_cxgbe, OID_AUTO, csfast, CTLFLAG_RW | CTLFLAG_MPSAFE, &t4_clocksync_fast, 0,
"During initial clock sync how fast do we update in seconds");
@@ -332,6 +326,12 @@
SYSCTL_INT(_hw_cxgbe, OID_AUTO, cscount, CTLFLAG_RW | CTLFLAG_MPSAFE, &t4_fast_2_normal, 0,
"How many clock syncs do we need to do to transition to slow");
+#if defined(TCP_OFFLOAD) || defined(RATELIMIT)
+#define NOFLDTXQ 8
+static int t4_nofldtxq = -NOFLDTXQ;
+SYSCTL_INT(_hw_cxgbe, OID_AUTO, nofldtxq, CTLFLAG_RDTUN, &t4_nofldtxq, 0,
+ "Number of offload TX queues per port");
+
#define NOFLDRXQ 2
static int t4_nofldrxq = -NOFLDRXQ;
SYSCTL_INT(_hw_cxgbe, OID_AUTO, nofldrxq, CTLFLAG_RDTUN, &t4_nofldrxq, 0,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 2, 4:48 PM (11 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17908252
Default Alt Text
D36648.diff (1 KB)
Attached To
Mode
D36648: cxgbe: fix kernel build without TCP_OFFLOAD or RATELIMIT
Attached
Detach File
Event Timeline
Log In to Comment