aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/docs
diff options
context:
space:
mode:
authorJan Cavojsky <jan.cavojsky@pantheon.tech>2020-03-03 16:25:58 +0100
committerDamjan Marion <dmarion@me.com>2020-03-21 12:12:13 +0000
commit77a95cdce2f3d80dac2832b68310eb5b23769c0e (patch)
treef93e14b488eff23dd06e5cde6950347edb81c5d8 /extras/libmemif/docs
parent6f533d780ded2d0d2a4ba2224e4a9f7d181c7577 (diff)
libmemif: don't consume rx queue interrupt, if memif_rx_burst fails
Type: fix Signed-off-by: Jan Cavojsky <jan.cavojsky@pantheon.tech> Change-Id: Ic6c15c88c80c4045c290cd78533be6f070c7470a
Diffstat (limited to 'extras/libmemif/docs')
-rw-r--r--extras/libmemif/docs/gettingstarted_doc.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/libmemif/docs/gettingstarted_doc.md b/extras/libmemif/docs/gettingstarted_doc.md
index dbe465c4b8a..1e5ce227eb3 100644
--- a/extras/libmemif/docs/gettingstarted_doc.md
+++ b/extras/libmemif/docs/gettingstarted_doc.md
@@ -114,7 +114,7 @@ typedef struct
```
5. Packet receive
- - Api call memif\_rx\_burst will set all required fields in memif buffers provided by user application and dequeue received buffers.
+ - Api call memif\_rx\_burst will set all required fields in memif buffers provided by user application, dequeue received buffers and consume interrupt event on receive queue. The event is not consumed, if memif_rx_burst fails.
```C
err = memif_rx_burst (c->conn, qid, c->bufs, MAX_MEMIF_BUFS, &rx);
```