To eliminate the use of struct page in page pool, the page pool users
should use netmem descriptor and APIs instead.
Make mlx5 access ->pp through netmem_desc instead of page.
Signed-off-by: Byungchul Park <byungchul@sk.com>
Link: https://patch.msgid.link/20250721021835.63939-11-byungchul@sk.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
                                /* No need to check page_pool_page_is_pp() as we
                                 * know this is a page_pool page.
                                 */
-                               page_pool_recycle_direct(page->pp, page);
+                               page_pool_recycle_direct(pp_page_to_nmdesc(page)->pp,
+                                                        page);
                        } while (++n < num);
 
                        break;