Re: [dpdk-dev] [PATCH 08/10] crypto/virtio: fix return values check error

2023-06-30 Thread Stephen Hemminger
On Mon, 19 Apr 2021 21:34:47 +0800 "Min Hu (Connor)" wrote: > From: HongBo Zheng > > 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

[dpdk-dev] [PATCH 08/10] crypto/virtio: fix return values check error

2021-04-19 Thread Min Hu (Connor)
From: HongBo Zheng 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