On Tue, Aug 05, 2008 at 01:15:29PM +0100, Ben Hutchings wrote:It does, however, for whatever reason the drriver relies on a software computed total packets counter rather than the hardware based on (possibly for the same reason, in that it counts frames the driver never actually sees). I asked John R. in the origional bug report why e1000 might do this, and while neither of us were sure, that seemed to be the consensus. I agree, but as it stands currently the numbers are obviously wrong, and I don't see a way to make them undenyably correct. We could use the hardware counter instead, but then we would be counting frames that various IPMI endpoints might consume, so that wouldn't be quite right. We could fix up the sofware counter based on the hardware counter, but that doesn't seem right either. We could inspect the packet in the driver, and do a software multicast frame counter, but that would be a big performance hit. So there is no great fix to this problem. This at least makes the stats sane, doesn't impact performance, and doesn't affect stats for which IPMI reception isn't an issue. John, you stopped commenting in the origional bug report, do you have any further thoughts on this as a fix to the issue at hand? Neil -- /**************************************************** * Neil Horman <nhorman@tuxdriver.com> * Software Engineer, Red Hat ****************************************************/ -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: fallocate-implementation-on-i86-x86_64-and-powerpc.patch |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Natalie Protasevich | [BUG] New Kernel Bugs |
