2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/net/benet
Sathya Perla 6e53391cb4 be2net: fix netdev_stats_update
Problem initially reproted and fixed by Eric Dumazet <eric.dumazet@gmail.com>

netdev_stats_update() resets netdev->stats and then accumulates stats from
various rings. This is wrong as stats readers can sometimes catch zero values.
Use temporary variables instead for accumulating per-ring values.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-27 00:09:31 -07:00
..
be_cmds.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
be_cmds.h be2net: Fallback to the older opcode if MCC_CREATE_EXT opcode is not supported on the card 2011-05-31 22:15:28 -07:00
be_ethtool.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
be_hw.h be2net: Support for FAT dump retrieval using ethtool --register-dump option 2011-03-30 21:39:19 -07:00
be_main.c be2net: fix netdev_stats_update 2011-06-27 00:09:31 -07:00
be.h net: Remove unneeded version.h includes from drivers/net/ 2011-06-24 02:40:08 -07:00
Kconfig be2net: remove ASIC generation number from Kconfig 2010-02-12 12:28:00 -08:00
Makefile