New upstream version 18.02
[deb_dpdk.git] / drivers / net / ark / ark_ext.h
index f805f64..031cfdd 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef _ARK_EXT_H_
 #define _ARK_EXT_H_
 
-#include <rte_ethdev.h>
+#include <rte_ethdev_driver.h>
 
 /*
  * This is the template file for users who which to define a dynamic
@@ -91,7 +91,7 @@ int dev_set_link_up(struct rte_eth_dev *dev,
 int dev_set_link_down(struct rte_eth_dev *dev,
                      void *user_data);
 
-void stats_get(struct rte_eth_dev *dev,
+int stats_get(struct rte_eth_dev *dev,
               struct rte_eth_stats *stats,
               void *user_data);
 
@@ -112,4 +112,8 @@ void mac_addr_set(struct rte_eth_dev *dev,
                  struct ether_addr *mac_addr,
                  void *user_data);
 
+int set_mtu(struct rte_eth_dev *dev,
+           uint16_t size,
+           void *user_data);
+
 #endif