[dpdk-dev] [PATCH 08/10] crypto/virtio: fix return values check error
Stephen Hemminger
stephen at networkplumber.org
Fri Jun 30 20:14:31 CEST 2023
On Mon, 19 Apr 2021 21:34:47 +0800
"Min Hu (Connor)" <humin29 at huawei.com> wrote:
> From: HongBo Zheng <zhenghongbo3 at 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: stable at dpdk.org
>
> Signed-off-by: HongBo Zheng <zhenghongbo3 at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
This patch looks correct.
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list