summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb/cxgb_sge.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-01-17 21:25:58 +0000
committerkmacy <kmacy@FreeBSD.org>2008-01-17 21:25:58 +0000
commit53e7eb64dff1855d853abb42d08c74b62b3a0245 (patch)
tree5c75ef44b5968d86f9a6adcb43fa0d3fc25ef9bb /sys/dev/cxgb/cxgb_sge.c
parente443f3b38cccc13a328e71f3311f30fedf9dbaf2 (diff)
downloadFreeBSD-src-53e7eb64dff1855d853abb42d08c74b62b3a0245.zip
FreeBSD-src-53e7eb64dff1855d853abb42d08c74b62b3a0245.tar.gz
- remove bogus_imm counter
- disable pcpu cluster cache by default until reference counting is handled correctly for held clusters - can be re-enable by sysctl
Diffstat (limited to 'sys/dev/cxgb/cxgb_sge.c')
-rw-r--r--sys/dev/cxgb/cxgb_sge.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c
index b770f87..66a111f 100644
--- a/sys/dev/cxgb/cxgb_sge.c
+++ b/sys/dev/cxgb/cxgb_sge.c
@@ -73,13 +73,13 @@ __FBSDID("$FreeBSD$");
#endif
int txq_fills = 0;
-static int bogus_imm = 0;
static int recycle_enable = 1;
extern int cxgb_txq_buf_ring_size;
int cxgb_cached_allocations;
int cxgb_cached;
int cxgb_ext_freed;
extern int cxgb_use_16k_clusters;
+extern int cxgb_pcpu_cache_enable;
#define USE_GTS 0
@@ -3202,9 +3202,9 @@ t3_add_attach_sysctls(adapter_t *sc)
CTLFLAG_RD, &txq_fills,
0, "#times txq overrun");
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
- "bogus_imm",
- CTLFLAG_RD, &bogus_imm,
- 0, "#times a bogus immediate response was seen");
+ "pcpu_cache_enable",
+ CTLFLAG_RD, &cxgb_pcpu_cache_enable,
+ 0, "#enable driver local pcpu caches");
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
"cache_alloc",
CTLFLAG_RD, &cxgb_cached_allocations,
OpenPOWER on IntegriCloud