Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2015 17:58:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 153936] [ixgbe] [patch] MPRC workaround incorrectly applied to 82599
Message-ID:  <bug-153936-2472-SWGhMiYd8y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-153936-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-153936-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=153936

Sean Bruno <sbruno@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-net@FreeBSD.org     |erj@freebsd.org
         Resolution|---                         |FIXED
             Status|In Progress                 |Closed

--- Comment #2 from Sean Bruno <sbruno@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-153936-2472-SWGhMiYd8y>