commit | ad2ecebd67d8a80fe5412d11df375a5ed2db7cd1 | [log] [tgz] |
---|---|---|
author | Sunil Goutham <sgoutham@cavium.com> | Tue Feb 16 16:29:51 2016 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 17 22:24:57 2016 -0500 |
tree | a0898526a16ccba8395e4b0c88ff7c440e5e5f40 | |
parent | 8d210d54c5250c52b69266f299e64fe8356f9453 [diff] |
net: thunderx: Fix receive packet stats 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>