diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 48bc57803856d7e8d33bc77c36b61f9880e797da..063f28394e3d1edf69d5677394562a8534bee4c3 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -7141,6 +7141,13 @@ bnx2_change_ring_size(struct bnx2 *bp, u32 rx, u32 tx) dev_close(bp->dev); return rc; } +#ifdef BCM_CNIC + mutex_lock(&bp->cnic_lock); + /* Let cnic know about the new status block. */ + if (bp->cnic_eth_dev.drv_state & CNIC_DRV_STATE_REGD) + bnx2_setup_cnic_irq_info(bp); + mutex_unlock(&bp->cnic_lock); +#endif bnx2_netif_start(bp); } return 0;