]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: Per queue oom work queue
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Mon, 10 Sep 2018 06:34:21 +0000 (23:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 06:37:06 +0000 (23:37 -0700)
commit2b17caa537aa53c13f4e0b6826a6565a8be56539
tree4a53c9281f38d4f714a1301513304923ff81fdf3
parent6b04840f1ba934e3018b6d398910db267395ec3d
liquidio: Per queue oom work queue

Removed oom task unconditional rescheduling every 250ms and created per
queue oom work queue for refilling buffers.

The oom task refills only if the available descriptors is fallen to 64.
There will be no packets coming in after hitting this level. So NAPI will
not run until oom task refills the buffers.

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Acked-by: Derek Chickles <derek.chickles@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
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.h
drivers/net/ethernet/cavium/liquidio/octeon_main.h
drivers/net/ethernet/cavium/liquidio/octeon_network.h