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
  • act_api.h
Find file BlameHistoryPermalink
  • Vlad Buslov's avatar
    net: sched: change action API to use array of pointers to actions · 90b73b77
    Vlad Buslov authored Jul 05, 2018
    
    
    Act API used linked list to pass set of actions to functions. It is
    intrusive data structure that stores list nodes inside action structure
    itself, which means it is not safe to modify such list concurrently.
    However, action API doesn't use any linked list specific operations on this
    set of actions, so it can be safely refactored into plain pointer array.
    
    Refactor action API to use array of pointers to tc_actions instead of
    linked list. Change argument 'actions' type of exported action init,
    destroy and dump functions.
    
    Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
    Signed-off-by: default avatarVlad Buslov <vladbu@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    90b73b77
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7