examples/vhost_crypto: use vhost async-copy flag
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 28 Sep 2020 09:17:10 +0000 (11:17 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 21:16:56 +0000 (23:16 +0200)
commitc08736b389a8f8fdcf41a0f7653605179813ed12
treeda227f2cef380bc7fa66378ba3244e97392641ac
parentfde9f1f6df9ab6a39977328fb0497b448b537916
examples/vhost_crypto: use vhost async-copy flag

The crypto backend uses RTE_VHOST_USER_DEQUEUE_ZERO_COPY only
for the shared areas to be populated at mmap time. It does
not use the other mechanisms the feature provides.

Now that RTE_VHOST_USER_DEQUEUE_ZERO_COPY is being removed,
let's use RTE_VHOST_USER_ASYNC_COPY instead which does the
same thing.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
examples/vhost_crypto/main.c