On Fri, Mar 09, 2012 at 12:02:23PM -0800, Pravin B Shelar wrote: > Fixed according to comments from Ben. > v2-v3: > - Only cache ENODEV from set-mtu ioctl. > > v1-v2: > - Fixed check for MTU in notifier so that mtu is not set to zero. > - Changed check for VALID_MTU. > > --8<--------------------------cut here-------------------------->8-- > netdev linux devices uses mtu ioctl to get and set MTU for a device. > By caching error code from ioctl we can reduce number of ioctl calls > for device which is unregistered from system. > netdev notification is used to update mtu which saves get-mtu-ioctl. > > Signed-off-by: Pravin B Shelar <[email protected]>
Looks good to me, thank you. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
