avf: fix rx queue refill on buffer alloc failure 67/28367/1
authorDamjan Marion <damarion@cisco.com>
Wed, 25 Mar 2020 10:44:41 +0000 (11:44 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 13 Aug 2020 10:39:40 +0000 (10:39 +0000)
commit1c8b63069c416fce3c5b1a24f87023716c4b67ca
tree55a706227a1f256f0e8b3dfcf2150c5f08ac8052
parent8d3ba7eab43e6d24b84d6628ece20fd2d2c5b581
avf: fix rx queue refill on buffer alloc failure

If buffer alloc fails, it may happend that rx queue will be stuck
as old code only refills if at least one packet is received.

Type: fix
Change-Id: I388c4f8a9fb2c208bdc222e31b443cbe6b94af82
Signed-off-by: Damjan Marion <damarion@cisco.com>
(cherry picked from commit e7f7190381c66cca6c1c3c77b3d43148818a5a4e)
src/plugins/avf/input.c