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