sonic-buildimage/rules/lldpd.mk
zhenggen-xu 3c3c19e600 [lldp]: LLDP is misbehaving if netlink messages were lost due to timing issue. (#1909)
The behavior could be that we are sending LLDP message but not using
lldpcli configured properties if netlink delete messages were lost.

It also could be that some interfaces do not sending messages at all.
"lldpcli show statistics" could see duplicated or missing interfaces.

Changes:
Upgrade lldpd to 0.9.6 (which introduced the adjustable netlink buffer size)
Change the netlink receive buffer size to 1MB
2018-08-09 23:58:30 -07:00

18 lines
445 B
Makefile

# lldpd package
LLDPD_VERSION = 0.9.6
LLDPD = lldpd_$(LLDPD_VERSION)-0_amd64.deb
$(LLDPD)_DEPENDS += $(LIBSNMP_DEV)
$(LLDPD)_RDEPENDS += $(LIBSNMP)
$(LLDPD)_SRC_PATH = $(SRC_PATH)/lldpd
SONIC_MAKE_DEBS += $(LLDPD)
LIBLLDPCTL = liblldpctl-dev_$(LLDPD_VERSION)-0_amd64.deb
$(eval $(call add_derived_package,$(LLDPD),$(LIBLLDPCTL)))
# Export these variables so they can be used in a sub-make
export LLDPD_VERSION
export LLDPD
export LIBLLDPCTL