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

Zhang, Qi Z qi.z.zhang at intel.com
Sat May 19 04:17:59 CEST 2018



> -----Original Message-----
> From: Horton, Remy
> Sent: Friday, May 18, 2018 7:50 PM
> To: dev at dpdk.org
> Cc: Yigit, Ferruh <ferruh.yigit at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>;
> Xing, Beilei <beilei.xing at intel.com>; Zhang, Helin <helin.zhang at intel.com>;
> Wu, Jingjing <jingjing.wu at intel.com>
> Subject: [PATCH v2] i40e: fix corruption of VF stats via port representor
> 
> 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.
> 
> Fixes: e0cb96204b71 ("net/i40e: add support for representor ports")
> 
> Signed-off-by: Remy Horton <remy.horton at intel.com>

Title prefix should be "net/i40e", could be fix during apply

Acked-by: Qi Zhang <qi.z.zhang at intel.com>


 


More information about the dev mailing list