[dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down

2015-12-01 Thread Harry van Haaren
This patch fixes tx byte statistics when transmitting packets with link down. Previously, the counter would decrement 4 bytes for each packet that was transmitted with link down, causing the uint64 to wrap around. Fixes: c03fcee9abbd ("ixgbe: remove CRC size from byte counters") Reported-by: Mic

[dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down

2015-12-01 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Tuesday, December 01, 2015 10:26 AM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down >

[dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down

2015-12-06 Thread Thomas Monjalon
> > This patch fixes tx byte statistics when transmitting packets > > with link down. > > > > Previously, the counter would decrement 4 bytes for each packet that > > was transmitted with link down, causing the uint64 to wrap around. > > > > Fixes: c03fcee9abbd ("ixgbe: remove CRC size from byte