[dpdk-dev] [Bug 42] Crypto_mrvl error with multiple instances

bugzilla at dpdk.org bugzilla at dpdk.org
Wed May 9 09:40:11 CEST 2018


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: dev at dpdk.org
          Reporter: akhil.gupta at puresoftware.com
  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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list