]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35bdb0b445f1874078c6f4d66b5127acc54392df
tree0443d488c2259e8a0e256902ddc36bc198f58f55
parentb9c70db3bf3e47f04d3bf8a1089ed0afb7a37235
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