Re: [dpdk-dev] [PATCH v2 1/2] vhost: Add API to get negotiated protocol features

2021-04-01 Thread Keiichi Watanabe
Thanks for the review! Should I send the updated version of the patch series? Or, can I ask you to make the follow up changes as a maintainer? Keiichi On Thu, Apr 1, 2021 at 5:42 PM Kinsella, Ray wrote: > > > On 31/03/2021 17:45, Ferruh Yigit wrote: > > On 3/22/2021 7:22 AM, K

Re: [dpdk-dev] [PATCH v2 1/2] vhost: Add API to get negotiated protocol features

2021-04-01 Thread Keiichi Watanabe
On Fri, Apr 2, 2021 at 1:28 AM Ferruh Yigit wrote: > On 4/1/2021 5:05 PM, Keiichi Watanabe wrote: > > Thanks for the review! > > Should I send the updated version of the patch series? Or, can I ask you > to make > > the follow up changes as a maintainer? > >

[dpdk-dev] [PATCH] examples/vhost_blk: check protocol feature before get inflight info

2021-02-02 Thread Keiichi Watanabe
Avoid calling rte_vhost_get_vhost_ring_inflight() and rte_vhost_get_vring_base_from_inflight() when VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD is not set. Signed-off-by: Keiichi Watanabe --- examples/vhost_blk/vhost_blk.c | 22 +- lib/librte_vhost/rte_vhost.h | 13

[dpdk-dev] [PATCH v2 0/2] vhost: Add API to get negotiated protocol features

2021-03-22 Thread Keiichi Watanabe
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

[dpdk-dev] [PATCH v2 1/2] vhost: Add API to get negotiated protocol features

2021-03-22 Thread Keiichi Watanabe
Add rte_vhost_get_negotiated_protocol_features, which returns a set of enabled protocol features. Signed-off-by: Keiichi Watanabe --- lib/librte_vhost/rte_vhost.h | 15 +++ lib/librte_vhost/version.map | 1 + lib/librte_vhost/vhost.c | 14 ++ 3 files changed, 30

[dpdk-dev] [PATCH v2 2/2] examples/vhost_blk: Check protocol features before getting inflight info

2021-03-22 Thread Keiichi Watanabe
Avoid calling rte_vhost_get_vhost_ring_inflight() and rte_vhost_get_vring_base_from_inflight() when VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD is not set. Signed-off-by: Keiichi Watanabe --- examples/vhost_blk/vhost_blk.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions