aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src/libmemif.h
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/src/libmemif.h
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/src/libmemif.h')
-rw-r--r--extras/libmemif/src/libmemif.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/libmemif/src/libmemif.h b/extras/libmemif/src/libmemif.h
index 244c3fe2b72..66006f37f79 100644
--- a/extras/libmemif/src/libmemif.h
+++ b/extras/libmemif/src/libmemif.h
@@ -669,6 +669,9 @@ int memif_tx_burst (memif_conn_handle_t conn, uint16_t qid,
@param count - number of memif buffers to receive
@param rx - returns number of received buffers
+ Consume interrupt event for receive queue.
+ The event is not consumed, if memif_rx_burst fails.
+
\return memif_err_t
*/
int memif_rx_burst (memif_conn_handle_t conn, uint16_t qid,