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
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • net
  • netdevsim
  • dev.c
Find file BlameHistoryPermalink
  • Leon Romanovsky's avatar
    devlink: Allow control devlink ops behavior through feature mask · bd032e35
    Leon Romanovsky authored Oct 12, 2021
    
    
    Introduce new devlink call to set feature mask to control devlink
    behavior during device initialization phase after devlink_alloc()
    is already called.
    
    This allows us to set reload ops based on device property which
    is not known at the beginning of driver initialization.
    
    For the sake of simplicity, this API lacks any type of locking and
    needs to be called before devlink_register() to make sure that no
    parallel access to the ops is possible at this stage.
    
    Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    bd032e35
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7