bnxt_en: Let the page pool manage the DMA mapping
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 17 Aug 2023 23:19:07 +0000 (16:19 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 19 Aug 2023 02:13:58 +0000 (19:13 -0700)
commit578fcfd26e2a1d0e687b347057959228567e2af8
tree80ec223a6581d25a567b922df850ee0ecbce2ba5
parent86b05508f7759f41b530c6fec8858124745eada4
bnxt_en: Let the page pool manage the DMA mapping

Use the page pool's ability to maintain DMA mappings for us.
This avoids re-mapping of the recycled pages.

Link: https://lore.kernel.org/netdev/20230728231829.235716-4-michael.chan@broadcom.com/
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20230817231911.165035-3-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c