summaryrefslogtreecommitdiff
path: root/lib/ofpbuf.h
diff options
context:
space:
mode:
authorPravin <pshelar@nicira.com>2014-03-24 19:23:08 -0700
committerPravin B Shelar <pshelar@nicira.com>2014-03-21 11:48:28 -0700
commit8a9562d21a40c765a8ae6775a070cb279cb2147a (patch)
tree2feff480e85506faf72bb0be0e9ac9ea57caa89c /lib/ofpbuf.h
parent275eebb92d46e8647861f0b25d9b0fb300379d2d (diff)
downloadopenvswitch-8a9562d21a40c765a8ae6775a070cb279cb2147a.tar.gz
dpif-netdev: Add DPDK netdev.
Following patch adds DPDK netdev-class to userspace datapath. Now OVS can use DPDK port for IO by just configuring DPDK port and then adding dpdk type port to userspace datapath. Refer to INSTALL.DPDK doc for further info. This is based a patch from Gerald Rogers. Signed-off-by: Gerald Rogers <gerald.rogers@intel.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Thomas Graf <tgraf@redhat.com>
Diffstat (limited to 'lib/ofpbuf.h')
-rw-r--r--lib/ofpbuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h
index 766298925..ad37b5b4c 100644
--- a/lib/ofpbuf.h
+++ b/lib/ofpbuf.h
@@ -30,7 +30,8 @@ enum ofpbuf_source {
OFPBUF_MALLOC, /* Obtained via malloc(). */
OFPBUF_STACK, /* Un-movable stack space or static buffer. */
OFPBUF_STUB, /* Starts on stack, may expand into heap. */
- OFPBUF_DPDK, /* buffer data is from DPDK allocated memory. */
+ OFPBUF_DPDK, /* buffer data is from DPDK allocated memory.
+ ref to build_ofpbuf() in netdev-dpdk. */
};
/* Buffer for holding arbitrary data. An ofpbuf is automatically reallocated