File tree 1 file changed +5
-4
lines changed
drivers/net/ethernet/broadcom/bnx2x 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -14267,10 +14267,6 @@ static int bnx2x_eeh_nic_unload(struct bnx2x *bp)
14267
14267
14268
14268
/* Stop Tx */
14269
14269
bnx2x_tx_disable (bp );
14270
- /* Delete all NAPI objects */
14271
- bnx2x_del_all_napi (bp );
14272
- if (CNIC_LOADED (bp ))
14273
- bnx2x_del_all_napi_cnic (bp );
14274
14270
netdev_reset_tc (bp -> dev );
14275
14271
14276
14272
del_timer_sync (& bp -> timer );
@@ -14375,6 +14371,11 @@ static pci_ers_result_t bnx2x_io_slot_reset(struct pci_dev *pdev)
14375
14371
bnx2x_drain_tx_queues (bp );
14376
14372
bnx2x_send_unload_req (bp , UNLOAD_RECOVERY );
14377
14373
bnx2x_netif_stop (bp , 1 );
14374
+ bnx2x_del_all_napi (bp );
14375
+
14376
+ if (CNIC_LOADED (bp ))
14377
+ bnx2x_del_all_napi_cnic (bp );
14378
+
14378
14379
bnx2x_free_irq (bp );
14379
14380
14380
14381
/* Report UNLOAD_DONE to MCP */
You can’t perform that action at this time.
0 commit comments