linux-kernelorg-stable/drivers/net
Jiawen Wu 85720e04d9 net: libwx: fix the creation of page_pool
'rx_ring->size' means the count of ring descriptors multiplied by the
size of one descriptor. When increasing the count of ring descriptors,
it may exceed the limit of pool size.

[ 864.209610] page_pool_create_percpu() gave up with errno -7
[ 864.209613] txgbe 0000:11:00.0: Page pool creation failed: -7

Fix to set the pool_size to the count of ring descriptors.

Fixes: 850b971110 ("net: libwx: Allocate Rx and Tx resources")
Cc: stable@vger.kernel.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/434C72BFB40E350A+20250625023924.21821-1-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-06-26 11:02:23 +02:00
..
arcnet
bonding
caif
can can: tcan4x5x: fix power regulator retrieval during probe 2025-06-17 17:47:23 +02:00
dsa Including fixes from bluetooth and wireless. 2025-06-12 09:50:36 -07:00
ethernet net: libwx: fix the creation of page_pool 2025-06-26 11:02:23 +02:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mctp
mdio
netdevsim net: drv: netdevsim: don't napi_complete() from netpoll 2025-06-12 08:11:52 -07:00
ovpn
pcs
phy net: phy: phy_caps: Don't skip better duplex macth on non-exact match 2025-06-12 08:00:53 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb net: usb: qmi_wwan: add SIMCom 8230C composition 2025-06-21 07:34:07 -07:00
vmxnet3
vxlan
wan
wireguard
wireless iwlwifi-fixes: fix failure in interface up 2025-06-25 10:20:03 +02:00
wwan
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c macsec: MACsec SCI assignment for ES = 0 2025-06-11 10:12:01 +01:00
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c netconsole: fix appending sysdata when sysdata_fields == SYSDATA_RELEASE 2025-06-10 15:52:08 -07:00
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c
tap.c
tun.c
tun_vnet.h
veth.c veth: prevent NULL pointer dereference in veth_xdp_rcv 2025-06-12 08:08:32 -07:00
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c