crypto/scheduler: fix capability update
Fixes: 31439ee72b
("crypto/scheduler: add API implementations")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
This commit is contained in:
parent
9d0748d2de
commit
7b46f62b81
@ -64,7 +64,7 @@ sync_caps(struct rte_cryptodev_capabilities *caps,
|
|||||||
|
|
||||||
for (j = 0; j < nb_slave_caps; j++) {
|
for (j = 0; j < nb_slave_caps; j++) {
|
||||||
const struct rte_cryptodev_capabilities *s_cap =
|
const struct rte_cryptodev_capabilities *s_cap =
|
||||||
&slave_caps[i];
|
&slave_caps[j];
|
||||||
|
|
||||||
if (s_cap->op != cap->op || s_cap->sym.xform_type !=
|
if (s_cap->op != cap->op || s_cap->sym.xform_type !=
|
||||||
cap->sym.xform_type)
|
cap->sym.xform_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user