]> git-server-git.apps.pok.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)
committerCasey Bodley <cbodley@redhat.com>
Mon, 13 May 2024 16:13:39 +0000 (12:13 -0400)
commit91b629b266641aafe9975ee9f4240f6563f98c19
tree0218ca3069a230703b2468c8210aa027ab87caf6
parente07dcc4c640040d229506277b0a8b44f0039ea6a
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>
src/crypto/qat/qcccrypto.cc
src/crypto/qat/qcccrypto.h