[patch] e1000 stats cleanup

Andrew Boyer aboyer at averesystems.com
Wed Aug 8 14:20:18 UTC 2012


This patch fixes a nit in the em, lem, and igb driver statistics, similar to what I proposed for ixgbe a few days ago.  Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritten by hw stats collection.

Comments welcome.

-Andrew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: e1000_stats.diff
Type: application/octet-stream
Size: 1354 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20120808/a83773b2/e1000_stats.obj
-------------- next part --------------


--------------------------------------------------
Andrew Boyer	aboyer at averesystems.com






More information about the freebsd-net mailing list