Re-enable pcpu caching by default make sysctl R/W
This commit is contained in:
parent
5b62c3808e
commit
9619451708
@ -3203,7 +3203,7 @@ t3_add_attach_sysctls(adapter_t *sc)
|
|||||||
0, "#times txq overrun");
|
0, "#times txq overrun");
|
||||||
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
|
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
|
||||||
"pcpu_cache_enable",
|
"pcpu_cache_enable",
|
||||||
CTLFLAG_RD, &cxgb_pcpu_cache_enable,
|
CTLFLAG_RW, &cxgb_pcpu_cache_enable,
|
||||||
0, "#enable driver local pcpu caches");
|
0, "#enable driver local pcpu caches");
|
||||||
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
|
SYSCTL_ADD_INT(ctx, children, OID_AUTO,
|
||||||
"cache_alloc",
|
"cache_alloc",
|
||||||
|
@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int cxgb_use_16k_clusters;
|
extern int cxgb_use_16k_clusters;
|
||||||
int cxgb_pcpu_cache_enable = 0;
|
int cxgb_pcpu_cache_enable = 1;
|
||||||
|
|
||||||
struct buf_stack {
|
struct buf_stack {
|
||||||
caddr_t *bs_stack;
|
caddr_t *bs_stack;
|
||||||
|
Loading…
Reference in New Issue
Block a user