The Driver Programming Interface (drv) is defined in include/odp_drv.h and
include/odp/drv/spec directory.

Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
 include/odp/drv/spec/README |  4 ++++
 include/odp_drv.h           | 24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 include/odp/drv/spec/README
 create mode 100644 include/odp_drv.h

diff --git a/include/odp/drv/spec/README b/include/odp/drv/spec/README
new file mode 100644
index 0000000..cd017bf
--- /dev/null
+++ b/include/odp/drv/spec/README
@@ -0,0 +1,4 @@
+This directory should contain files (including doxygen documentation) defining
+the ODP Nic driver interface.
+The NIC driver interface is the south interface of ODP, which is used by
+PCI nic drivers.
diff --git a/include/odp_drv.h b/include/odp_drv.h
new file mode 100644
index 0000000..b78fa9d
--- /dev/null
+++ b/include/odp_drv.h
@@ -0,0 +1,24 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved
+ *
+ * SPDX-License-Identifier:     BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * The OpenDataPlane nic driver programming interface
+ *
+ */
+
+#ifndef ODP_DRV_H_
+#define ODP_DRV_H_
+
+#ifdef __cplusplus
+extern C {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+#endif
-- 
2.1.4

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to