[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110805.042755.2121843538632981106.davem@davemloft.net>
Date: Fri, 05 Aug 2011 04:27:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: amit.salecha@...gic.com
Cc: netdev@...r.kernel.org, ameen.rahman@...gic.com,
rajesh.borundia@...gic.com
Subject: Re: [PATCHv2 NEXT 1/1] netxen: add vlan accel support
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.
--
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