summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h
diff options
context:
space:
mode:
authorSatanand Burla <satananda.burla@cavium.com>2017-03-22 11:31:13 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-22 19:36:43 -0700
commit031d4f1210a0401e938a27b229de2e9839311cde (patch)
tree70becf8b6c37df1460c7aefe76633db5a210f3c3 /drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h
parent3426bd7277b987845e07e24ab6b4bc7afe8c1622 (diff)
downloadlwn-031d4f1210a0401e938a27b229de2e9839311cde.tar.gz
lwn-031d4f1210a0401e938a27b229de2e9839311cde.zip
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>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h')
-rw-r--r--drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h
index 2fedd91f3df8..dee604651ba7 100644
--- a/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h
+++ b/drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h
@@ -43,6 +43,8 @@ struct octeon_cn23xx_pf {
struct octeon_config *conf;
};
+#define CN23XX_SLI_DEF_BP 0x40
+
int setup_cn23xx_octeon_pf_device(struct octeon_device *oct);
int validate_cn23xx_pf_config_info(struct octeon_device *oct,