lkml.org 
[lkml]   [2022]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3] net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag
    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.

    \
     
     \ /
      Last update: 2022-06-06 23:35    [W:13.709 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site