openwrt/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk
Felix Fietkau 16a9ddfe64 ramips: ethernet: use own page_frag_cache
Using the NAPI or netdev frag cache along with other drivers can lead to
32 KiB pages being held for a long time, despite only being used for
very few page fragment.
This can happen if the ethernet driver grabs one or two fragments for rx
ring refill, while other drivers use (and free up) the remaining
fragments. The 32 KiB higher-order page can only be freed once all users
have freed their fragments, which only happens after the rings of all
drivers holding the fragments have wrapped around.

Depending on the traffic patterns, this can waste a lot of memory and
look a lot like a memory leak

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-07-13 16:39:49 +02:00
..
esw_rt3050.c staging: mt7621-eth: fix return value check in mt7621_gsw_probe() 2018-05-15 06:46:08 +02:00
esw_rt3050.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
ethtool.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
ethtool.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
gsw_mt7620.c staging: mt7621-eth: fix return value check in mt7621_gsw_probe() 2018-05-15 06:46:08 +02:00
gsw_mt7620.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
gsw_mt7621.c staging: mt7621-eth: fix return value check in mt7621_gsw_probe() 2018-05-15 06:46:08 +02:00
Kconfig ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
Makefile ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
mdio_mt7620.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mdio_rt2880.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
mdio_rt2880.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mdio.c staging: mt7621-eth: fix return value check in mtk_connect_phy_node() 2018-05-15 06:45:53 +02:00
mdio.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mt7530.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mt7530.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mtk_debugfs.c ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
mtk_eth_soc.c ramips: ethernet: use own page_frag_cache 2018-07-13 16:39:49 +02:00
mtk_eth_soc.h ramips: ethernet: use own page_frag_cache 2018-07-13 16:39:49 +02:00
mtk_offload.c ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
mtk_offload.h ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
soc_mt7620.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
soc_mt7621.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
soc_rt2880.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
soc_rt3050.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
soc_rt3883.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00