[Bug 153936] [ixgbe] [patch] MPRC workaround incorrectly applied to 82599
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 30 17:58:40 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=153936
Sean Bruno <sbruno at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|freebsd-net at FreeBSD.org |erj at freebsd.org
Resolution|--- |FIXED
Status|In Progress |Closed
--- Comment #2 from Sean Bruno <sbruno at FreeBSD.org> ---
Current code now reflects the request in this ticket:
if_ix.c:
/*
* Workaround: mprc hardware is incorrectly counting
* broadcasts, so for now we subtract those.
*/
bprc = IXGBE_READ_REG(hw, IXGBE_BPRC);
adapter->stats.pf.bprc += bprc;
adapter->stats.pf.mprc += IXGBE_READ_REG(hw, IXGBE_MPRC);
if (hw->mac.type == ixgbe_mac_82598EB)
adapter->stats.pf.mprc -= bprc;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list