ofproto: Get rid of port_changed_cb.
authorBen Pfaff <blp@nicira.com>
Fri, 1 Oct 2010 22:59:56 +0000 (15:59 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Oct 2010 17:40:05 +0000 (10:40 -0700)
commit0bb5c3ec4dde32bfbdf8b63296d0580f33f829dd
treefcc9b4d8c28de64ea97b29461a8ca98132cc8321
parent784032d000c5be2cbbcf1a4779f398be503029c4
ofproto: Get rid of port_changed_cb.

Jesse pointed out that port_changed_cb isn't a great interface.  It's only
around because, earlier, we had a lousy interface for monitoring netdev
status, so that we needed to pass along information obtained by ofproto
into the bridge.  But netdev_monitor is now sufficiently sophisticated that
the bridge can set up an independent netdev_monitor without any important
loss of efficiency.  Since this makes the code cleaner, this commit does
so.
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c