| Summary: | net: RX frames and bytes not updated on some VLAN interfaces | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Enrico Scholz <rh-bugzilla> |
| Component: | kernel | Assignee: | Andy Gospodarek <agospoda> |
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0 | CC: | agospoda, arozansk, peterm |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-16 17:16:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I am able to reproduce this and have a fix. I need to audit this a bit more, but should be able to finish that today. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Luckily this is already fixed in our most recent development tree. It will be available in RHEL6.1. *** This bug has been marked as a duplicate of bug 633571 *** |
Description of problem: The RX counter (bytes + packets) of vlan enabled network interfaces is not updated. This seems to be e1000 specifc; another card (RTL8111/8168B) does not show these symptoms and increases the counter. --- host with e1000 --- # vconfig add eth3 42 # ifconfig eth3.42 10.66.1.1 netmask 255.255.255.240 # ping 10.66.1.2 &>/dev/null & # tcpdump -i eth3.42 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype IPv4 (0x0800), length 98: 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 35, length 64 00:0a:cd:1b:xx:yy > 00:1b:21:5a:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.2 > 10.66.1.1: ICMP echo reply, id 21840, seq 35, length 64 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype IPv4 (0x0800), length 98: 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 36, length 64 00:0a:cd:1b:xx:yy > 00:1b:21:5a:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.2 > 10.66.1.1: ICMP echo reply, id 21840, seq 36, length 64 # tcpdump -i eth3 -nnee 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 488, length 64 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 489, length 64 # LANG=C ifconfig eth3 eth3 Link encap:Ethernet HWaddr 00:1B:21:5A:xx:yy inet addr:192.168.235.129 Bcast:192.168.235.135 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:678 errors:0 dropped:0 overruns:0 frame:0 TX packets:6489 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:154818 (151.1 KiB) TX bytes:2165932 (2.0 MiB) Memory:d8080000-d80a0000 # LANG=C ifconfig eth3.42 eth3.42 Link encap:Ethernet HWaddr 00:1B:21:5A:xx:yy inet addr:10.66.1.1 Bcast:10.66.1.15 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:290 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:27748 (27.0 KiB) # cat /proc/net/vlan/eth3.42 eth3.42 VID: 42 REORDER_HDR: 1 dev->priv_flags: 1 total frames received 0 total bytes received 0 Broadcast/Multicast Rcvd 0 total frames transmitted 336 total bytes transmitted 32200 total headroom inc 0 total encap on xmit 0 Device: eth3 INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 EGRESS priority mappings: # lspci -v 01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Intel Corporation Gigabit CT Desktop Adapter Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at d8080000 (32-bit, non-prefetchable) [size=128K] Memory at d8000000 (32-bit, non-prefetchable) [size=512K] I/O ports at 2000 [size=32] Memory at d80a0000 (32-bit, non-prefetchable) [size=16K] [virtual] Expansion ROM at 40000000 [disabled] [size=256K] Capabilities: [c8] Power Management version 2 Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [e0] Express Endpoint, MSI 00 Capabilities: [a0] MSI-X: Enable+ Count=5 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 00-1b-21-ff-ff-5a-xx-yy Kernel driver in use: e1000e Kernel modules: e1000e --- host with rtl8111/8168b --- # vconfig add eth3 42 # ifconfig eth3.42 10.66.1.2 netmask 255.255.255.240 # tcpdump -i eth3.42 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype IPv4 (0x0800), length 98: 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 112, length 64 00:0a:cd:1b:xx:yy > 00:1b:21:5a:xx:yy, ethertype IPv4 (0x0800), length 98: 10.66.1.2 > 10.66.1.1: ICMP echo reply, id 21840, seq 112, length 64 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype IPv4 (0x0800), length 98: 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 113, length 64 00:0a:cd:1b:xx:yy > 00:1b:21:5a:xx:yy, ethertype IPv4 (0x0800), length 98: 10.66.1.2 > 10.66.1.1: ICMP echo reply, id 21840, seq 113, length 64 # tcpdump -i eth3 -nnee 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 568, length 64 00:0a:cd:1b:xx:yy > 00:1b:21:5a:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.2 > 10.66.1.1: ICMP echo reply, id 21840, seq 568, length 64 00:1b:21:5a:xx:yy > 00:0a:cd:1b:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.1 > 10.66.1.2: ICMP echo request, id 21840, seq 569, length 64 00:0a:cd:1b:xx:yy > 00:1b:21:5a:xx:yy, ethertype 802.1Q (0x8100), length 102: vlan 42, p 0, ethertype IPv4, 10.66.1.2 > 10.66.1.1: ICMP echo reply, id 21840, seq 569, length 64 # ifconfig eth3 eth3 Link encap:Ethernet HWaddr 00:0A:CD:1B:xx:yy inet addr:192.168.235.130 Bcast:192.168.235.135 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:295 errors:0 dropped:0 overruns:0 frame:0 TX packets:301 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:40806 (39.8 KiB) TX bytes:39770 (38.8 KiB) Interrupt:32 Base address:0x4000 # LANG=C ifconfig eth3.42 eth3.42 Link encap:Ethernet HWaddr 00:0A:CD:1B:xx:yy inet addr:10.66.1.2 Bcast:10.66.1.15 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:250 errors:0 dropped:0 overruns:0 frame:0 TX packets:250 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:21538 (21.0 KiB) TX bytes:23884 (23.3 KiB) # cat /proc/net/vlan/eth3.42 eth3.42 VID: 42 REORDER_HDR: 1 dev->priv_flags: 1 total frames received 359 total bytes received 31004 Broadcast/Multicast Rcvd 0 total frames transmitted 359 total bytes transmitted 34398 total headroom inc 0 total encap on xmit 0 Device: eth3 INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 EGRESS priority mappings: Version-Release number of selected component (if applicable): kernel-2.6.32-71.14.1.el6.x86_64