[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DUB108-W45246BF22ED8BAB93B78C8B2220@phx.gbl>
Date: Fri, 20 Apr 2012 10:34:53 +0200
From: Marco Berizzi <pupilla@...mail.com>
To: <tushar.n.dave@...el.com>
CC: <netdev@...r.kernel.org>, <eric.dumazet@...il.com>
Subject: RE: rx_dropped packets stop with tcpdump running
tushar.n.dave@...el.com wrote:
> Marco,
Hi Dave,
as pointed by Eric, the counter is
increasing because a windows box is
sending out packets with ethertype
0x886d
> Do you see any packet drop at HW level?
no, at hw level (ethtool -S eth2)
all is in good shape
> How are you measuring drop packet?
cat /sys/class/net/eth2/statistics/rx_dropped
> ethtool -S ethx shows you any packet drop?
no, all fine:
root@...i:~# ethtool -S eth2
NIC statistics:
rx_packets: 5939685
tx_packets: 6108953
rx_bytes: 1416989994
tx_bytes: 5089228182
rx_broadcast: 470407
tx_broadcast: 56489
rx_multicast: 135
tx_multicast: 0
rx_errors: 4
tx_errors: 0
tx_dropped: 0
multicast: 135
collisions: 0
rx_length_errors: 4
rx_over_errors: 0
rx_crc_errors: 0
rx_frame_errors: 0
rx_no_buffer_count: 0
rx_missed_errors: 0
tx_aborted_errors: 0
tx_carrier_errors: 0
tx_fifo_errors: 0
tx_heartbeat_errors: 0
tx_window_errors: 0
tx_abort_late_coll: 0
tx_deferred_ok: 0
tx_single_coll_ok: 0
tx_multi_coll_ok: 0
tx_timeout_count: 0
tx_restart_queue: 0
rx_long_length_errors: 0
rx_short_length_errors: 4
rx_align_errors: 0
tx_tcp_seg_good: 0
tx_tcp_seg_failed: 0
rx_flow_control_xon: 0
rx_flow_control_xoff: 0
tx_flow_control_xon: 0
tx_flow_control_xoff: 0
rx_long_byte_count: 1416989994
rx_csum_offload_good: 5252692
rx_csum_offload_errors: 3
rx_header_split: 0
alloc_rx_buff_failed: 0
tx_smbus: 0
rx_smbus: 0
dropped_smbus: 0
rx_dma_failed: 0
tx_dma_failed: 0
> Also can you please send me the eeprom dump
> of you card/LOM. ethtool -e ethx
here is the eeprom dump:
root@...i:~# ethtool -e eth2
Offset Values
------ ------
0x0000 00 19 99 ab 2e f6 20 0c 46 f7 01 10 ff ff ff ff
0x0010 31 31 30 32 6b 02 92 11 34 17 d3 10 ff ff 58 a8
0x0020 00 00 01 20 74 7e ff ff 00 10 c8 00 00 00 04 27
0x0030 c9 6c 50 31 3e 07 0b 46 84 21 40 01 00 f0 06 07
0x0040 00 60 80 00 04 0f ff 7f 01 4d 00 c6 00 00 ff 20
0x0050 28 00 93 00 50 00 01 01 01 00 b3 05 68 00 ff ff
0x0060 00 01 00 40 28 13 13 40 ff ff ff ff ff ff ff ff
0x0070 ff ff ff ff ff ff ff ff ff ff 20 01 ff ff 6b 08
0x0080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00a0 00 00 1f 38 0a 00 04 00 00 00 1f 38 07 00 04 00
0x00b0 00 00 1f 38 08 00 04 00 00 00 1f 38 09 00 04 00
0x00c0 02 01 01 00 ff ff ff ff ff ff ff ff ff ff ff ff
0x00d0 00 00 1f 38 0a 00 04 00 80 0a 00 20 ef ef ef ef
0x00e0 00 00 1f 38 0b 00 04 00 00 00 1f 38 03 00 04 00
0x00f0 00 00 1f 38 05 00 04 00 00 00 1f 38 02 00 04 00
0x0100 80 07 00 20 ef ef ef ef 00 04 00 00 04 04 00 00
0x0110 08 08 00 08 04 00 08 00 04 00 04 00 ff 00 00 00
0x0120 ff 00 00 04 00 00 00 00 00 00 00 00 01 01 01 00
0x0130 00 00 df 09 98 11 00 00 00 00 1f 38 01 00 04 00
0x0140 00 fd e4 67 00 01 00 00 02 1d 00 20 00 fd e5 7f
0x0150 81 50 00 00 02 15 00 20 20 7a e2 7f 02 06 00 20
0x0160 10 84 04 08 00 7c 3f 60 00 00 04 00 00 82 28 6a
0x0170 01 7a e0 67 01 82 28 72 00 22 0a 10 0a fe ff 61
0x0180 13 fc 44 10 00 00 00 00 00 00 1f 38 9e 02 04 00
0x0190 21 7a e2 7f 82 02 00 20 12 fe 08 88 01 7e 00 60
0x01a0 14 80 44 10 0b fe ff 61 80 fa ff 27 06 7a e2 7f
0x01b0 82 09 00 20 08 fe 04 40 00 fe 3f 60 02 02 80 11
0x01c0 02 02 80 11 02 02 80 11 02 7c 80 11 57 01 00 00
0x01d0 02 7c 40 11 06 00 00 00 78 fe 6a 50 04 80 21 08
0x01e0 02 fe 5f 60 40 02 1f 38 e0 04 04 00 00 80 21 08
0x01f0 04 fe 5f 60 40 02 1f 38 e0 04 04 00 0f fe ff 61
0x0200 17 7a e6 7f 02 02 00 20 00 17 e5 47 02 01 00 20
0x0210 24 fc 84 10 00 00 00 00 00 00 df 09 98 11 00 00
0x0220 00 17 e5 47 01 fc c6 79 00 00 00 00 00 1c 1f 10
0x0230 98 11 00 00 00 00 1f 38 0c 00 04 00 ff ff ff ff
0x0240 69 53 84 03 01 00 00 00 00 00 00 00 00 00 00 00
0x0250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0270 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0360 00 00 00 00 00 00 00 00 03 3d 00 00 00 00 00 00
0x0370 00 00 00 00 00 00 00 00 00 00 00 00 bc 0c 00 00
0x0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x03f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x04a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x04b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x04c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x04d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x04e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x04f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0510 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0550 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0570 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0590 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x05a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x05b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x05c0 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff
[...]
0x7ff0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists