summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/examples/icmp_responder
diff options
context:
space:
mode:
authorJakub Grajciar <grajciar.jakub@gmail.com>2017-09-14 14:12:10 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-09-15 08:33:43 +0000
commitb467b2a02be6ea7bab1a4773523afe8a8e3cfd83 (patch)
treed85ea1c045bc3090ad880521c4aae1b6a697c730 /extras/libmemif/examples/icmp_responder
parentd5b1b85d2e776718169f930f592af5184a18100a (diff)
libmemif: Jumbo frames support
Change-Id: I2b316358dcd2de7168a860541bcca35c3dd44649 Signed-off-by: Jakub Grajciar <grajciar.jakub@gmail.com>
Diffstat (limited to 'extras/libmemif/examples/icmp_responder')
-rw-r--r--extras/libmemif/examples/icmp_responder/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/libmemif/examples/icmp_responder/main.c b/extras/libmemif/examples/icmp_responder/main.c
index 5351b6b8e3c..9e49771e7a4 100644
--- a/extras/libmemif/examples/icmp_responder/main.c
+++ b/extras/libmemif/examples/icmp_responder/main.c
@@ -225,7 +225,7 @@ icmpr_buffer_alloc (long n, uint16_t qid)
int err;
uint16_t r;
/* set data pointer to shared memory and set buffer_len to shared mmeory buffer len */
- err = memif_buffer_alloc (c->conn, qid, c->tx_bufs, n, &r);
+ err = memif_buffer_alloc (c->conn, qid, c->tx_bufs, n, &r, 0);
if (err != MEMIF_ERR_SUCCESS)
{
INFO ("memif_buffer_alloc: %s", memif_strerror (err));