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 callback pointer from desc_info · ae24a8f8
    Shannon Nelson authored Mar 06, 2024
    
    
    By reworking the queue service routines to have their own
    servicing loops we can remove the cb pointer from desc_info
    to save another 8 bytes per descriptor,
    
    This simplifies some of the queue handling indirection and makes
    the code a little easier to follow, and keeps service code in
    one place rather than jumping between code files.
    
       struct ionic_desc_info
    	Before:  /* size: 472, cachelines: 8, members: 7 */
    	After:   /* size: 464, cachelines: 8, members: 6 */
    
    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>
    ae24a8f8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7