From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Hajnoczi Subject: [PATCH v2 0/2] vhost: introduce rte_vhost_vring_call() Date: Tue, 2 Jan 2018 09:31:34 +0000 Message-ID: <20180102093136.28690-1-stefanha@redhat.com> Cc: Yuanhan Liu , Tetsuya Mukawa , Maxime Coquelin , Stefan Hajnoczi To: dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 6089A1322C for ; Tue, 2 Jan 2018 10:31:46 +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" v2: * Add internal vhost_vring_call() helper function [Maxime] These patches eliminate code duplication for vhost_virtqueue->callfd users by introducing rte_vhost_vring_call() (public API) and vhost_vring_call() (librte_vhost-internal API). Stefan Hajnoczi (2): vhost: add vhost_vring_call() helper vhost: introduce rte_vhost_vring_call() lib/librte_vhost/rte_vhost.h | 15 +++++++++++++++ lib/librte_vhost/vhost.h | 12 ++++++++++++ examples/vhost/virtio_net.c | 11 ++--------- examples/vhost_scsi/vhost_scsi.c | 6 +++--- lib/librte_vhost/vhost.c | 21 +++++++++++++++++++++ lib/librte_vhost/virtio_net.c | 23 +++-------------------- lib/librte_vhost/rte_vhost_version.map | 7 +++++++ 7 files changed, 63 insertions(+), 32 deletions(-) -- 2.14.3