Hi Suanming,
The pmd-cycle-count mode is for counting the cycles for enqueue and dequeue.
It does not matter what is the content of the packet, as we are not validating the content
after dequeue of the packet. PMD/Hw will assume it as plain/encrypted payload and
will process it as per the session attached.
Hence, doing memcpy to mbuf is not required.
Regards,
Akhil
From: Suanming Mou <suanmingm@nvidia.com>
Sent: Friday, July 21, 2023 4:06 PM
To: ciara.power@intel.com; Akhil Goyal <gakhil@marvell.com>
Cc: dev@dpdk.org
Subject: [EXT] crypto decryption support in test-crypto-perf pmd-cycle-count test
External Email
Hi Guys,
Sorry for the inconvenience.
I have one small question with pmd-cycle-count test in test-crypto-perf application.
As in pmd-cycle-count run code, I don’t see the cperf_mbuf_set() function is called to fill the test data.
So for decryption, I assume it will always fails. Feel like pmd-cycle-count test does not expect to support decryption. Or is it a bug?
I have no idea with the application design background, is it expected?
Thanks,
Suanming Mou