vhost/crypto: fix initialization
Status from this message: Applied to dpdk-next-virtio/main.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- Removed socket.c setting vhost crypto features.
- Fixed incorrect feature flag.
- Rebased on top of latest master.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vhost: add backend type in driver startlib/ lib/ | +39 | 2 replies | |
| 2/2 | vhost/crypto: fix feature negotiationexamples/ lib/ lib/ +1 more | +42 | 6 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Maxime Coquelin | Jiang, YuX |
|---|---|---|
| 1/2 | ||
| 2/2 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [dpdk-dev v2 0/2] vhost/crypto: fix initialization
This patch fixes the problem that vhost crypto cannot be initialized due to the different requirement between built-in virtio-net and virtio-crypto. The fix includes the following change:
- Added new internal enum type virtio_backend_type to distinguish virtio-net, virtio-crypto, and external device types.
- Added new API rte_vhost_crypto_driver_start to distinguish between virtio-net and virtio-crypto built-in drivers initialization.
v2:
- Removed socket.c setting vhost crypto features.
- Fixed incorrect feature flag.
- Rebased on top of latest master.
Fan Zhang (2):
vhost: add backend type in driver start
vhost/crypto: fix feature negotiation
examples/vhost_crypto/main.c | 3 +- lib/librte_vhost/rte_vhost_crypto.h | 12 ++++++++ lib/librte_vhost/rte_vhost_version.map | 1 + lib/librte_vhost/socket.c | 39 +++++++++++++++++++----- lib/librte_vhost/vhost_crypto.c | 41 +++++++++++++++++--------- lib/librte_vhost/vhost_user.h | 8 +++++ 6 files changed, 81 insertions(+), 23 deletions(-)
Signature · 1 line
2.20.1