On 08/06/17 09:44, Jiri Pirko wrote: > From: Arkadi Sharshevsky <arka...@mellanox.com> > > Currently the flood, learning and learning_sync port attributes are > offloaded by setting the SELF flag. Add support for offloading the > flood and learning attribute through the bridge code. In case of > setting an unsupported flag on a offloded port the operation will > fail. > > The learning_sync attribute doesn't have any software representation > and cannot be offloaded through the bridge code. > > Signed-off-by: Arkadi Sharshevsky <arka...@mellanox.com> > Reviewed-by: Ido Schimmel <ido...@mellanox.com> > Signed-off-by: Jiri Pirko <j...@mellanox.com> > --- > net/bridge/br_netlink.c | 87 > +++++++++++++++++++++++++++++++++++------------ > net/bridge/br_private.h | 10 ++++++ > net/bridge/br_switchdev.c | 43 +++++++++++++++++++++++ > 3 files changed, 119 insertions(+), 21 deletions(-) >
LGTM, thanks! Reviewed-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>