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
  • netdev_rx_queue.h
Find file BlameHistoryPermalink
  • Jakub Kicinski's avatar
    net: move struct netdev_rx_queue out of netdevice.h · 49e47a5b
    Jakub Kicinski authored Aug 02, 2023
    
    
    struct netdev_rx_queue is touched in only a few places
    and having it defined in netdevice.h brings in the dependency
    on xdp.h, because struct xdp_rxq_info gets embedded in
    struct netdev_rx_queue.
    
    In prep for removal of xdp.h from netdevice.h move all
    the netdev_rx_queue stuff to a new header.
    
    We could technically break the new header up to avoid
    the sysfs.h include but it's so rarely included it
    doesn't seem to be worth it at this point.
    
    Reviewed-by: default avatarAmritha Nambiar <amritha.nambiar@intel.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    Acked-by: default avatarJesper Dangaard Brouer <hawk@kernel.org>
    Link: https://lore.kernel.org/r/20230803010230.1755386-3-kuba@kernel.org
    
    
    Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
    49e47a5b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7