Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2016 17:29:42 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303750 - head/sys/dev/cxgbe/tom
Message-ID:  <201608041729.u74HTg4G028340@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608041729.u74HTg4G028340>