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

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Dec 1 11:43:15 CET 2015



> -----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
> 
> 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: Michael Qiu <michael.qiu at intel.com>
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>


More information about the dev mailing list