From: Thomas Monjalon <thomas.monjalon@6wind.com>
Date: Mon, 13 Oct 2014 17:22:45 +0000 (+0200)
Subject: vhost: add in doc
X-Git-Tag: spdx-start~10280
X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8933dae15c7c868a7f7679605e6d3d074f3843d3;p=dpdk.git

vhost: add in doc

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---

diff --git a/doc/doxy-api-index.md b/doc/doxy-api-index.md
index f9593a0c22..6958f8f9a3 100644
--- a/doc/doxy-api-index.md
+++ b/doc/doxy-api-index.md
@@ -39,6 +39,7 @@ There are many libraries, so their headers may be grouped by topics:
   [ethdev]             (@ref rte_ethdev.h),
   [devargs]            (@ref rte_devargs.h),
   [bond]               (@ref rte_eth_bond.h),
+  [vhost]              (@ref rte_virtio_net.h),
   [KNI]                (@ref rte_kni.h),
   [PCI]                (@ref rte_pci.h),
   [PCI IDs]            (@ref rte_pci_dev_ids.h)
diff --git a/doc/doxy-api.conf b/doc/doxy-api.conf
index 124fc68b2c..d3d2269496 100644
--- a/doc/doxy-api.conf
+++ b/doc/doxy-api.conf
@@ -51,7 +51,8 @@ INPUT                   = doc/doxy-api-index.md \
                           lib/librte_ring \
                           lib/librte_sched \
                           lib/librte_table \
-                          lib/librte_timer
+                          lib/librte_timer \
+                          lib/librte_vhost
 FILE_PATTERNS           = rte_*.h \
                           cmdline.h
 PREDEFINED              = __DOXYGEN__ \
diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h
index 0412e94306..b6548a186c 100644
--- a/lib/librte_vhost/rte_virtio_net.h
+++ b/lib/librte_vhost/rte_virtio_net.h
@@ -34,6 +34,11 @@
 #ifndef _VIRTIO_NET_H_
 #define _VIRTIO_NET_H_
 
+/**
+ * @file
+ * Interface to vhost net
+ */
+
 #include <stdint.h>
 #include <linux/virtio_ring.h>
 #include <linux/virtio_net.h>