DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/2] vhost: Support external backend only vhost-user requests
@ 2019-03-13 15:55 Maxime Coquelin
  2019-03-13 15:55 ` [dpdk-dev] [PATCH v2 1/2] vhost: add API to set protocol features flags Maxime Coquelin
  2019-03-13 15:55 ` [dpdk-dev] [PATCH v2 2/2] vhost: support requests only handled by external backend Maxime Coquelin
  0 siblings, 2 replies; 6+ messages in thread
From: Maxime Coquelin @ 2019-03-13 15:55 UTC (permalink / raw)
  To: dev, changpeng.liu, tiwei.bie, i.maximets, dariusz.stojaczyk
  Cc: Maxime Coquelin

The goals of this series is to provide more flexibility to external
backends to implement their specific vhost-user request handling
without having to patch vhost-user library.

First patch implements a new API for external backend to advertize
its specific protocol features to vhost-user master.

Second patch ensures a request not handled by the vhost-user library
but by the external backend only will not be treated as an error or
make the vhost lib to crash.

Changes in v2:
==============
 - Remove 'skip_master' param from documentation (Ilya)
 - Merge pre and post callback in a single one (Ilya)

Changes in v1:
==============
 - Convert vhost-crypto to the API change (Ilya)
 - Fix build with recent GCC (fall-through)
 - Check request > VHOST_USER_NONE (Ilya)
 - Remove 'Requested invalid message type' check (Ilya)

Changes in RFC v2:
==================
 - Fix build & git message
 - Add new enum for not handled messages & remove skip_master (Ilya)

Maxime Coquelin (2):
  vhost: add API to set protocol features flags
  vhost: support requests only handled by external backend

 lib/librte_vhost/rte_vhost.h           | 47 ++++++++-------
 lib/librte_vhost/rte_vhost_version.map |  1 +
 lib/librte_vhost/socket.c              | 14 +++++
 lib/librte_vhost/vhost_crypto.c        | 10 +++-
 lib/librte_vhost/vhost_user.c          | 82 ++++++++++++++++----------
 5 files changed, 98 insertions(+), 56 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-19 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 15:55 [dpdk-dev] [PATCH v2 0/2] vhost: Support external backend only vhost-user requests Maxime Coquelin
2019-03-13 15:55 ` [dpdk-dev] [PATCH v2 1/2] vhost: add API to set protocol features flags Maxime Coquelin
2019-03-13 15:55 ` [dpdk-dev] [PATCH v2 2/2] vhost: support requests only handled by external backend Maxime Coquelin
2019-03-13 16:09   ` Ilya Maximets
2019-03-19 10:15     ` Maxime Coquelin
2019-03-19 10:15       ` Maxime Coquelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).