File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
drivers/net/ethernet/broadcom/bnx2x Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -14153,10 +14153,6 @@ static int bnx2x_eeh_nic_unload(struct bnx2x *bp)
1415314153
1415414154 /* Stop Tx */
1415514155 bnx2x_tx_disable (bp );
14156- /* Delete all NAPI objects */
14157- bnx2x_del_all_napi (bp );
14158- if (CNIC_LOADED (bp ))
14159- bnx2x_del_all_napi_cnic (bp );
1416014156 netdev_reset_tc (bp -> dev );
1416114157
1416214158 del_timer_sync (& bp -> timer );
@@ -14261,6 +14257,11 @@ static pci_ers_result_t bnx2x_io_slot_reset(struct pci_dev *pdev)
1426114257 bnx2x_drain_tx_queues (bp );
1426214258 bnx2x_send_unload_req (bp , UNLOAD_RECOVERY );
1426314259 bnx2x_netif_stop (bp , 1 );
14260+ bnx2x_del_all_napi (bp );
14261+
14262+ if (CNIC_LOADED (bp ))
14263+ bnx2x_del_all_napi_cnic (bp );
14264+
1426414265 bnx2x_free_irq (bp );
1426514266
1426614267 /* Report UNLOAD_DONE to MCP */
You can’t perform that action at this time.
0 commit comments