]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 22 Jul 2022 07:19:36 +0000 (09:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2022 09:38:57 +0000 (10:38 +0100)
commit23233e577ef973c2c5d0dd757a0a4605e34ecb57
tree35da42116b390d86bce1974fd2ae542cab2c8335
parent502c6f8cedcce7889ccdefeb88ce36b39acd522f
net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers

Rely on page_pool allocator for single page buffers in order to keep
them dma mapped and add skb recycling support.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/Kconfig
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h