diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2013-06-05 10:08:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-11 02:04:32 -0700 |
commit | 9ba18891f75535eca3ef53138b48970eb60f5255 (patch) | |
tree | cdd724cc45f489ae601d22f3ffdd64be02b5c049 /include | |
parent | 30f3a40f9a2a2869a560a9cb9ef488d10c803e14 (diff) | |
download | linux-stable-9ba18891f75535eca3ef53138b48970eb60f5255.tar.gz linux-stable-9ba18891f75535eca3ef53138b48970eb60f5255.tar.bz2 linux-stable-9ba18891f75535eca3ef53138b48970eb60f5255.zip |
bridge: Add flag to control mac learning.
Allow user to control whether mac learning is enabled on the port.
By default, mac learning is enabled. Disabling mac learning will
cause new dynamic FDB entries to not be created for a particular port.
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index b05823cae784..8643809d8417 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -221,6 +221,7 @@ enum { IFLA_BRPORT_GUARD, /* bpdu guard */ IFLA_BRPORT_PROTECT, /* root port protection */ IFLA_BRPORT_FAST_LEAVE, /* multicast fast leave */ + IFLA_BRPORT_LEARNING, /* mac learning */ __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |