liquidio: allocate RX buffers in OOM conditions in PF and VF
authorSatanand Burla <satananda.burla@cavium.com>
Wed, 22 Mar 2017 18:31:13 +0000 (11:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 02:36:43 +0000 (19:36 -0700)
commit031d4f1210a0401e938a27b229de2e9839311cde
tree70becf8b6c37df1460c7aefe76633db5a210f3c3
parent3426bd7277b987845e07e24ab6b4bc7afe8c1622
liquidio: allocate RX buffers in OOM conditions in PF and VF

Add workqueue that is periodically run to try to allocate RX buffers in OOM
conditions in PF and VF.

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/cn23xx_pf_device.h
drivers/net/ethernet/cavium/liquidio/lio_core.c
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.h
drivers/net/ethernet/cavium/liquidio/octeon_network.h