diff options
author | Nikolay Aleksandrov | 2020-06-23 23:47:18 +0300 |
---|---|---|
committer | David S. Miller | 2020-06-24 14:36:33 -0700 |
commit | b5f1d9ec283bd28a452cf61d7e5c2f2b1a9cccda (patch) | |
tree | 7e31ce30ef4d4a24db01d59cfbf7660a887d7ba3 /include | |
parent | 31cbc39b6344916c20452e43a9171009214c409c (diff) |
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.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/neighbour.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h index 21e569297355..dc8b72201f6c 100644 --- a/include/uapi/linux/neighbour.h +++ b/include/uapi/linux/neighbour.h @@ -191,6 +191,7 @@ enum { enum { NFEA_UNSPEC, NFEA_ACTIVITY_NOTIFY, + NFEA_DONT_REFRESH, __NFEA_MAX }; #define NFEA_MAX (__NFEA_MAX - 1) |