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
  • David Wei's avatar
    netdevsim: add NAPI support · 3762ec05
    David Wei authored May 07, 2024
    
    
    Add NAPI support to netdevim, similar to veth.
    
    * Add a nsim_rq rx queue structure to hold a NAPI instance and a skb
      queue.
    * During xmit, store the skb in the peer skb queue and schedule NAPI.
    * During napi_poll(), drain the skb queue and pass up the stack.
    * Add assoc between rxq and NAPI instance using netif_queue_set_napi().
    
    Signed-off-by: default avatarDavid Wei <dw@davidwei.uk>
    Link: https://lore.kernel.org/r/20240507163228.2066817-2-dw@davidwei.uk
    
    
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    3762ec05
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7