Re: [PATCH net-next 6/7] tg3: Use napi_alloc_frag()

2019-05-30 Thread Sergei Shtylyov
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

[PATCH net-next 6/7] tg3: Use napi_alloc_frag()

2019-05-29 Thread Sebastian Andrzej Siewior
tg3_alloc_rx_data() uses netdev_alloc_frag() for sbk allocation. All callers of tg3_alloc_rx_data() either hold the tp->lock lock (which is held with BH disabled) or run in NAPI context. Use napi_alloc_frag() for skb allocations. Cc: Siva Reddy Kallam Cc: Prashant Sreedharan Cc: Michael Chan S