Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • net
  • switchdev.h
Find file BlameHistoryPermalink
  • Yotam Gigi's avatar
    net: bridge: Notify on bridge device mrouter state changes · 77041420
    Yotam Gigi authored Oct 09, 2017
    
    
    Add the SWITCHDEV_ATTR_ID_BRIDGE_MROUTER switchdev notification type, used
    to indicate whether the bridge is or isn't mrouter. Notify when the bridge
    changes its state, similarly to the already existing bridged port mrouter
    notifications.
    
    The notification uses the switchdev_attr.u.mrouter boolean flag to indicate
    the current bridge mrouter status. Thus, it only indicates whether the
    bridge is currently used as an mrouter or not, and does not indicate the
    exact mrouter state of the bridge (learning, permanent, etc.).
    
    Signed-off-by: default avatarYotam Gigi <yotamg@mellanox.com>
    Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
    Signed-off-by: default avatarNikolay Aleksandrov <nikolay@cumulusnetworks.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    77041420
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7