History

net: bridge: add a flag to avoid refreshing fdb when changing/adding

When we modify or create a new fdb entry sometimes we want to avoid refreshing its activity in order to track it properly. One example is when a mac is received from EVPN multi-homing peer by FRR, which doesn't want to change local activity accounting. It makes it static and sets a flag to track its activity.

Nikolay Aleksandrov committed 6 years ago

Commit b5f1d9e1 parent 31cbc392 files · +5 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/neighbour.h+1−0
@@ -191,6 +191,7 @@ enum { · 190 unmodified lines
191enum {191enum {
192 NFEA_UNSPEC,192 NFEA_UNSPEC,
193 NFEA_ACTIVITY_NOTIFY,193 NFEA_ACTIVITY_NOTIFY,
194 NFEA_DONT_REFRESH,
194 __NFEA_MAX195 __NFEA_MAX
195};196};
196#define NFEA_MAX (__NFEA_MAX - 1)197#define NFEA_MAX (__NFEA_MAX - 1)