qcacmn: Do not account rx_desc_alloc fails for Rx packet error
Rx desc alloc failures foes not really reflect rx packet errors. So rx desc alloc failures shall not be counted as packet errors Change-Id: I85ed478bbb3af24ff680a338aca86d3b4548ad8d
This commit is contained in:

committed by
snandini

parent
4ff5e4ef13
commit
12f0091fad
@@ -8277,8 +8277,7 @@ static void dp_pdev_getstats(struct cdp_pdev *pdev_handle,
|
||||
stats->rx_bytes = pdev->stats.rx.unicast.bytes +
|
||||
pdev->stats.rx.multicast.bytes +
|
||||
pdev->stats.rx.bcast.bytes;
|
||||
stats->rx_errors = pdev->stats.err.desc_alloc_fail +
|
||||
pdev->stats.err.ip_csum_err +
|
||||
stats->rx_errors = pdev->stats.err.ip_csum_err +
|
||||
pdev->stats.err.tcp_udp_csum_err +
|
||||
pdev->stats.rx.err.mic_err +
|
||||
pdev->stats.rx.err.decrypt_err +
|
||||
|
Reference in New Issue
Block a user