aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-09-23 11:59:15 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-26 09:27:47 +0200
commit4f28bd956e081fc018fe9b41ffa31573f17bfb61 (patch)
tree38eab617c77018b8b517359ad20c2984f05e4b88 /Documentation
parentmacsec: drop skb sk before calling gro_cells_receive (diff)
downloadlinux-dev-4f28bd956e081fc018fe9b41ffa31573f17bfb61.tar.xz
linux-dev-4f28bd956e081fc018fe9b41ffa31573f17bfb61.zip
net: stmmac: Fix page pool size
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@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions