lldp: process one neighbor at a time
authorThomas Haller <thaller@redhat.com>
Fri, 11 Mar 2016 13:02:22 +0000 (14:02 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 14:00:49 +0000 (15:00 +0100)
commit4cd6ac3a7bc5db777a995fae3639dc2515877eb0
tree2b912b4ccbd28fba20a03daf438e7530518f7cf3
parente1f1e07a3dc503a21f0959272729ff58c7fe9a5c
lldp: process one neighbor at a time

The systemd event tells which neighbor changed. Make use
of this information and don't rebuild all the neighbors
all the time.

That means, we must also change our rate limiting. Instead of
rate limiting the processing of all neighbors, we process neighbors
right away but limit the notification that gobject property changed.
src/devices/nm-lldp-listener.c
src/devices/tests/test-lldp.c