Skip to contentSkip to conversation

Crypto_mrvl error with multiple instances

Bug 42 [email protected] 1 participant 1 message May 9, 2018

lore
Share & tools
lore
#0 lore raw

https://dpdk.org/tracker/show_bug.cgi?id=42

Bug ID: 42
Summary: Crypto_mrvl error with multiple instances
Product: DPDK
Version: unspecified
Hardware: ARM
OS: Linux
Status: CONFIRMED
Severity: major
Priority: Normal
Component: cryptodev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

Hi,
We are using DPDK over Marvell ARMADA 8040 processor and we have used all the MUSDK patches provided, to make our DPDK stack work.

But we are facing an issue while trying to use L2FWD-Crypto test application. Here we are trying to use crypto_mrvl with two instances and we are getting error on second one.
The command used is:
./l2fwd-crypto -c 0x3 -n 4 --vdev=net_ring,iface=eth1,iface=eth0 --vdev=crypto_mrvl0 --vdev=crypto_mrvl1 -- \
--cipher_op ENCRYPT --cipher_algo aes-cbc \
--cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f \
--auth_op GENERATE --auth_algo sha1-hmac \
--auth_key 10:11:12:13:14:15:16:17:18:19:1a:1b:1c:1d:1e:1f

While executing this, we are getting the errors:
[ERROR] Engine #0: Ring #0 is busy. Active rings map is 0x1 Failed to setup queue pair 0 on cryptodev 1EAL: Error - exiting with code: 1
Cause: Failed to initialize crypto devices

Can you please let us know if you see any issue is above command line being used.
In addition, can we use multiple instances for single crypto engine supported by Armada 8040?

Regards,
Akhil

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.