]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crypto/qat: use async_initiate and any_completion_handler
authorCasey Bodley <cbodley@redhat.com>
Thu, 15 Feb 2024 02:03:13 +0000 (21:03 -0500)
committerliangmingyuan <liangmingyuan@baidu.com>
Sat, 5 Oct 2024 03:02:37 +0000 (11:02 +0800)
commit9e0ac0d35a96c078a3095f2888e589906577d631
treef1a0f7e5fd995f405ea14a14bce8731ad471f782
parente55d92317c6894440e3d82ea015b56fbbc2da134
crypto/qat: use async_initiate and any_completion_handler

the qat async initiator functions were based on async_completion<> and
its completion_handler member, but the updated boost::asio::yield_context
doesn't provide a completion_handler. switch to the updated
async_initate() method which does work with boost::asio::yield_context

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 91b629b266641aafe9975ee9f4240f6563f98c19)
src/crypto/qat/qcccrypto.cc
src/crypto/qat/qcccrypto.h