summaryrefslogtreecommitdiff
path: root/drivers/net/failsafe/failsafe_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/failsafe/failsafe_private.h')
-rw-r--r--drivers/net/failsafe/failsafe_private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/failsafe/failsafe_private.h b/drivers/net/failsafe/failsafe_private.h
index ca2442a..6e3f203 100644
--- a/drivers/net/failsafe/failsafe_private.h
+++ b/drivers/net/failsafe/failsafe_private.h
@@ -128,8 +128,12 @@ struct sub_device {
unsigned int lsc_callback:1;
};
+/*
+ * This is referenced by eth_dev->data->dev_private
+ * This is shared between processes.
+ */
struct fs_priv {
- struct rte_eth_dev *dev;
+ struct rte_eth_dev_data *data; /* backreference to shared data. */
/*
* Set of sub_devices.
* subs[0] is the preferred device