Re: [ovs-dev] [PATCH 2/5] netdev-linux: Cache mtu ioctl error code along with mtu.

2012-03-07 Thread Pravin Shelar
On Wed, Mar 7, 2012 at 10:17 AM, Ben Pfaff wrote: > On Tue, Mar 06, 2012 at 02:37:08PM -0800, Pravin B Shelar wrote: >> 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 f

Re: [ovs-dev] [PATCH 2/5] netdev-linux: Cache mtu ioctl error code along with mtu.

2012-03-07 Thread Ben Pfaff
On Tue, Mar 06, 2012 at 02:37:08PM -0800, Pravin B Shelar wrote: > 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

Re: [ovs-dev] [PATCH 2/5] netdev-linux: Cache mtu ioctl error code along with mtu.

2012-03-07 Thread Ben Pfaff
On Wed, Mar 07, 2012 at 09:56:13AM -0800, Ben Pfaff wrote: > On Tue, Mar 06, 2012 at 02:37:08PM -0800, Pravin B Shelar wrote: > > 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 unr

Re: [ovs-dev] [PATCH 2/5] netdev-linux: Cache mtu ioctl error code along with mtu.

2012-03-07 Thread Ben Pfaff
On Tue, Mar 06, 2012 at 02:37:08PM -0800, Pravin B Shelar wrote: > 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

[ovs-dev] [PATCH 2/5] netdev-linux: Cache mtu ioctl error code along with mtu.

2012-03-06 Thread Pravin B Shelar
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 --- lib/netd