device is 82574. install e10000e.ko in imx6,create new net device eth2

but i used perf test net device eth2,has drop data and kernel not error





perf info
window server:
iperf.exe -s -u

linux client:

root@myimx6ek200:~# iperf -u -c 192.168.32.38 -b 100M -d -i 1 -l 1470
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.32.38, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  4] local 192.168.32.30 port 43516 connected with 192.168.32.38 port 5001
[  3] local 192.168.32.30 port 5001 connected with 192.168.32.38 port 53967
[ ID] Interval       
Transfer     Bandwidth
[  4]  0.0- 1.0 sec  11.5 MBytes  96.3 Mbits/sec
[  3]  0.0- 1.0 sec  11.1 MBytes  92.8 
Mbits/sec   0.111 ms    0/ 7895 (0%)
[  4]  1.0- 2.0 sec  11.4 MBytes  95.8 Mbits/sec
[  3]  1.0- 2.0 sec  11.1 MBytes  93.5 
Mbits/sec   0.122 ms    0/ 7951 (0%)
[  4]  2.0- 3.0 sec  11.4 MBytes  95.7 Mbits/sec
[  3]  2.0- 3.0 sec  11.4 MBytes  95.2 
Mbits/sec   0.110 ms    0/ 8098 (0%)
[  4]  3.0- 4.0 sec  11.4 MBytes  95.6 Mbits/sec
[  3]  3.0- 4.0 sec  11.2 MBytes  94.2 
Mbits/sec   0.113 ms    0/ 8007 (0%)
[  4]  4.0- 5.0 sec  11.4 MBytes  95.9 Mbits/sec
[  3]  4.0- 5.0 sec  11.4 MBytes  95.5 
Mbits/sec   0.168 ms 37824/45942 (82%)
[  4]  5.0- 6.0 sec  11.4 MBytes  95.5 Mbits/sec
[  3]  5.0- 6.0 sec  11.3 MBytes  94.9 
Mbits/sec   1.223 ms 71561/79630 (90%)
[  4]  6.0- 7.0 sec  11.4 MBytes  96.0 Mbits/sec
[  3]  6.0- 7.0 sec  11.3 MBytes  94.7 
Mbits/sec   0.207 ms 67668/75721 (89%)
[  4]  7.0- 8.0 sec  11.4 MBytes  95.5 Mbits/sec
[  3]  7.0- 8.0 sec  11.3 MBytes  94.5 
Mbits/sec   0.187 ms 69542/77574 (90%)





 because imx6 is embeded system,so makefile changed,two function not 
define,add two function.

makefile:
KERN_DIR = /root/imx6/linux-3.14.52
obj-m += e1000e.o

e1000e-objs := netdev.o ethtool.o ich8lan.o mac.o nvm.o phy.o    
manage.o 80003es2lan.o 82571.o param.o kcompat.o
all:
    make -C $(KERN_DIR) M=`pwd` modules 
 
clean:
    make -C $(KERN_DIR) M=`pwd` modules clean
    rm -rf modules.order




install driver info:
[   37.598115] e1000e: Intel(R) PRO/1000 Network Driver - 3.8.4-NAPI
[   37.602913] e1000e: Copyright(c) 1999 - 2020 Intel Corporation.
[   37.607860] linux ver 30e34
[   37.609480] PCI: enabling device 0000:01:00.0 (0140 -> 0142)
[   37.614302] e1000e 0000:01:00.0: Interrupt Throttling Rate 
(ints/sec) set to dynamic conservative mode
[   37.746427] e1000e 0000:01:00.0 eth2: (PCI Express:2.5GT/s:Width 
x1) 1c:fd:08:70:6d:c0
[   37.753055] e1000e 0000:01:00.0 eth2: Intel(R) PRO/1000 Network 
Connection
[   37.758724] e1000e 0000:01:00.0 eth2: MAC: 3, PHY: 8, PBA No: 
E25867-006
[   77.895453] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[   77.899995] 8021q: adding VLAN 0 to HW filter on device eth2
[   91.395610] e1000e 0000:01:00.0 eth2: NIC Link is Up 100 Mbps Full 
Duplex, Flow Control: Rx/Tx
[   91.403042] e1000e 0000:01:00.0 eth2: 10/100 speed: disabling TSO
[   91.408349] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready


why drop data?need some parameters add?



lemmy
wuhan??hubei??china??


 
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://forums.intel.com/s/topic/0TO0P00000018NbWAI/intel-ethernet

Reply via email to