diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2019-11-05 18:20:51 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2019-12-18 01:23:50 +0100 |
commit | db54e9672052db9c45f84d89454104eb2fedfb02 (patch) | |
tree | 889b053bf20732bc9a8611afd22f2418e8ba17f2 /lib/automake.mk | |
parent | bd6da4ab3719731774cf6cae65b76ec65f91f798 (diff) | |
download | openvswitch-db54e9672052db9c45f84d89454104eb2fedfb02.tar.gz |
bridge: Allow manual notifications about interfaces' updates.
Sometimes interface updates could happen in a way ifnotifier is not
able to catch. For example some heavy operations (device reset) in
netdev-dpdk could require re-applying of the bridge configuration.
For this purpose new manual notifier introduced. Its function
'if_notifier_manual_report()' could be called directly by the code
that aware about changes. This new notifier is thread-safe.
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Diffstat (limited to 'lib/automake.mk')
-rw-r--r-- | lib/automake.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/automake.mk b/lib/automake.mk index 17b36b43d..ebf714501 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -111,6 +111,8 @@ lib_libopenvswitch_la_SOURCES = \ lib/hmapx.h \ lib/id-pool.c \ lib/id-pool.h \ + lib/if-notifier-manual.c \ + lib/if-notifier.h \ lib/ipf.c \ lib/ipf.h \ lib/jhash.c \ @@ -394,7 +396,6 @@ lib_libopenvswitch_la_SOURCES += \ lib/dpif-netlink-rtnl.c \ lib/dpif-netlink-rtnl.h \ lib/if-notifier.c \ - lib/if-notifier.h \ lib/netdev-linux.c \ lib/netdev-linux.h \ lib/netdev-linux-private.h \ |