Imported Upstream version 17.05
[deb_dpdk.git] / examples / server_node_efd / server / args.h
similarity index 86%
rename from drivers/net/null/rte_eth_null.h
rename to examples/server_node_efd/server/args.h
index abada8c..cacf395 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  *
- *   Copyright(c) 2015 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2016-2017 Intel Corporation. All rights reserved.
  *   All rights reserved.
  *
  *   Redistribution and use in source and binary forms, with or without
  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef RTE_ETH_NULL_H_
-#define RTE_ETH_NULL_H_
+#ifndef _ARGS_H_
+#define _ARGS_H_
 
-int eth_dev_null_create(const char *name, const unsigned numa_node,
-               unsigned packet_size, unsigned packet_copy);
+int parse_app_args(uint8_t max_ports, int argc, char *argv[]);
 
-#endif /* RTE_ETH_NULL_H_ */
+#endif /* ifndef _ARGS_H_ */