Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
crypto: make crypto-dispatch node working in adaptive mode
[vpp.git]
/
src
/
plugins
/
dpdk
/
cryptodev
/
cryptodev_raw_data_path.c
diff --git
a/src/plugins/dpdk/cryptodev/cryptodev_raw_data_path.c
b/src/plugins/dpdk/cryptodev/cryptodev_raw_data_path.c
index
a8265b8
..
3a2f46e
100644
(file)
--- a/
src/plugins/dpdk/cryptodev/cryptodev_raw_data_path.c
+++ b/
src/plugins/dpdk/cryptodev/cryptodev_raw_data_path.c
@@
-516,8
+516,7
@@
cryptodev_raw_dequeue (vlib_main_t *vm, u32 *nb_elts_processed,
}
}
}
}
- if (cm->dispatch_mode == VNET_CRYPTO_ASYNC_DISPATCH_INTERRUPT &&
- inflight > 0)
+ if (inflight > 0)
vlib_node_set_interrupt_pending (vlib_get_main_by_index (vm->thread_index),
cm->crypto_node_index);
vlib_node_set_interrupt_pending (vlib_get_main_by_index (vm->thread_index),
cm->crypto_node_index);