diff options
author | Sunil Goutham <sgoutham@cavium.com> | 2016-02-16 16:29:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-15 08:27:46 +0200 |
commit | 4c79345330edabd74f5d2e12067a8c1e762abe53 (patch) | |
tree | 52b2a94760a45a9773e12ab5c795cc035957e585 /drivers/net/phy | |
parent | 61c188313c6c0808339c3dc034adfc255d84bf32 (diff) |
net: thunderx: Fix receive packet stats
[ Upstream commit ad2ecebd67d8a80fe5412d11df375a5ed2db7cd1 ]
Counting rx packets for every CQE_RX in CQ irq handler is incorrect.
Synchronization is missing when multiple queues are receiving packets
simultaneously. Like transmit packet stats use HW stats here.
Also removed unused 'cqe_type' parameter in nicvf_rcv_pkt_handler().
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions