diff options
| author | Pavel Begunkov <[email protected]> | 2025-01-08 22:06:22 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-16 02:44:30 +0000 |
| commit | cbc16bceea784210d585a42ac9f8f10ce62b300e (patch) | |
| tree | 31b871fdb0ad99bf19a11597b183794ecb245845 /drivers/net/ethernet/intel/igc/igc.h | |
| parent | net: ethernet: xgbe: re-add aneg to supported features in PHY quirks (diff) | |
| download | kernel-cbc16bceea784210d585a42ac9f8f10ce62b300e.tar.gz kernel-cbc16bceea784210d585a42ac9f8f10ce62b300e.zip | |
net: make page_pool_ref_netmem work with net iovs
page_pool_ref_netmem() should work with either netmem representation, but
currently it casts to a page with netmem_to_page(), which will fail with
net iovs. Use netmem_get_pp_ref_count_ref() instead.
Fixes: 8ab79ed50cf1 ("page_pool: devmem support")
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: David Wei <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc.h')
0 files changed, 0 insertions, 0 deletions
