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
  • drivers
  • net
  • netdevsim
  • netdev.c
Find file BlameHistoryPermalink
  • Sabrina Dubroca's avatar
    netdevsim: add dummy macsec offload · 02b34d03
    Sabrina Dubroca authored Jul 13, 2023
    
    
    When the kernel is compiled with MACsec support, add the
    NETIF_F_HW_MACSEC feature to netdevsim devices and implement
    macsec_ops.
    
    To allow easy testing of failure from the device, support is limited
    to 3 SecY's per netdevsim device, and 1 RXSC per SecY.
    
    v2:
     - nsim_macsec_add_secy, return -ENOSPC if secy_count isn't full but
       we can't find an empty slot (Simon Horman)
     - add sci_to_cpu to make sparse happy (Simon Horman)
     - remove set but not used secy variable (kernel test robot and
       Simon Horman)
    
    Signed-off-by: default avatarSabrina Dubroca <sd@queasysnail.net>
    Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    02b34d03
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7