liquidio: do not consider packets dropped by network stack as driver Rx dropped
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Fri, 3 Nov 2017 21:32:33 +0000 (14:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Nov 2017 13:29:44 +0000 (22:29 +0900)
commit952484610cc2f67303be4feedb0e52a519c31470
tree0443d488c2259e8a0e256902ddc36bc198f58f55
parent0b1c27db12fd338ed912fec18f5cc02d7bd4e54e
liquidio: do not consider packets dropped by network stack as driver Rx dropped

netdev->rx_dropped was including packets dropped by napi_gro_receive.
If a packet is dropped by network stack, it should not be counted under
driver Rx dropped.

Made necessary changes to not include network stack drops under
netdev->rx_dropped.

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c