linux kernel - IOATDMA is not being used by network drivers -


i testing crystal beach dma on x86_64 intel xeon board. want test both e1000e , ixgbe drivers crystal beach dma.

i have patched ioatdma driver(pci.c , hw.h files ) crystal beach dma. facing issue both drivers not use channels @ all. bytes_transferred , memcpy_count zero.

following configurations –

kernel using 2.6.32.431

[root@hvtxrs82 dma]# pwd  /sys/class/dma  [root@hvtxrs82 dma]# ls  dma0chan0   dma12chan0  dma15chan0  dma3chan0  dma6chan0  dma9chan0  dma10chan0  dma13chan0  dma1chan0   dma4chan0  dma7chan0  dma11chan0  dma14chan0  dma2chan0   dma5chan0  dma8chan0 

i have inserted both e1000e , ixgbe drivers. , dmachannels show that.

[root@hvtxrs82 dma]# cat /sys/class/dma/dma0chan0/in_use 4 

lspci ouput -

80:04.0 system peripheral: intel corporation ivytown crystal beach dma channel 0 (rev 04)  80:04.1 system peripheral: intel corporation ivytown crystal beach dma channel 1 (rev 04)  80:04.2 system peripheral: intel corporation ivytown crystal beach dma channel 2 (rev 04)  80:04.3 system peripheral: intel corporation ivytown crystal beach dma channel 3 (rev 04)  80:04.4 system peripheral: intel corporation ivytown crystal beach dma channel 4 (rev 04)  80:04.5 system peripheral: intel corporation ivytown crystal beach dma channel 5 (rev 04)  80:04.6 system peripheral: intel corporation ivytown crystal beach dma channel 6 (rev 04)  80:04.7 system peripheral: intel corporation ivytown crystal beach dma channel 7 (rev 04) 

i have changed stack settings sysctl net.ipv4.tcp_dma_copybreak=1

[root@hvtxrs82 dma]# cat /sys/class/dma/dma0chan0/bytes_transferred  0 

same channels. ethtool shows traffic , packets received. why dma channels not getting used?


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -