Skip to content
  • Andrew Gallatin's avatar
    myri10ge: DCA update (resubmit) · ef09aadf
    Andrew Gallatin authored
    
    
    This patch contains the following DCA improvements to myri10ge:
    
    1) Finally move myri10ge to use dca3 API
    
    2) Disable PCIe relaxed ordering when enabling DCA on
         myri10ge.  This provides a performance boost on Nehalem
         based Xeons
    
    3) Make sure to properly initialize NIC's DCA state when it is enabled,
         rather than giving the NIC a bogus tag (0) and waiting for
         the first received packet to trigger an update.  Not using a
         real tag can cause hardware exceptions on some motherboards
         when a CPU socket is empty.
    
    3) Always update the cached CPU when our interrupt affinity changes
         so as to avoid excessive calls to dca3_get_tag()
    
    Signed-off-by: default avatarAndrew Gallatin <gallatin@myri.com>
    Signed-off-by: default avatarLoic Prylli <loic@myri.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ef09aadf