aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-12-04 19:23:36 -0800
committerJakub Kicinski <kuba@kernel.org>2024-12-04 19:23:37 -0800
commit5f4d0356f06a73a6d99c5c6583abda0e0f9dd5b2 (patch)
tree593fb627db19cd290234b1e8d63b78926ce3953e /drivers/net/ethernet/intel/ice/ice_main.c
parent8588c99c7d47448fcae39e3227d6e2bb97aad86d (diff)
parentbd649c5cc958169b8a8a3e77ea926d92d472b02a (diff)
downloadlinux-5f4d0356f06a73a6d99c5c6583abda0e0f9dd5b2.tar.gz
linux-5f4d0356f06a73a6d99c5c6583abda0e0f9dd5b2.tar.bz2
linux-5f4d0356f06a73a6d99c5c6583abda0e0f9dd5b2.zip
Merge branch 'bnxt_en-support-header-page-pool-in-queue-api'
David Wei says: ==================== bnxt_en: support header page pool in queue API Commit 7ed816be35ab ("eth: bnxt: use page pool for head frags") added a separate page pool for header frags. Now, frags are allocated from this header page pool e.g. rxr->tpa_info.data. The queue API did not properly handle rxr->tpa_info and so using the queue API to i.e. reset any queues will result in pages being returned to the incorrect page pool, causing inflight != 0 warnings. Fix this bug by properly allocating/freeing tpa_info and copying/freeing head_pool in the queue API implementation. The 1st patch is a prep patch that refactors helpers out to be used by the implementation patch later. The 2nd patch is a drive-by refactor. Happy to take it out and re-send to net-next if there are any objections. The 3rd patch is the implementation patch that will properly alloc/free rxr->tpa_info. ==================== Link: https://patch.msgid.link/20241204041022.56512-1-dw@davidwei.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions