From: Thierry Reding <thierry.reding@xxxxxxxxx> Date: Mon, 23 Sep 2019 11:59:15 +0200 > From: Thierry Reding <treding@xxxxxxxxxx> > > The size of individual pages in the page pool in given by an order. The > order is the binary logarithm of the number of pages that make up one of > the pages in the pool. However, the driver currently passes the number > of pages rather than the order, so it ends up wasting quite a bit of > memory. > > Fix this by taking the binary logarithm and passing that in the order > field. > > Fixes: 2af6106ae949 ("net: stmmac: Introducing support for Page Pool") > Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> Not only should this have been marked v2, it should have targetted 'net' instead of 'net-next'. In any event, I've applied it, thanks.