On Sun, 5 Jun 2022 11:12:37 +0800 Chen Lin wrote: > + new_data = (void *)__get_free_pages(GFP_ATOMIC | > + __GFP_COMP | __GFP_NOWARN, > + get_order(mtk_max_frag_size(MTK_MAX_LRO_RX_LENGTH))); Please make this a helper which takes the gfp flags.