From: Fan Zhang <roy.fan.zhang@intel.com> To: dev@dpdk.org Cc: chenbo.xia@intel.com, maxime.coquelin@redhat.com, changpeng.liu@intel.com, ferruh.yigit@intel.com, stable@dpdk.org, Fan Zhang <roy.fan.zhang@intel.com> Subject: [dpdk-stable] [dpdk-dev v2 0/2] vhost/crypto: fix initialization Date: Fri, 2 Oct 2020 16:35:59 +0100 Message-ID: <20201002153601.84097-1-roy.fan.zhang@intel.com> (raw) In-Reply-To: <20201002083615.45470-1-roy.fan.zhang@intel.com> 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(-) -- 2.20.1
next prev parent reply other threads:[~2020-10-02 15:36 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-02 8:36 [dpdk-stable] [dpdk-dev] " Fan Zhang 2020-10-02 12:17 ` Maxime Coquelin 2020-10-02 12:38 ` Zhang, Roy Fan 2020-10-02 15:35 ` Fan Zhang [this message] 2020-10-02 15:36 ` [dpdk-stable] [dpdk-dev v2 1/2] vhost: add backend type in driver start Fan Zhang 2020-10-06 7:53 ` Maxime Coquelin 2020-10-06 8:56 ` Zhang, Roy Fan 2020-10-02 15:36 ` [dpdk-stable] [dpdk-dev v2 2/2] vhost/crypto: fix feature negotiation Fan Zhang 2020-10-06 8:09 ` Maxime Coquelin 2020-10-06 8:37 ` Zhang, Roy Fan 2020-10-09 7:36 ` Maxime Coquelin 2020-10-10 9:28 ` [dpdk-stable] [dpdk-dev] " Jiang, YuX 2020-10-09 6:39 ` [dpdk-stable] " Maxime Coquelin 2020-10-09 7:24 ` Maxime Coquelin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201002153601.84097-1-roy.fan.zhang@intel.com \ --to=roy.fan.zhang@intel.com \ --cc=changpeng.liu@intel.com \ --cc=chenbo.xia@intel.com \ --cc=dev@dpdk.org \ --cc=ferruh.yigit@intel.com \ --cc=maxime.coquelin@redhat.com \ --cc=stable@dpdk.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
patches for DPDK stable branches This inbox may be cloned and mirrored by anyone: git clone --mirror https://inbox.dpdk.org/stable/0 stable/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 stable stable/ https://inbox.dpdk.org/stable \ stable@dpdk.org public-inbox-index stable Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.stable AGPL code for this site: git clone https://public-inbox.org/public-inbox.git