diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2016-08-04 17:29:42 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2016-08-04 17:29:42 +0000 |
commit | 9217931fb4140c49cc9a80cd65b38578836c9ea1 (patch) | |
tree | a6a660569e4faa4aa117e1b11821d94686bbb456 /sys/dev | |
parent | 248fe642a7dfbf9055b6b7412ecf9150f709730b (diff) | |
download | src-9217931fb4140c49cc9a80cd65b38578836c9ea1.tar.gz src-9217931fb4140c49cc9a80cd65b38578836c9ea1.zip |
cxgbe/t4_tom: The page pod arena allocates from pod address space and
not index space. The minimum valid allocation out of this arena is the
size of a single page pod.
Sponsored by: Chelsio Communications
Notes
Notes:
svn path=/head/; revision=303750
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/cxgbe/tom/t4_ddp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c index 5cebfa550ce2..d70fb5911d39 100644 --- a/sys/dev/cxgbe/tom/t4_ddp.c +++ b/sys/dev/cxgbe/tom/t4_ddp.c @@ -1087,7 +1087,7 @@ t4_init_ddp(struct adapter *sc, struct tom_data *td) td->ppod_start = sc->vres.ddp.start; td->ppod_arena = vmem_create("DDP page pods", sc->vres.ddp.start, - sc->vres.ddp.size, 1, 32, M_FIRSTFIT | M_NOWAIT); + sc->vres.ddp.size, PPOD_SIZE, 512, M_FIRSTFIT | M_NOWAIT); } void |