[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6ee556c6-c885-d6bb-eaae-d8497594fbd6@cogentembedded.com>
Date: Thu, 30 May 2019 11:51:38 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
netdev@...r.kernel.org
Cc: tglx@...utronix.de, "David S. Miller" <davem@...emloft.net>,
Siva Reddy Kallam <siva.kallam@...adcom.com>,
Prashant Sreedharan <prashant@...adcom.com>,
Michael Chan <mchan@...adcom.com>
Subject: Re: [PATCH net-next 6/7] tg3: Use napi_alloc_frag()
Hello!
On 30.05.2019 1:15, Sebastian Andrzej Siewior wrote:
> tg3_alloc_rx_data() uses netdev_alloc_frag() for sbk allocation. All
^^^ skb?
> callers of tg3_alloc_rx_data() either hold the tp->lock lock (which is
^^^^^^^^^
Sort of tautological.
> held with BH disabled) or run in NAPI context.
>
> Use napi_alloc_frag() for skb allocations.
>
> Cc: Siva Reddy Kallam <siva.kallam@...adcom.com>
> Cc: Prashant Sreedharan <prashant@...adcom.com>
> Cc: Michael Chan <mchan@...adcom.com>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
[...]
MBR, Sergei
Powered by blists - more mailing lists