vhost/crypto: fix feature negotiation
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 2 Oct 2020 15:36:01 +0000 (16:36 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:18:47 +0000 (19:18 +0200)
commitea1b835a0e74d80915e2e717f20418e2c9f948a2
tree747c5b3b58784d0a0706e7e1e65ee7d21088a488
parentb80da220c1f677e86c531172a3f9b1ccd1458f73
vhost/crypto: fix feature negotiation

This patch fixes the feature negotiation for vhost crypto during
initialization. The patch uses the newly created driver start
function to inform the driver type with the fixed vhost features.
In addition the patch provides a new API specifically used by
the application to start a vhost-crypto driver.

Fixes: 939066d96563 ("vhost/crypto: add public function implementation")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/rel_notes/release_20_11.rst
examples/vhost_crypto/main.c
lib/librte_vhost/rte_vhost_crypto.h
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/vhost_crypto.c