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

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

flat view

From: Amit Salecha <hidden>
Date: 2011-08-05 12:13:50

From: David Miller [mailto:davem@davemloft.net]
Sent: Friday, August 05, 2011 4:58 PM

From: Amit Salecha <redacted>
Date: Fri, 5 Aug 2011 06:04:10 -0500
quoted
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.
quoted
   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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help