bridge: Allow querying bridge port flags
authorIdo Schimmel <idosch@mellanox.com>
Wed, 21 Nov 2018 08:02:41 +0000 (08:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 01:10:31 +0000 (17:10 -0800)
commit085ddc87d05fdf649ccee7a7da42110e9e1c6311
tree56d6bca9a1f8aab3e11d8f3ff5c3bcd8f5e2455a
parent40051c4dcad5b374156ad9cceae8d15c0ef1cb95
bridge: Allow querying bridge port flags

Allow querying bridge port flags so that drivers capable of performing
VxLAN learning will update the bridge driver only if learning is enabled
on its bridge port corresponding to the VxLAN device.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_bridge.h
net/bridge/br_if.c