Re: [PATCH net-next 2.6] myri10ge: DCA update (resubmit)
From: David Miller <davem@davemloft.net>
Date: 2010-09-30 02:48:41
From: David Miller <davem@davemloft.net>
Date: 2010-09-30 02:48:41
From: Andrew Gallatin <redacted> Date: Tue, 28 Sep 2010 14:13:12 -0400
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: Andrew Gallatin <redacted>
Signed-off-by: Loic Prylli <redacted>Applied.