mbox series

[v2,0/2] vhost: Add API to get negotiated protocol features

Message ID 20210322072257.2017227-1-keiichiw@chromium.org (mailing list archive)
Headers
Series vhost: Add API to get negotiated protocol features |

Message

Keiichi Watanabe March 22, 2021, 7:22 a.m. UTC
  This patchset adds an API to get negotiated vhost protocol features in
librte_vhost so we can use it to check if an optional feature is enabled.

v1: https://mails.dpdk.org/archives/dev/2021-February/199044.html

Keiichi Watanabe (2):
  vhost: Add API to get negotiated protocol features
  examples/vhost_blk: Check protocol features before getting inflight
    info

 examples/vhost_blk/vhost_blk.c | 23 ++++++++++++++++++-----
 lib/librte_vhost/rte_vhost.h   | 15 +++++++++++++++
 lib/librte_vhost/version.map   |  1 +
 lib/librte_vhost/vhost.c       | 14 ++++++++++++++
 4 files changed, 48 insertions(+), 5 deletions(-)

--
2.31.0.rc2.261.g7f71774620-goog
  

Comments

Chenbo Xia March 31, 2021, 6:45 a.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Keiichi Watanabe
> Sent: Monday, March 22, 2021 3:23 PM
> To: dev@dpdk.org
> Cc: dgreid@chromium.org; chirantan@chromium.org; Keiichi Watanabe
> <keiichiw@chromium.org>
> Subject: [dpdk-dev] [PATCH v2 0/2] vhost: Add API to get negotiated protocol
> features
> 
> This patchset adds an API to get negotiated vhost protocol features in
> librte_vhost so we can use it to check if an optional feature is enabled.
> 
> v1: https://mails.dpdk.org/archives/dev/2021-February/199044.html
> 
> Keiichi Watanabe (2):
>   vhost: Add API to get negotiated protocol features
>   examples/vhost_blk: Check protocol features before getting inflight
>     info
> 
>  examples/vhost_blk/vhost_blk.c | 23 ++++++++++++++++++-----
>  lib/librte_vhost/rte_vhost.h   | 15 +++++++++++++++
>  lib/librte_vhost/version.map   |  1 +
>  lib/librte_vhost/vhost.c       | 14 ++++++++++++++
>  4 files changed, 48 insertions(+), 5 deletions(-)
> 
> --
> 2.31.0.rc2.261.g7f71774620-goog

Fix the headlines due to check-git-log errors:

vhost: add API to get negotiated protocol features

examples/vhost_blk: check features before inflight API

With above fixed, series applied to next-virtio/main.

Thanks!