Thread (8 messages) 8 messages, 2 authors, 2011-08-05

Re: [PATCHv2 NEXT 1/1] netxen: add vlan accel support

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-08-05 11:27:58

From: Amit Salecha <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help