The struct should be ifcvf_net_config other than ifcvf_net_device_config.

Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")
Cc: xiao.w.w...@intel.com
Cc: sta...@dpdk.org

Signed-off-by: Xiaolong Ye <xiaolong...@intel.com>
---
 drivers/net/ifc/base/ifcvf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ifc/base/ifcvf.h b/drivers/net/ifc/base/ifcvf.h
index f026c70ab..c15c69107 100644
--- a/drivers/net/ifc/base/ifcvf.h
+++ b/drivers/net/ifc/base/ifcvf.h
@@ -121,7 +121,7 @@ struct ifcvf_hw {
        u8     notify_region;
        u32    notify_off_multiplier;
        struct ifcvf_pci_common_cfg *common_cfg;
-       struct ifcvf_net_device_config *dev_cfg;
+       struct ifcvf_net_config *dev_cfg;
        u8     *isr;
        u16    *notify_base;
        u16    *notify_addr[IFCVF_MAX_QUEUES * 2];
-- 
2.17.1

Reply via email to