Author: np
Date: Thu Aug  4 17:29:42 2016
New Revision: 303750
URL: https://svnweb.freebsd.org/changeset/base/303750

Log:
  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

Modified:
  head/sys/dev/cxgbe/tom/t4_ddp.c

Modified: head/sys/dev/cxgbe/tom/t4_ddp.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_ddp.c     Thu Aug  4 17:26:32 2016        
(r303749)
+++ head/sys/dev/cxgbe/tom/t4_ddp.c     Thu Aug  4 17:29:42 2016        
(r303750)
@@ -1087,7 +1087,7 @@ t4_init_ddp(struct adapter *sc, struct t
 
        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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to