Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe
  • Repository
  • ipipe
  • drivers
  • net
  • ethernet
  • cavium
  • thunder
  • thunder_bgx.c
Find file BlameHistoryPermalink
  • Robert Richter's avatar
    net: thunderx: Cleanup duplicate NODE_ID macros, add nic_get_node_id() · d768b678
    Robert Richter authored Jun 02, 2015
    
    
    There are duplicate NODE_ID macro definitions. Move all of them to
    nic.h for usage in nic and bgx driver and introduce nic_get_node_id()
    helper function.
    
    This patch also fixes 64bit mask which should have been ULL by
    reworking the node calculation.
    
    Signed-off-by: default avatarRobert Richter <rrichter@cavium.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d768b678

Imprint & Privacy Policy