Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk-cryptodev: fix coverity issues
[vpp.git]
/
src
/
plugins
/
dpdk
/
cryptodev
/
cryptodev_op_data_path.c
diff --git
a/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c
b/src/plugins/dpdk/cryptodev/cryptodev_op_data_path.c
index
a3e66b2
..
8d55e4f
100644
(file)
--- 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];
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++;
n++;
fe++;
cop++;