diff options
author | jfv <jfv@FreeBSD.org> | 2009-09-03 22:00:42 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2009-09-03 22:00:42 +0000 |
commit | 45a57a7a4adb23bb53dea8e14d30f8bcc9091202 (patch) | |
tree | c86fe067e196fcadbd9316b775dbc7eef6e7ee18 | |
parent | 60eb51e7a3e3a1dfacd9d9284b7e21e1fe4de011 (diff) | |
download | FreeBSD-src-45a57a7a4adb23bb53dea8e14d30f8bcc9091202.zip FreeBSD-src-45a57a7a4adb23bb53dea8e14d30f8bcc9091202.tar.gz |
Stupid cut and paste error on a stats struct member, thanks
to Ryan at Small Tree for finding this one.
-rw-r--r-- | sys/dev/ixgbe/ixgbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index 23b1857..3c0f5ed 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -4507,7 +4507,7 @@ ixgbe_update_stats_counters(struct adapter *adapter) adapter->stats.lxoffrxc += IXGBE_READ_REG(hw, IXGBE_LXOFFRXC); /* 82598 only has a counter in the high register */ adapter->stats.gorc += IXGBE_READ_REG(hw, IXGBE_GORCH); - adapter->stats.gorc += IXGBE_READ_REG(hw, IXGBE_GOTCH); + adapter->stats.gotc += IXGBE_READ_REG(hw, IXGBE_GOTCH); adapter->stats.tor += IXGBE_READ_REG(hw, IXGBE_TORH); } |