Re: [PATCH v3 4/5] net: hpe: Add GXP UMAC Driver
From: Andrew Lunn
Date: Fri Aug 18 2023 - 17:16:55 EST
> 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@xxxxxxx>
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