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
> -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
3 matches
Mail list logo