Messages in this thread | | | Date | Fri, 18 Aug 2023 23:15:59 +0200 | From | Andrew Lunn <> | Subject | Re: [PATCH v3 4/5] net: hpe: Add GXP UMAC Driver |
| |
> Would this be the #include <linux/dmapool.h> library?
<include/net/page_pool/helpers.h>
Take a look at driver/net/ethernet/freescale/fec_main.c That driver/device is of similar complexity to yours. It had a recent change from its own buffer management to page pool. It started with
commit 95698ff6177b5f1f13f251da60e7348413046ae4 Author: Shenwei Wang <shenwei.wang@nxp.com> Date: Fri Sep 30 15:44:27 2022 -0500
net: fec: using page pool to manage RX buffers
but there are additional patches later.
Andrew
| |