Re: [PATCH net-next] net: stmmac: Fix page pool size

2019-09-26 Thread David Miller
From: Thierry Reding Date: Mon, 23 Sep 2019 11:59:15 +0200 > From: Thierry Reding > > 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

Re: [PATCH net-next] net: stmmac: Fix page pool size

2019-09-23 Thread Thierry Reding
On Mon, Sep 23, 2019 at 11:59:15AM +0200, Thierry Reding wrote: > From: Thierry Reding > > 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 pass

[PATCH net-next] net: stmmac: Fix page pool size

2019-09-23 Thread Thierry Reding
From: Thierry Reding 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