http://qa.mandrakesoft.com/show_bug.cgi?id=3430
------- Additional Comments From [EMAIL PROTECTED] 2003-02-07 12:09 ------- Still hasn't changed, the Receive bytes and Transmit bytes counters still stop at the defined values. -- Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------- Reminder: ------- assigned_to: [EMAIL PROTECTED] status: NEW creation_date: description: eth0 is the Broadcom Corporation NetXtreme NIC Module used is tg3 for the Broadcom Corporation NetXtreme BCM5702X Gigabit Ethernet NIC (copper). Now, to my problem... Taking a look at /proc/net/dev for eth0 gives this output: # grep eth0 /proc/net/dev eth0:4294967295 380546774 0 0 0 0 0 160585 4294967295 305679013 0 0 0 0 0 0 One minute later: # grep eth0 /proc/net/dev eth0:4294967295 380636014 0 0 0 0 0 160616 4294967295 305752037 0 0 0 0 0 0 And another minute later: # grep eth0 /proc/net/dev eth0:4294967295 380726683 0 0 0 0 0 160646 4294967295 305827998 0 0 0 0 0 0 During this period of time the interface transferred approimately 8Mbps from the Internet and 3Mbps to the Internet in average. Take a look at Receive bytes and Transmit bytes counters. They have stalled. Packet counters seems ok though. It I'm correct these counters are 32 bits wide, and should wrap around at (1>>32)-1 (4294967295) which seem to be the value where they stalled. # ------ A brief look into /usr/src/linux/drivers/net/tg3.h shows that all statistics are 64 bits integer. Could that be the explanation? /usr/src/linux/drivers/net/tg3.h: # --- cut here --- typedef struct { u32 high, low; } tg3_stat64_t; struct tg3_hw_stats { u8 __reserved0[0x400-0x300]; /* Statistics maintained by Receive MAC. */ tg3_stat64_t rx_octets; u64 __reserved1; tg3_stat64_t rx_fragments; tg3_stat64_t rx_ucast_packets; tg3_stat64_t rx_mcast_packets; tg3_stat64_t rx_bcast_packets; <snip> # --- cut here ---
