liquidio: Corrected Rx bytes counting
Subsystems (3)
PATCH 1/1 liquidio: Corrected Rx bytes counting
From: Intiyaz Basha <[email protected]>
Corrected stats mismatch between Host Tx and its peer Rx stats
Signed-off-by Intiyaz Basha <[email protected]>
Acked-by Derek Chickles <[email protected]>
Signed-off-by Felix Manlunas <[email protected]>
--- drivers/net/ethernet/cavium/liquidio/lio_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/cavium/liquidio/lio_core.c +2 -1
@@ -571,7 +571,8 @@ static int octeon_setup_droq(struct octeon_device *oct, int q_no, int num_descs,napi_gro_receive (napi, skb); - droq->stats.rx_bytes_received += len; + droq->stats.rx_bytes_received += len - + rh->r_dh.len *BYTES_PER_DHLEN_UNIT ; droq->stats.rx_pkts_received++; }else {recv_buffer_free (skb);
Signature · 1 line
1.8.3.1
From: Felix Manlunas <[email protected]>
Date: Fri, 2 Mar 2018 18:29:04 -0800
Quoted 7 lines
From: Intiyaz Basha <[email protected]>
Corrected stats mismatch between Host Tx and its peer Rx stats
Signed-off-by Intiyaz Basha <[email protected]>Acked-by Derek Chickles <[email protected]>Signed-off-by Felix Manlunas <[email protected]>
Applied.