diff options
author | 2017-06-08 08:44:15 +0200 | |
---|---|---|
committer | 2017-06-08 14:16:25 -0400 | |
commit | 9fe8bcec0dbc19604acc3a2cd469febf96f0d59a (patch) | |
tree | 58770ae1985708089c1fa1992d14a95f388cbe86 /include/uapi/linux/neighbour.h | |
parent | net: bridge: Add support for notifying devices about FDB add/del (diff) | |
download | linux-9fe8bcec0dbc19604acc3a2cd469febf96f0d59a.tar.gz linux-9fe8bcec0dbc19604acc3a2cd469febf96f0d59a.tar.bz2 linux-9fe8bcec0dbc19604acc3a2cd469febf96f0d59a.zip |
net: bridge: Receive notification about successful FDB offload
When a new static FDB is added to the bridge a notification is sent to
the driver for offload. In case of successful offload the driver should
notify the bridge back, which in turn should mark the FDB as offloaded.
Currently, externally learned is equivalent for being offloaded which is
not correct due to the fact that FDBs which are added from user-space are
also marked as externally learned. In order to specify if an FDB was
successfully offloaded a new flag is introduced.
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.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 f3d16dbe09d6..3199d28980b3 100644 --- a/include/uapi/linux/neighbour.h +++ b/include/uapi/linux/neighbour.h @@ -41,6 +41,7 @@ enum { #define NTF_MASTER 0x04 #define NTF_PROXY 0x08 /* == ATF_PUBL */ #define NTF_EXT_LEARNED 0x10 +#define NTF_OFFLOADED 0x20 #define NTF_ROUTER 0x80 /* |