[prev in list] [next in list] [prev in thread] [next in thread] 

List:       e1000-devel
Subject:    [E1000-devel] e1000e-3.8.4 82574L udp drop data
From:       "=?gb18030?B?oe5ZTE2h7g==?=" <497011138 () qq ! com>
Date:       2021-01-24 12:55:59
Message-ID: tencent_488ACA8DBEBC58F06B7F0EB65C2D3AE99309 () qq ! com
[Download RAW message or body]

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:&nbsp; 160 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.32.38, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:&nbsp; 160 KByte (default)
------------------------------------------------------------
[&nbsp; 4] local 192.168.32.30 port 43516 connected with 192.168.32.38 port 5001
[&nbsp; 3] local 192.168.32.30 port 5001 connected with 192.168.32.38 port 53967
[ ID] Interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Transfer&nbsp;&nbsp;&nbsp;&nbsp; \
Bandwidth [&nbsp; 4]&nbsp; 0.0- 1.0 sec&nbsp; 11.5 MBytes&nbsp; 96.3 Mbits/sec
[&nbsp; 3]&nbsp; 0.0- 1.0 sec&nbsp; 11.1 MBytes&nbsp; 92.8 Mbits/sec&nbsp;&nbsp; \
0.111 ms&nbsp;&nbsp;&nbsp; 0/ 7895 (0%) [&nbsp; 4]&nbsp; 1.0- 2.0 sec&nbsp; 11.4 \
MBytes&nbsp; 95.8 Mbits/sec [&nbsp; 3]&nbsp; 1.0- 2.0 sec&nbsp; 11.1 MBytes&nbsp; \
93.5 Mbits/sec&nbsp;&nbsp; 0.122 ms&nbsp;&nbsp;&nbsp; 0/ 7951 (0%) [&nbsp; 4]&nbsp; \
2.0- 3.0 sec&nbsp; 11.4 MBytes&nbsp; 95.7 Mbits/sec [&nbsp; 3]&nbsp; 2.0- 3.0 \
sec&nbsp; 11.4 MBytes&nbsp; 95.2 Mbits/sec&nbsp;&nbsp; 0.110 ms&nbsp;&nbsp;&nbsp; 0/ \
8098 (0%) [&nbsp; 4]&nbsp; 3.0- 4.0 sec&nbsp; 11.4 MBytes&nbsp; 95.6 Mbits/sec
[&nbsp; 3]&nbsp; 3.0- 4.0 sec&nbsp; 11.2 MBytes&nbsp; 94.2 Mbits/sec&nbsp;&nbsp; \
0.113 ms&nbsp;&nbsp;&nbsp; 0/ 8007 (0%) [&nbsp; 4]&nbsp; 4.0- 5.0 sec&nbsp; 11.4 \
MBytes&nbsp; 95.9 Mbits/sec [&nbsp; 3]&nbsp; 4.0- 5.0 sec&nbsp; 11.4 MBytes&nbsp; \
95.5 Mbits/sec&nbsp;&nbsp; 0.168 ms 37824/45942 (82%) [&nbsp; 4]&nbsp; 5.0- 6.0 \
sec&nbsp; 11.4 MBytes&nbsp; 95.5 Mbits/sec [&nbsp; 3]&nbsp; 5.0- 6.0 sec&nbsp; 11.3 \
MBytes&nbsp; 94.9 Mbits/sec&nbsp;&nbsp; 1.223 ms 71561/79630 (90%) [&nbsp; 4]&nbsp; \
6.0- 7.0 sec&nbsp; 11.4 MBytes&nbsp; 96.0 Mbits/sec [&nbsp; 3]&nbsp; 6.0- 7.0 \
sec&nbsp; 11.3 MBytes&nbsp; 94.7 Mbits/sec&nbsp;&nbsp; 0.207 ms 67668/75721 (89%) \
[&nbsp; 4]&nbsp; 7.0- 8.0 sec&nbsp; 11.4 MBytes&nbsp; 95.5 Mbits/sec [&nbsp; 3]&nbsp; \
7.0- 8.0 sec&nbsp; 11.3 MBytes&nbsp; 94.5 Mbits/sec&nbsp;&nbsp; 0.187 ms 69542/77574 \
(90%)





&nbsp;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&nbsp;&nbsp;&nbsp; \
manage.o 80003es2lan.o 82571.o param.o kcompat.o all:
&nbsp;&nbsp; &nbsp;make -C $(KERN_DIR) M=`pwd` modules 
&nbsp;
clean:
&nbsp;&nbsp; &nbsp;make -C $(KERN_DIR) M=`pwd` modules clean
&nbsp;&nbsp; &nbsp;rm -rf modules.order




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


why drop data?need some parameters add?



lemmy
wuhan£¬hubei£¬china¡£


&nbsp;
_______________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic