VLAN I/F's and TX queue.
From: Joakim Tjernlund <hidden>
Date: 2010-05-03 11:34:39
We noted dropped pkgs on our VLAN interfaces and i stated to look
for a cause. Here is a ifconfig example:
eth0 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:EE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8886910 errors:0 dropped:0 overruns:0 frame:0
TX packets:8880219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1626842951 (1.5 GiB) TX bytes:1555540810 (1.4 GiB)
eth0.1 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:EE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2163164 errors:0 dropped:0 overruns:0 frame:0
TX packets:2161943 errors:0 dropped:98 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2467090557 (2.2 GiB) TX bytes:2480246455 (2.3 GiB)
eth0.1.1 Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:EE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2163164 errors:0 dropped:0 overruns:0 frame:0
TX packets:2161943 errors:0 dropped:98 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2458437901 (2.2 GiB) TX bytes:2471598683 (2.3 GiB)
Here I note that txqueuelen is 0 for eth0.1/eth0.1.1 and 100 for eth0 and
that it is only eth0.1 and eth0.1.1 that drops pkgs. It feels as if eth0.1
bypasses eth0's tx queue and passes pkgs directly to the HW driver. Is that so?
If so, that feels a bit strange and I am not sure how to best
fix this. Any ides?
Using kernel 2.6.33
Jocke