Re: mpc52xx: Correct calculation of FEC RX errors???

2007-07-18 Thread Sylvain Munaut
Hi We are showing figures of more than 4 billion error frames in our ethernet interfaces. We have tested that the problem is in a substraction (the number of errors decrements with the number of frames). So... looking in the fec driver (fec.c) for the calculations we have seen that the

mpc52xx: Correct calculation of FEC RX errors???

2007-07-18 Thread Miguel Angel Alvarez
Hi We are showing figures of more than 4 billion error frames in our ethernet interfaces. We have tested that the problem is in a substraction (the number of errors decrements with the number of frames). So... looking in the fec driver (fec.c) for the calculations we have seen that the number

Re: [PATCH] mpc52xx: Correct calculation of FEC RX errors.

2007-05-28 Thread Sylvain Munaut
Nice catch, I knew something was wrong ( 4 billion errors ;) but I never bothered to look it up. Sylvain Grzegorz Bernacki wrote: 'ifconfig eth0' command for mpc5200B-based cards shows error for RX. However none of RX MIB counters is set to value greater than zero. Number of errors is equal

[PATCH] mpc52xx: Correct calculation of FEC RX errors.

2007-05-24 Thread Grzegorz Bernacki
'ifconfig eth0' command for mpc5200B-based cards shows error for RX. However none of RX MIB counters is set to value greater than zero. Number of errors is equal to number of multicast packet. In linux 2.4 calculation of RX errors is slightly different and takes into account number of multicast