aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h
diff options
context:
space:
mode:
authorRaghu Vatsavayi <rvatsavayi@caviumnetworks.com>2016-11-28 16:54:41 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-30 11:03:09 -0500
commitb3c35973b8ac0f0906ef38e9b07b0a01a3d357a7 (patch)
tree40f5ceb6ef52c7e84269f5d2d26e3926938af75f /drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h
parentcf39faf542893652e9f325f21ce757475b7fd9f5 (diff)
downloadlinux-stericsson-b3c35973b8ac0f0906ef38e9b07b0a01a3d357a7.tar.gz
liquidio CN23XX: VF init and destroy
Adds support for VF initialization and destroy resources. Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@caviumnetworks.com> Signed-off-by: Derek Chickles <derek.chickles@caviumnetworks.com> Signed-off-by: Satanand Burla <satananda.burla@caviumnetworks.com> Signed-off-by: Felix Manlunas <felix.manlunas@caviumnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h')
-rw-r--r--drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h b/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h
index 8590bdb132e9..6715df30a41e 100644
--- a/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h
+++ b/drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.h
@@ -36,6 +36,8 @@ struct octeon_cn23xx_vf {
#define CN23XX_MAILBOX_MSGPARAM_SIZE 6
+#define MAX_VF_IP_OP_PENDING_PKT_COUNT 100
+
void cn23xx_vf_ask_pf_to_do_flr(struct octeon_device *oct);
int cn23xx_octeon_pfvf_handshake(struct octeon_device *oct);