Re: [ovs-dev] [PATCHv2 1/5] netdev: Globally track port status changes

2013-11-20 Thread Joe Stringer
On 20 November 2013 10:59, Ben Pfaff wrote: > I think we could delete netdev_dummy_changed() and > netdev_vport_changed() entirely and just call netdev_notify() from the > caller. OK, sure. I can change the bsd version as well. > I think that every netdev construct function now calls netdev_noti

Re: [ovs-dev] [PATCHv2 1/5] netdev: Globally track port status changes

2013-11-20 Thread Ben Pfaff
On Thu, Nov 14, 2013 at 03:28:25PM -0800, Joe Stringer wrote: > Previously, we tracked status changes for ofports on a per-device basis. > Each time in the main thread's loop, we would loop through all ofports > and manually check whether the status has changed for corresponding > devices. > > Thi

[ovs-dev] [PATCHv2 1/5] netdev: Globally track port status changes

2013-11-14 Thread Joe Stringer
Previously, we tracked status changes for ofports on a per-device basis. Each time in the main thread's loop, we would loop through all ofports and manually check whether the status has changed for corresponding devices. This patch shifts change_seq above the netdevice layer, with one atomic varia