aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorDmitry Valter <d-valter@yandex-team.com>2024-03-07 17:55:29 +0000
committerFan Zhang <fanzhang.oss@gmail.com>2024-03-22 13:40:47 +0000
commitb30018008278bc874358ec90165304ae2285625e (patch)
tree3a24ee654c8cd04c32470875710854098d9a8072 /src/plugins/dpdk
parente1195861386e5344a653782cad772a5d1f596228 (diff)
dpdk-cryptodev: fix coverity issues
Copy v23.10-rc0-154-gfeda2ff64 fix to the unbatched path Type: fix Signed-off-by: Dmitry Valter <d-valter@yandex-team.com> Change-Id: I2f58ed9a39439b22918946f328f96e676c68add9
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c b/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c
index a3e66b25653..8d55e4fbf0f 100644
--- a/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c
+++ b/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c
@@ -521,7 +521,7 @@ cryptodev_frame_dequeue_internal (vlib_main_t *vm, u32 *enqueue_thread_idx)
while (n_elts)
{
fe[0].status = cryptodev_status_conversion[cop[0]->op.status];
- err0 |= (fe[0].status == VNET_CRYPTO_OP_STATUS_COMPLETED) << n;
+ err0 |= ((u64) (fe[0].status == VNET_CRYPTO_OP_STATUS_COMPLETED)) << n;
n++;
fe++;
cop++;