History log of /dpdk/drivers/crypto/ionic/ionic_crypto_main.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 974cbdc3 01-Jul-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: fix sign extension in queue allocation

(uint16_t * uint16_t) promoted to uint64_t has a sign extension
problem reported by Coverity. Cast one arg to uint64_t first
to eliminate the sig

crypto/ionic: fix sign extension in queue allocation

(uint16_t * uint16_t) promoted to uint64_t has a sign extension
problem reported by Coverity. Cast one arg to uint64_t first
to eliminate the sign extension.

Coverity issue: 426422, 426427
Fixes: 2c1662bb53ca ("crypto/ionic: add adminq command")

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>

show more ...


# c09a6e7a 01-Jul-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: fix buffer overrun when writing session

Coverity pointed out that, if the final segment of the session key being
written is not a full segment, the loop could potentially read past the

crypto/ionic: fix buffer overrun when writing session

Coverity pointed out that, if the final segment of the session key being
written is not a full segment, the loop could potentially read past the
end of the source buffer. Use RTE_MIN() to make sure to only copy as much
of the key as is left.

Coverity issue: 426432
Fixes: 6bc7f2cf6687 ("crypto/ionic: support sessions")

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>

show more ...


# aacc5f13 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add stats

This defines the stats handlers and exposes them to the stack.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>


# 54d56aba 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add watchdog operation

If no progress has been made within the timeout,
post a dummy operation using session 0.
This will restart the queue in the rare case that a
doorbell is lost ins

crypto/ionic: add watchdog operation

If no progress has been made within the timeout,
post a dummy operation using session 0.
This will restart the queue in the rare case that a
doorbell is lost inside the device.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>

show more ...


# 80518852 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add datapath

This defines the main crypto operation enqueue and dequeue handlers.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>


# 6bc7f2cf 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: support sessions

This defines the session object and related commands.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>


# dddfb0d9 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add capabilities and basic ops

This exposes the supported capabilities to the stack.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>


# 2c1662bb 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add adminq command

This defines the adminq used for control path commands.
The adminq is faster and more flexible than the device command interface.

Signed-off-by: Andrew Boyer <andre

crypto/ionic: add adminq command

This defines the adminq used for control path commands.
The adminq is faster and more flexible than the device command interface.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>

show more ...


# a677112d 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add device commands

This defines the device (register-based) commands.
They are used for device identification, setup, and teardown.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add device commands

This defines the device (register-based) commands.
They are used for device identification, setup, and teardown.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>

show more ...


# 25c896ea 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: add firmware interface definition

These definitions are shared between the PMD and firmware.
Teach the device to read the FW version and check for liveness.

Signed-off-by: Andrew Boye

crypto/ionic: add firmware interface definition

These definitions are shared between the PMD and firmware.
Teach the device to read the FW version and check for liveness.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>

show more ...


# 4610ac93 07-Jun-2024 Andrew Boyer <andrew.boyer@amd.com>

crypto/ionic: introduce AMD Pensando driver

Introduce a new crypto PMD for AMD Pensando hardware accelerators.
It allows applications running directly on the AMD Pensando DSC
to offload cryptographi

crypto/ionic: introduce AMD Pensando driver

Introduce a new crypto PMD for AMD Pensando hardware accelerators.
It allows applications running directly on the AMD Pensando DSC
to offload cryptographic operations to hardware cryptographic blocks.

Add support for the cryptodevs to the common ionic library.
Add the driver skeleton.
Add a skeleton features list and guide.
Hook the new PMD up to the build.
Update MAINTAINERS.

Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>

show more ...