[dpdk-dev] [PATCH 0/2] fix vf statistic wraparound handling in macro

Harry van Haaren harry.van.haaren at intel.com
Mon Oct 12 18:45:31 CEST 2015


The following two patches fix a misinterpretation of the cyclic
counters of igb and ixgbe VF. When the 32bit value wraps around,
the code now handles the wrapped new value appropriatly.

v2:
- Reimplemented with Alex's suggested fix for off-by-one

v1:
- Initial implementation

Harry van Haaren (2):
  ixgbe: fix VF statistic wraparound handling macro
  igb: fix VF statistic wraparound handling macro

 drivers/net/e1000/igb_ethdev.c   | 3 +--
 drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

-- 
1.9.1



More information about the dev mailing list