History

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.

Arkadi Sharshevsky committed 9 years ago

Commit 9fe8bce1 parent 6b26b515 files · +37 −3Browse files

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

Unified · Split

include/uapi/linux/neighbour.h+1−0
@@ -41,6 +41,7 @@ enum { · 40 unmodified lines
41#define NTF_MASTER 0x0441#define NTF_MASTER 0x04
42#define NTF_PROXY 0x08 /* == ATF_PUBL */42#define NTF_PROXY 0x08 /* == ATF_PUBL */
43#define NTF_EXT_LEARNED 0x1043#define NTF_EXT_LEARNED 0x10
44#define NTF_OFFLOADED 0x20
44#define NTF_ROUTER 0x8045#define NTF_ROUTER 0x80
45 46
46/*47/*