On 6/18/19 9:41 AM, Tiwei Bie wrote:
We should check the descriptor state instead of vq's internal
free count (i.e. the number of descriptors that we haven't made
available) for the remaining mergeable packets.
Fixes: a76290c8f1cf ("net/virtio: implement Rx path for packed queues")
Cc: [email protected]
Signed-off-by: Tiwei Bie <[email protected]>
---
drivers/net/virtio/virtio_rxtx.c | 50 +++++++++++++++-----------------
1 file changed, 23 insertions(+), 27 deletions(-)
Reviewed-by: Maxime Coquelin <[email protected]>
Thanks,
Maxime