Re: [PATCH 1/1] bnx2x: fix slowpath null crash

2017-11-10 Thread David Miller
From: Zhu Yanjun Date: Tue, 7 Nov 2017 21:56:21 -0500 > + /*When ret value shows failure of allocation failure, > + *the nic is rebooted again. If open still fails, a error > + *message to notify the user. > + */ Please

Re: [PATCH 1/1] bnx2x: fix slowpath null crash

2017-11-07 Thread Yanjun Zhu
On 2017/11/8 11:27, Elior, Ariel wrote: When "NETDEV WATCHDOG: em4 (bnx2x): transmit queue 2 timed out" occurs, BNX2X_SP_RTNL_TX_TIMEOUT is set. In the function bnx2x_sp_rtnl_task, bnx2x_nic_unload and bnx2x_nic_load are executed to shutdown and open NIC. In the function bnx2x_nic_load,

[PATCH 1/1] bnx2x: fix slowpath null crash

2017-11-07 Thread Zhu Yanjun
When "NETDEV WATCHDOG: em4 (bnx2x): transmit queue 2 timed out" occurs, BNX2X_SP_RTNL_TX_TIMEOUT is set. In the function bnx2x_sp_rtnl_task, bnx2x_nic_unload and bnx2x_nic_load are executed to shutdown and open NIC. In the function bnx2x_nic_load, bnx2x_alloc_mem allocates dma failure. The message

Re: [PATCH 1/1] bnx2x: fix slowpath null crash

2017-11-07 Thread Yanjun Zhu
Please ignore this mail. Zhu Yanjun On 2017/11/8 9:58, root wrote: From: Zhu Yanjun When "NETDEV WATCHDOG: em4 (bnx2x): transmit queue 2 timed out" occurs, BNX2X_SP_RTNL_TX_TIMEOUT is set. In the function bnx2x_sp_rtnl_task, bnx2x_nic_unload and bnx2x_nic_load are