aboutsummaryrefslogtreecommitdiffstats
path: root/vlib/vlib/buffer.c
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2016-03-02 10:01:43 +0100
committerGerrit Code Review <gerrit@fd.io>2016-03-02 22:26:41 +0000
commit2df2e3d7d5226891e974207aa10d1d6e69418cbf (patch)
tree9d56d51bcd8b14491f8f395150faedbedbf64a16 /vlib/vlib/buffer.c
parent287d53f44d8d4b9697695d3fdaa76a94a49b1e8e (diff)
TAP: Jumbo-frame support.
Change-Id: I3a0726d7645f775738253d0a47ee04d94d138c9a Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'vlib/vlib/buffer.c')
-rw-r--r--vlib/vlib/buffer.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/vlib/vlib/buffer.c b/vlib/vlib/buffer.c
index 332b43044d3..c28a0c54889 100644
--- a/vlib/vlib/buffer.c
+++ b/vlib/vlib/buffer.c
@@ -1248,6 +1248,14 @@ vlib_buffer_chain_append_data_with_alloc(vlib_main_t *vm,
return copied;
}
+/*
+ * Fills in the required rte_mbuf fields for chained buffers given a VLIB chain.
+ */
+void vlib_buffer_chain_validate (vlib_main_t * vm, vlib_buffer_t * b_first)
+{
+ return;
+}
+
static void vlib_serialize_tx (serialize_main_header_t * m, serialize_stream_t * s)
{
vlib_main_t * vm;
@@ -1460,4 +1468,3 @@ VLIB_CLI_COMMAND (show_buffers_command, static) = {
.short_help = "Show packet buffer allocation",
.function = show_buffers,
};
-