> -----Original Message----- > From: Zhang, Qi Z > Sent: Saturday, May 19, 2018 10:18 AM > To: Horton, Remy; [email protected] > Cc: Yigit, Ferruh; Xing, Beilei; Zhang, Helin; Wu, Jingjing > Subject: RE: [PATCH v2] i40e: fix corruption of VF stats via port representor > > > > > -----Original Message----- > > From: Horton, Remy > > Sent: Friday, May 18, 2018 7:50 PM > > To: [email protected] > > Cc: Yigit, Ferruh <[email protected]>; Zhang, Qi Z > > <[email protected]>; Xing, Beilei <[email protected]>; Zhang, > > Helin <[email protected]>; Wu, Jingjing <[email protected]> > > 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 <[email protected]> > > Title prefix should be "net/i40e", could be fix during apply > > Acked-by: Qi Zhang <[email protected]> Applied to dpdk-next-net-intel, thanks!
/Helin

