I'm trying to get the linux networking stack to start using ioatdma (and,
ideally, DCA as well).

Despite my efforts, the "/sys/class/dma/dma*chan*/in_use" is never set to
1, and the memcpy_count and bytes_transferred stay at 0.

I'm working with two systems, one using igb, and the other using ixgbe, I
have the same results with both. I've tried the in-kernel igb driver (for
82576), as well as the three most recent ixgbe drivers (for 82599EB), same
results (though sometimes "in_use" is 5, or 8, instead of 2).

What am I missing?

System is a SuperMicro X8DTU-F motherboard. IOA/T and DCA are both enabled
in BIOS (v2.1b). CPU is Intel Xeon X5570. 1G NIC is onboard 82576-based.
10G NIC is Intel X520-DA2.

[root@testbox5 ~]# dmesg | grep dca
dca service started, version 1.12.1

[root@testbox5 ~]# dmesg | grep ioatdma
ioatdma: Intel(R) QuickData Technology Driver 4.00
ioatdma 0000:00:16.0: irq 70 for MSI/MSI-X
ioatdma 0000:00:16.1: irq 71 for MSI/MSI-X
ioatdma 0000:00:16.2: irq 72 for MSI/MSI-X
ioatdma 0000:00:16.3: irq 73 for MSI/MSI-X
ioatdma 0000:00:16.4: irq 74 for MSI/MSI-X
ioatdma 0000:00:16.5: irq 75 for MSI/MSI-X
ioatdma 0000:00:16.6: irq 76 for MSI/MSI-X
ioatdma 0000:00:16.7: irq 77 for MSI/MSI-X

[root@testbox5 ~]# ethtool -i eth0
driver: igb
version: 3.2.10-k
firmware-version: 1.4-3
bus-info: 0000:01:00.0

[root@testbox5 ~]# uname -a
Linux testbox5 3.4.38-sx #2 SMP PREEMPT Wed Apr 3 11:10:32 CDT 2013 x86_64
x86_64 x86_64 GNU/Linux

[root@testbox5 ~]# cat /sys/class/dma/dma*chan*/in_use
2
2
2
2
2
2
2
2
[root@testbox5 ~]# cat /sys/class/dma/dma*chan*/bytes_transferred
0
0
0
0
0
0
0
0
[root@testbox5 ~]# cat /sys/class/dma/dma*chan*/memcpy_count
0
0
0
0
0
0
0
0

[root@testbox5 ~]# zcat /proc/config.gz | grep NET_DMA
CONFIG_NET_DMA=y
[root@testbox5 ~]# zcat /proc/config.gz | grep ASYNC_TX_DMA
CONFIG_ASYNC_TX_DMA=y
[root@testbox5 ~]# zcat /proc/config.gz | grep IOATDMA
CONFIG_INTEL_IOATDMA=y
[root@testbox5 ~]# zcat /proc/config.gz | grep DCA
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_NF_CONNTRACK_BROADCAST=m
CONFIG_IGB_DCA=y
CONFIG_IXGBE_DCA=y
CONFIG_DCA=y
CONFIG_DCACHE_WORD_ACCESS=y

[root@testbox5 ~]# lspci | grep QuickData
00:16.0 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)
00:16.1 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)
00:16.2 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)
00:16.3 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)
00:16.4 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)
00:16.5 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)
00:16.6 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)
00:16.7 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 13)

[root@testbox5 ~]# lspci | grep Ethernet
01:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)
03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)


Thanks,

Scott Silverman
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to