* [PATCH 0/2] Crypto: Remove x86 dependency on QAT drivers
@ 2022-06-17 9:55 Yoan Picchi
2022-06-17 10:10 ` Yoan Picchi
0 siblings, 1 reply; 5+ messages in thread
From: Yoan Picchi @ 2022-06-17 9:55 UTC (permalink / raw)
To: Giovanni Cabiddu, Herbert Xu, David S . Miller, qat-linux,
linux-crypto, linux-kernel
Cc: Andre Przywara, Ard Biesheuvel
The QAT acceleration card can be very helpfull for some tasks like dealing
with IPSEC but it is currently restricted to be used only on x86 machine.
Looking at the code we didn't see any reasons why those drivers might not
work on other architectures. We've successfully built all of them on x86,
arm64, arm32, mips64, powerpc64, riscv64 and sparc64.
We also have tested the driver with an Intel Corporation C62x Chipset
QuickAssist Technology (rev 04) PCIe card on an arm64 server. After the numa
patch, it works with the AF_ALG crypto userland interface, allowing us to
encrypt some data with cbc for instance. We've also successfully created some
VF, bound them to DPDK, and used the card this way, thus showing some real
life usecases of x86 do work on arm64 too.
Changelog v1 ... v2:
- add COMPILE_TEST to Kconfig
Changelog v2 ... v3:
- Add the Crypto tag to the commit header
Andre Przywara (1):
crypto: qat: replace get_current_node() with numa_node_id()
Yoan Picchi (1):
Removes the x86 dependency on the QAT drivers
drivers/crypto/qat/Kconfig | 14 +++++++-------
drivers/crypto/qat/qat_common/adf_common_drv.h | 5 -----
drivers/crypto/qat/qat_common/qat_algs.c | 4 ++--
drivers/crypto/qat/qat_common/qat_asym_algs.c | 4 ++--
4 files changed, 11 insertions(+), 16 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] Crypto: Remove x86 dependency on QAT drivers
2022-06-17 9:55 [PATCH 0/2] Crypto: Remove x86 dependency on QAT drivers Yoan Picchi
@ 2022-06-17 10:10 ` Yoan Picchi
0 siblings, 0 replies; 5+ messages in thread
From: Yoan Picchi @ 2022-06-17 10:10 UTC (permalink / raw)
To: yoan.picchi, andre.przywara, ardb, davem, giovanni.cabiddu,
herbert, linux-crypto, linux-kernel, qat-linux
Please disregard this post, I sent the wrong patch by mistake. Please
look at the [PATCH v3 0/2] instead.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 0/2] Crypto: Remove x86 dependency on QAT drivers
@ 2022-06-13 14:25 Yoan Picchi
2022-06-17 8:49 ` Giovanni Cabiddu
0 siblings, 1 reply; 5+ messages in thread
From: Yoan Picchi @ 2022-06-13 14:25 UTC (permalink / raw)
To: Giovanni Cabiddu, Herbert Xu, David S . Miller, qat-linux,
linux-crypto, linux-kernel
Cc: Andre Przywara, Ard Biesheuvel
The QAT acceleration card can be very helpfull for some tasks like dealing
with IPSEC but it is currently restricted to be used only on x86 machine.
Looking at the code we didn't see any reasons why those drivers might not
work on other architectures. We've successfully built all of them on x86,
arm64, arm32, mips64, powerpc64, riscv64 and sparc64.
We also have tested the driver with an Intel Corporation C62x Chipset
QuickAssist Technology (rev 04) PCIe card on an arm64 server. After the numa
patch, it works with the AF_ALG crypto userland interface, allowing us to
encrypt some data with cbc for instance. We've also successfully created some
VF, bound them to DPDK, and used the card this way, thus showing some real
life usecases of x86 do work on arm64 too.
Changelog v1 ... v2:
- add COMPILE_TEST to Kconfig
Andre Przywara (1):
crypto: qat: replace get_current_node() with numa_node_id()
Yoan Picchi (1):
Removes the x86 dependency on the QAT drivers
drivers/crypto/qat/Kconfig | 14 +++++++-------
drivers/crypto/qat/qat_common/adf_common_drv.h | 5 -----
drivers/crypto/qat/qat_common/qat_algs.c | 4 ++--
drivers/crypto/qat/qat_common/qat_asym_algs.c | 4 ++--
4 files changed, 11 insertions(+), 16 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] Crypto: Remove x86 dependency on QAT drivers
2022-06-13 14:25 Yoan Picchi
@ 2022-06-17 8:49 ` Giovanni Cabiddu
0 siblings, 0 replies; 5+ messages in thread
From: Giovanni Cabiddu @ 2022-06-17 8:49 UTC (permalink / raw)
To: Yoan Picchi
Cc: Herbert Xu, David S . Miller, qat-linux, linux-crypto,
linux-kernel, Andre Przywara, Ard Biesheuvel
Hi Yoan,
On Mon, Jun 13, 2022 at 02:25:33PM +0000, Yoan Picchi wrote:
> The QAT acceleration card can be very helpfull for some tasks like dealing
> with IPSEC but it is currently restricted to be used only on x86 machine.
> Looking at the code we didn't see any reasons why those drivers might not
> work on other architectures. We've successfully built all of them on x86,
> arm64, arm32, mips64, powerpc64, riscv64 and sparc64.
>
> We also have tested the driver with an Intel Corporation C62x Chipset
> QuickAssist Technology (rev 04) PCIe card on an arm64 server. After the numa
> patch, it works with the AF_ALG crypto userland interface, allowing us to
> encrypt some data with cbc for instance. We've also successfully created some
> VF, bound them to DPDK, and used the card this way, thus showing some real
> life usecases of x86 do work on arm64 too.
>
> Changelog v1 ... v2:
> - add COMPILE_TEST to Kconfig
>
> Andre Przywara (1):
> crypto: qat: replace get_current_node() with numa_node_id()
>
> Yoan Picchi (1):
> Removes the x86 dependency on the QAT drivers
Would you mind re-sending the set changing the headline of the commit
messages as reported in the previous email?
https://www.spinics.net/lists/linux-crypto/msg64584.html
Thanks,
--
Giovanni
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 0/2] Crypto: Remove x86 dependency on QAT drivers
@ 2022-06-07 16:58 Yoan Picchi
0 siblings, 0 replies; 5+ messages in thread
From: Yoan Picchi @ 2022-06-07 16:58 UTC (permalink / raw)
To: Giovanni Cabiddu, Herbert Xu, David S . Miller, qat-linux,
linux-crypto, linux-kernel
Cc: Andre Przywara, Ard Biesheuvel
The QAT acceleration card can be very helpfull for some tasks like dealing
with IPSEC but it is currently restricted to be used only on x86 machine.
Looking at the code we didn't see any reasons why those drivers might not
work on other architectures. We've successfully built all of them on x86,
arm64, arm32, mips64, powerpc64, riscv64 and sparc64.
We also have tested the driver with an Intel Corporation C62x Chipset
QuickAssist Technology (rev 04) PCIe card on an arm64 server. After the numa
patch, it works with the AF_ALG crypto userland interface, allowing us to
encrypt some data with cbc for instance. We've also successfully created some
VF, bound them to DPDK, and used the card this way, thus showing some real
life usecases of x86 do work on arm64 too.
Andre Przywara (1):
crypto: qat: replace get_current_node() with numa_node_id()
Yoan Picchi (1):
Removes the x86 dependency on the QAT drivers
drivers/crypto/qat/Kconfig | 14 +++++++-------
drivers/crypto/qat/qat_common/adf_common_drv.h | 5 -----
drivers/crypto/qat/qat_common/qat_algs.c | 4 ++--
drivers/crypto/qat/qat_common/qat_asym_algs.c | 4 ++--
4 files changed, 11 insertions(+), 16 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-17 10:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 9:55 [PATCH 0/2] Crypto: Remove x86 dependency on QAT drivers Yoan Picchi
2022-06-17 10:10 ` Yoan Picchi
-- strict thread matches above, loose matches on Subject: below --
2022-06-13 14:25 Yoan Picchi
2022-06-17 8:49 ` Giovanni Cabiddu
2022-06-07 16:58 Yoan Picchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox