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 @@ -14213,10 +14213,6 @@ static int bnx2x_eeh_nic_unload(struct bnx2x *bp)
1421314213
1421414214 /* Stop Tx */
1421514215 bnx2x_tx_disable (bp );
14216- /* Delete all NAPI objects */
14217- bnx2x_del_all_napi (bp );
14218- if (CNIC_LOADED (bp ))
14219- bnx2x_del_all_napi_cnic (bp );
1422014216 netdev_reset_tc (bp -> dev );
1422114217
1422214218 del_timer_sync (& bp -> timer );
@@ -14321,6 +14317,11 @@ static pci_ers_result_t bnx2x_io_slot_reset(struct pci_dev *pdev)
1432114317 bnx2x_drain_tx_queues (bp );
1432214318 bnx2x_send_unload_req (bp , UNLOAD_RECOVERY );
1432314319 bnx2x_netif_stop (bp , 1 );
14320+ bnx2x_del_all_napi (bp );
14321+
14322+ if (CNIC_LOADED (bp ))
14323+ bnx2x_del_all_napi_cnic (bp );
14324+
1432414325 bnx2x_free_irq (bp );
1432514326
1432614327 /* Report UNLOAD_DONE to MCP */
You can’t perform that action at this time.
0 commit comments