Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111328
b: refs/heads/master
c: c264361
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and Jeff Garzik committed Sep 3, 2008
1 parent 1e09b71 commit a45c96b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b39fe307b58fc6d71265eeed809ab799a2e2ec9
refs/heads/master: c264361d31bec0a444e0c4ffd40479e66eef6c15
6 changes: 4 additions & 2 deletions trunk/drivers/net/sfc/falcon_xmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,11 @@ void falcon_update_stats_xmac(struct efx_nic *efx)

/* Update derived statistics */
mac_stats->tx_good_bytes =
(mac_stats->tx_bytes - mac_stats->tx_bad_bytes);
(mac_stats->tx_bytes - mac_stats->tx_bad_bytes -
mac_stats->tx_control * 64);
mac_stats->rx_bad_bytes =
(mac_stats->rx_bytes - mac_stats->rx_good_bytes);
(mac_stats->rx_bytes - mac_stats->rx_good_bytes -
mac_stats->rx_control * 64);
}

int falcon_check_xmac(struct efx_nic *efx)
Expand Down

0 comments on commit a45c96b

Please sign in to comment.