summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aacvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/aac/aacvar.h')
-rw-r--r--sys/dev/aac/aacvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/aac/aacvar.h b/sys/dev/aac/aacvar.h
index a303731..9c5b5a7 100644
--- a/sys/dev/aac/aacvar.h
+++ b/sys/dev/aac/aacvar.h
@@ -48,7 +48,8 @@
* FIBs are allocated in page-size chunks and can grow up to the 512
* limit imposed by the hardware.
*/
-#define AAC_FIB_COUNT 8
+#define AAC_FIB_COUNT (PAGE_SIZE/sizeof(struct aac_fib))
+#define AAC_PREALLOCATE_FIBS 128
#define AAC_MAX_FIBS 512
/*
OpenPOWER on IntegriCloud