[dpdk-dev] [PATCH] net/i40e: fix corruption of VF stats via port representor

Remy Horton remy.horton at intel.com
Fri May 18 13:48:00 CEST 2018


Missing fixline, so v2 coming..

On 18/05/2018 08:59, Remy Horton wrote:
> The resetting of stats on a VF involves the setting of an offset
> that is subtracted from future calls, rather zeroing of counters.
> However doing a stats reset on the port representor was also
> adjusting the values forwarded to the VF, which had the effect of
> corrupting the VF's counters. The fix is for the port representor
> to maintain its own stats offset, so the port representor and VF
> maintain independently-resettable counters
>
> Signed-off-by: Remy Horton <remy.horton at intel.com>


More information about the dev mailing list