diff options
author | 2020-06-23 23:47:18 +0300 | |
---|---|---|
committer | 2020-06-24 14:36:33 -0700 | |
commit | b5f1d9ec283bd28a452cf61d7e5c2f2b1a9cccda (patch) | |
tree | 7e31ce30ef4d4a24db01d59cfbf7660a887d7ba3 /include/uapi/linux/neighbour.h | |
parent | net: bridge: add option to allow activity notifications for any fdb entries (diff) | |
download | linux-b5f1d9ec283bd28a452cf61d7e5c2f2b1a9cccda.tar.gz linux-b5f1d9ec283bd28a452cf61d7e5c2f2b1a9cccda.tar.bz2 linux-b5f1d9ec283bd28a452cf61d7e5c2f2b1a9cccda.zip |
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/uapi/linux/neighbour.h')
-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) |