Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/mt76.h
Original file line number Diff line number Diff line change
Expand Up @@ -1879,6 +1879,8 @@ static inline void mt76_put_page_pool_buf(void *buf, bool allow_direct)
struct page *page = virt_to_head_page(buf);

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
page_pool_put_full_page(__netmem_get_pp(page_to_netmem(page)), page,
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
page_pool_put_full_page(pp_page_to_nmdesc(page)->pp, page,
#else
page_pool_put_full_page(page->pp, page,
Expand Down