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
  • ethernet
  • pensando
  • ionic
  • ionic_dev.c
Find file BlameHistoryPermalink
  • Shannon Nelson's avatar
    ionic: remove the cq_info to save more memory · 65e548f6
    Shannon Nelson authored Mar 06, 2024
    
    
    With a little simple math we don't need another struct array to
    find the completion structs, so we can remove the ionic_cq_info
    altogether.  This doesn't really save anything in the ionic_cq
    since it gets padded out to the cacheline, but it does remove
    the parallel array allocation of 8 * num_descriptors, or about
    8 Kbytes per queue in a default configuration.
    
    Suggested-by: default avatarNeel Patel <npatel2@amd.com>
    Reviewed-by: default avatarBrett Creeley <brett.creeley@amd.com>
    Signed-off-by: default avatarShannon Nelson <shannon.nelson@amd.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    65e548f6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7