[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <99737F4847ED0A48AECC9F4A1974A4B80FE464EFC2@MNEXMB2.qlogic.org>
Date: Fri, 5 Aug 2011 07:13:43 -0500
From: Amit Salecha <amit.salecha@...gic.com>
To: David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>,
Ameen Rahman <ameen.rahman@...gic.com>,
Rajesh Borundia <rajesh.borundia@...gic.com>
Subject: RE: [PATCHv2 NEXT 1/1] netxen: add vlan accel support
> From: David Miller [mailto:davem@...emloft.net]
> Sent: Friday, August 05, 2011 4:58 PM
>
> From: Amit Salecha <amit.salecha@...gic.com>
> Date: Fri, 5 Aug 2011 06:04:10 -0500
>
> > This is true, but problem is after fw recovery. So flow is
> > 1) vlan device added
> > 2) Driver program ip address of vlan device (through inet events)
> > 3) Fw recovery
> > 4) After fw recovery driver need to program ip addresses again which
> were already programmed.
> > After fw recovery there won't be any inet/netdev event.
> >
> > Simple solution is to maintain those ip addresses in driver.
>
> When you program the device, in response to inet events, maintain a
> software list in the driver that remembers the IP address state.
>
> Then on FW recovery, walk the special list to reprogram the device.
Make sense. Will repost patch with above logic
-Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists