On 15.4.2011 12:49, Reyk Floeter wrote:
On Thu, Apr 14, 2011 at 04:37:31PM +0000, Stuart Henderson wrote:
01:20:38.556705 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.3.3.2 tell 10.3.3.1
your config is OK, something is broken there. I guess this will make
it function but it's not a correct fix.
well, it works fine on the 82598 (heavily tested and used in
production here) but seems to be broken on the 82599. it is either a
hardware bug on the 82599 or related to the fact that it uses slighlty
different advanced descriptors. this should be a more accurate
workaround for now (until we're able to fix it on the 82599):
#if NVLAN> 0
if (hw->mac.type == ixgbe_mac_82598EB)
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;
#endif
hello,
here is tcpdump from directly connected ix interfaces on rtr1 and rtr2
with applied patch, it's still the same
rtr1 - 10.4.4.1
# tcpdump -i ix1
tcpdump: listening on ix1, link-type EN10MB
22:04:57.558393 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.2 tell 10.4.4.1
22:04:58.565373 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.2 tell 10.4.4.1
22:04:59.575372 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.2 tell 10.4.4.1
22:05:00.585378 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.2 tell 10.4.4.1
22:05:01.595384 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.2 tell 10.4.4.1
22:05:09.367744 802.1Q vid 123 pri 0 arp who-has 10.4.4.1 tell 10.4.4.2
22:05:10.370152 802.1Q vid 123 pri 0 arp who-has 10.4.4.1 tell 10.4.4.2
22:05:11.380153 802.1Q vid 123 pri 0 arp who-has 10.4.4.1 tell 10.4.4.2
22:05:12.390167 802.1Q vid 123 pri 0 arp who-has 10.4.4.1 tell 10.4.4.2
22:05:13.400168 802.1Q vid 123 pri 0 arp who-has 10.4.4.1 tell 10.4.4.2
rtr2 - 10.4.4.2
# tcpdump -i ix1
tcpdump: listening on ix1, link-type EN10MB
22:04:57.557884 802.1Q vid 123 pri 0 arp who-has 10.4.4.2 tell 10.4.4.1
22:04:58.564864 802.1Q vid 123 pri 0 arp who-has 10.4.4.2 tell 10.4.4.1
22:04:59.574863 802.1Q vid 123 pri 0 arp who-has 10.4.4.2 tell 10.4.4.1
22:05:00.584868 802.1Q vid 123 pri 0 arp who-has 10.4.4.2 tell 10.4.4.1
22:05:01.594875 802.1Q vid 123 pri 0 arp who-has 10.4.4.2 tell 10.4.4.1
22:05:09.367257 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.1 tell 10.4.4.2
22:05:10.369665 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.1 tell 10.4.4.2
22:05:11.379665 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.1 tell 10.4.4.2
22:05:12.389679 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.1 tell 10.4.4.2
22:05:13.399681 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.4.4.1 tell 10.4.4.2
without vlans on ix interface ip4 and ip6 is working
# tcpdump -i ix1
tcpdump: listening on ix1, link-type EN10MB
tcpdump: WARNING: compensating for unaligned libpcap packets
22:15:26.094897 fe80::21b:21ff:fe9e:6ea1 > fe80::21b:21ff:fe9e:6c99:
icmp6: echo request
22:15:26.095030 fe80::21b:21ff:fe9e:6c99 > fe80::21b:21ff:fe9e:6ea1:
icmp6: echo reply
22:15:26.128965 fe80::21b:21ff:fe9e:6c99 > fe80::21b:21ff:fe9e:6ea1:
icmp6: echo request
22:15:26.128982 fe80::21b:21ff:fe9e:6ea1 > fe80::21b:21ff:fe9e:6c99:
icmp6: echo reply
tcpdump: WARNING: compensating for unaligned libpcap packets
22:15:26.168977 10.5.5.1 > 10.5.5.2: icmp: echo request
22:15:26.168988 10.5.5.2 > 10.5.5.1: icmp: echo reply
22:15:27.094904 fe80::21b:21ff:fe9e:6ea1 > fe80::21b:21ff:fe9e:6c99:
icmp6: echo request
22:15:27.095038 fe80::21b:21ff:fe9e:6c99 > fe80::21b:21ff:fe9e:6ea1:
icmp6: echo reply
22:15:27.128972 fe80::21b:21ff:fe9e:6c99 > fe80::21b:21ff:fe9e:6ea1:
icmp6: echo request
22:15:27.128988 fe80::21b:21ff:fe9e:6ea1 > fe80::21b:21ff:fe9e:6c99:
icmp6: echo reply
22:15:27.178969 10.5.5.1 > 10.5.5.2: icmp: echo request
22:15:27.178980 10.5.5.2 > 10.5.5.1: icmp: echo reply
tcpbench (mtu 9014)
# tcpbench 10.5.5.2
elapsed_ms bytes mbps bwidth
1000 153454782 1227.638 100.00%
Conn: 1 Mbps: 1227.638 Peak Mbps: 1227.638 Avg Mbps: 1227.638
2000 240513194 1924.106 100.00%
Conn: 1 Mbps: 1924.106 Peak Mbps: 1924.106 Avg Mbps: 1924.106
3000 291981960 2335.856 100.00%
Conn: 1 Mbps: 2335.856 Peak Mbps: 2335.856 Avg Mbps: 2335.856
4000 322381064 2579.049 100.00%
Conn: 1 Mbps: 2579.049 Peak Mbps: 2579.049 Avg Mbps: 2579.049
5001 430417974 3443.344 100.00%
Conn: 1 Mbps: 3443.344 Peak Mbps: 3443.344 Avg Mbps: 3443.344
6001 441683208 3533.466 100.00%
Conn: 1 Mbps: 3533.466 Peak Mbps: 3533.466 Avg Mbps: 3533.466
7001 440813894 3526.511 100.00%
Conn: 1 Mbps: 3526.511 Peak Mbps: 3533.466 Avg Mbps: 3526.511
8001 440753406 3526.027 100.00%
Conn: 1 Mbps: 3526.027 Peak Mbps: 3533.466 Avg Mbps: 3526.027
9002 440598806 3524.790 100.00%
Conn: 1 Mbps: 3524.790 Peak Mbps: 3533.466 Avg Mbps: 3524.790
# tcpbench fe80::21b:21ff:fe9e:6ea1%ix1
elapsed_ms bytes mbps bwidth
1000 126957016 1015.656 100.00%
Conn: 1 Mbps: 1015.656 Peak Mbps: 1015.656 Avg Mbps: 1015.656
2000 238411604 1907.293 100.00%
Conn: 1 Mbps: 1907.293 Peak Mbps: 1907.293 Avg Mbps: 1907.293
3000 276495582 2211.965 100.00%
Conn: 1 Mbps: 2211.965 Peak Mbps: 2211.965 Avg Mbps: 2211.965
4000 321402306 2571.218 100.00%
Conn: 1 Mbps: 2571.218 Peak Mbps: 2571.218 Avg Mbps: 2571.218
5000 416312694 3330.502 100.00%
Conn: 1 Mbps: 3330.502 Peak Mbps: 3330.502 Avg Mbps: 3330.502
6001 442825724 3542.606 100.00%
Conn: 1 Mbps: 3542.606 Peak Mbps: 3542.606 Avg Mbps: 3542.606
7002 441692916 3533.543 100.00%
Conn: 1 Mbps: 3533.543 Peak Mbps: 3542.606 Avg Mbps: 3533.543
8002 442494406 3539.955 100.00%
Conn: 1 Mbps: 3539.955 Peak Mbps: 3542.606 Avg Mbps: 3539.955
9002 443019158 3544.153 100.00%
Conn: 1 Mbps: 3544.153 Peak Mbps: 3544.153 Avg Mbps: 3544.153
10002 443502026 3548.016 100.00%
Conn: 1 Mbps: 3548.016 Peak Mbps: 3548.016 Avg Mbps: 3548.016
11002 443233766 3545.870 100.00%
is there any other info that i can provide ?
thank you ..
--
/hrvoje