diff options
-rw-r--r-- | sys/dev/cxgb/cxgb_sge.c | 2 | ||||
-rw-r--r-- | sys/dev/cxgb/sys/cxgb_support.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c index 66a111f..515967d 100644 --- a/sys/dev/cxgb/cxgb_sge.c +++ b/sys/dev/cxgb/cxgb_sge.c @@ -3203,7 +3203,7 @@ t3_add_attach_sysctls(adapter_t *sc) 0, "#times txq overrun"); SYSCTL_ADD_INT(ctx, children, OID_AUTO, "pcpu_cache_enable", - CTLFLAG_RD, &cxgb_pcpu_cache_enable, + CTLFLAG_RW, &cxgb_pcpu_cache_enable, 0, "#enable driver local pcpu caches"); SYSCTL_ADD_INT(ctx, children, OID_AUTO, "cache_alloc", diff --git a/sys/dev/cxgb/sys/cxgb_support.c b/sys/dev/cxgb/sys/cxgb_support.c index b96504b..87b7e0b 100644 --- a/sys/dev/cxgb/sys/cxgb_support.c +++ b/sys/dev/cxgb/sys/cxgb_support.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #endif extern int cxgb_use_16k_clusters; -int cxgb_pcpu_cache_enable = 0; +int cxgb_pcpu_cache_enable = 1; struct buf_stack { caddr_t *bs_stack; |