summaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/samples/page-pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/net/ynl/samples/page-pool.c')
-rw-r--r--tools/net/ynl/samples/page-pool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/net/ynl/samples/page-pool.c b/tools/net/ynl/samples/page-pool.c
index 098b5190d0..332f281ee5 100644
--- a/tools/net/ynl/samples/page-pool.c
+++ b/tools/net/ynl/samples/page-pool.c
@@ -95,6 +95,8 @@ int main(int argc, char **argv)
if (pp->_present.alloc_fast)
s->alloc_fast += pp->alloc_fast;
+ if (pp->_present.alloc_refill)
+ s->alloc_fast += pp->alloc_refill;
if (pp->_present.alloc_slow)
s->alloc_slow += pp->alloc_slow;
if (pp->_present.recycle_ring)