net/ice: fix firmware version result of ethtool
[dpdk.git] / drivers / net / ifc / base / ifcvf.h
index badacb6..9be2770 100644 (file)
@@ -49,6 +49,8 @@
 #define IFCVF_LM_DISABLE               0x0
 #define IFCVF_LM_ENABLE_VF             0x1
 #define IFCVF_LM_ENABLE_PF             0x3
+#define IFCVF_LOG_BASE                 0x100000000000
+#define IFCVF_MEDIATED_VRING           0x200000000000
 
 #define IFCVF_32_BIT_MASK              0xffffffff
 
@@ -120,7 +122,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];
@@ -142,6 +144,12 @@ ifcvf_start_hw(struct ifcvf_hw *hw);
 void
 ifcvf_stop_hw(struct ifcvf_hw *hw);
 
+void
+ifcvf_enable_logging(struct ifcvf_hw *hw, u64 log_base, u64 log_size);
+
+void
+ifcvf_disable_logging(struct ifcvf_hw *hw);
+
 void
 ifcvf_notify_queue(struct ifcvf_hw *hw, u16 qid);