Re: [PATCH net 2/2] bnxt: don't enable NAPI until rings are ready

2020-08-26 Thread Michael Chan
On Wed, Aug 26, 2020 at 12:40 PM Jakub Kicinski wrote: > > Netpoll can try to poll napi as soon as napi_enable() is called. > It crashes trying to access a doorbell which is still NULL: > > BUG: kernel NULL pointer dereference, address: > CPU: 59 PID: 6039 Comm: ethtool Kdump: l

[PATCH net 2/2] bnxt: don't enable NAPI until rings are ready

2020-08-26 Thread Jakub Kicinski
Netpoll can try to poll napi as soon as napi_enable() is called. It crashes trying to access a doorbell which is still NULL: BUG: kernel NULL pointer dereference, address: CPU: 59 PID: 6039 Comm: ethtool Kdump: loaded Tainted: G S 5.9.0-rc1-00469-g5fd99b5d9950-di