On Mon, 19 Apr 2021 21:34:47 +0800
"Min Hu (Connor)" <humi...@huawei.com> wrote:

> From: HongBo Zheng <zhenghong...@huawei.com>
> 
> In virtio_crypto_pkt_tx_burst, we check the return values of
> virtqueue_crypto_enqueue_xmit, which may returns -ENOSPC/-EMSGSIZE,
> but we only check ENOSPC/EMSGSIZE, and cause the result of checks
> is always false.
> 
> This patch fix this problem.
> 
> Fixes: 82adb12a1fce ("crypto/virtio: support burst enqueue/dequeue")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: HongBo Zheng <zhenghong...@huawei.com>
> Signed-off-by: Min Hu (Connor) <humi...@huawei.com>

This patch looks correct.

Acked-by: Stephen Hemminger <step...@networkplumber.org>

Reply via email to