Re: [ovs-dev] [PATCH 1/2] netdev-linux: Get carrier from ioctl instead of sysfs.

2012-02-14 Thread Ben Pfaff
On Mon, Feb 13, 2012 at 07:07:31PM -0800, Ethan Jackson wrote: > When a netdev Linux device is created or its netlink cache is > invalidate, it needs an alternative method to update the its > carrier status. Previous patches retrieved this information from a > sysfs file. This patch switches to i

[ovs-dev] [PATCH 1/2] netdev-linux: Get carrier from ioctl instead of sysfs.

2012-02-13 Thread Ethan Jackson
When a netdev Linux device is created or its netlink cache is invalidate, it needs an alternative method to update the its carrier status. Previous patches retrieved this information from a sysfs file. This patch switches to ioctl which is significantly simpler, and likely quite a bit faster as w