Re: [E1000-devel] DCA and DDIO detection

2016-11-03 Thread Michał Purzyński
Indeed, DCA is active and the tag changes as your described. ./ethregs | egrep 'DCA_RXCTRL\[000\]' DCA_RXCTRL[000]1f0002a0 DCA_RXCTRL[000]1f0002a0 ./ethregs | egrep 'DCA_TXCTRL\[000\]' DCA_TXCTRL[000]1f002220 DCA_TXCTRL[000]1f002220 set_irq_affinit

Re: [E1000-devel] DCA and DDIO detection

2016-11-01 Thread Alexander Duyck
DDIO and DCA can run at the same time if I recall. The only thing you have to watch out for is if the DCA is misconfigured in the BIOS. Based on the fact that you have 0x1F in the tag field I am guessing you probably don't have too many sockets on the system. If you have multiple sockets it is p

Re: [E1000-devel] DCA and DDIO detection

2016-11-01 Thread Michał Purzyński
Did I ruin DDIO with DCA=2 parameter to X520? Looking at the driver code, I just enabled DCA instead. > On 1 Nov 2016, at 20:56, Alexander Duyck wrote: > > On Tue, Nov 1, 2016 at 12:04 PM, Michał Purzyński > wrote: >> Looking through some old posts on e1000 I found that one can detect if DCA >

Re: [E1000-devel] DCA and DDIO detection

2016-11-01 Thread Alexander Duyck
On Tue, Nov 1, 2016 at 12:04 PM, Michał Purzyński wrote: > Looking through some old posts on e1000 I found that one can detect if DCA > is enabled with ethregs. Are these registers per queue? Here, the X520 is > configured with a single queue and the highest bits are set only for > DCA_RXCTRL[000]