summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/examples/icmp_responder-mt
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-mt
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-mt')
-rw-r--r--extras/libmemif/examples/icmp_responder-mt/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/libmemif/examples/icmp_responder-mt/main.c b/extras/libmemif/examples/icmp_responder-mt/main.c
index 860569bc20b..c47fc53d5b2 100644
--- a/extras/libmemif/examples/icmp_responder-mt/main.c
+++ b/extras/libmemif/examples/icmp_responder-mt/main.c
@@ -309,7 +309,7 @@ memif_rx_poll (void *ptr)
err =
memif_buffer_alloc (c->conn, data->qid, data->tx_bufs,
- data->rx_buf_num, &tx);
+ data->rx_buf_num, &tx, 0);
if (err != MEMIF_ERR_SUCCESS)
{
INFO ("memif_buffer_alloc: %s", memif_strerror (err));
@@ -439,7 +439,7 @@ memif_rx_interrupt (void *ptr)
err =
memif_buffer_alloc (c->conn, data->qid, data->tx_bufs,
- data->rx_buf_num, &tx);
+ data->rx_buf_num, &tx, 0);
if (err != MEMIF_ERR_SUCCESS)
{
INFO ("memif_buffer_alloc: %s", memif_strerror (err));