From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: [RFC 0/2] vhost: Support external backend only vhost-user requests Date: Wed, 27 Feb 2019 11:02:33 +0100 Message-ID: <20190227100235.14514-1-maxime.coquelin@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Maxime Coquelin To: dev@dpdk.org, changpeng.liu@intel.com, tiwei.bie@intel.com, i.maximets@samsung.com Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id A12DF4C77 for ; Wed, 27 Feb 2019 11:02:42 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. Maxime Coquelin (2): vhost: add API to set protocol features flags vhost: support vhost-user request only handled by external backend lib/librte_vhost/rte_vhost.h | 14 +++++++++++++ lib/librte_vhost/rte_vhost_version.map | 1 + lib/librte_vhost/socket.c | 15 ++++++++++++++ lib/librte_vhost/vhost_user.c | 28 ++++++++++++++------------ 4 files changed, 45 insertions(+), 13 deletions(-) -- 2.20.1