From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id CB9CC957C for ; Mon, 7 Dec 2015 04:25:06 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 06 Dec 2015 19:25:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,392,1444719600"; d="scan'208";a="855290064" Received: from yliu-dev.sh.intel.com ([10.239.66.49]) by fmsmga001.fm.intel.com with ESMTP; 06 Dec 2015 19:25:05 -0800 From: Yuanhan Liu To: dev@dpdk.org Date: Mon, 7 Dec 2015 11:25:52 +0800 Message-Id: <1449458752-20725-1-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 Subject: [dpdk-dev] [PATCH] vhost: note the ABI changes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 03:25:07 -0000 Note the ABI changes and update the ABI version to 2. Cc: Thomas Monjalon Signed-off-by: Yuanhan Liu --- This patch is assumed to be applied on top of following patch: http://dpdk.org/dev/patchwork/patch/9262/ --- doc/guides/rel_notes/release_2_2.rst | 13 ++++++++++++- lib/librte_vhost/Makefile | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 34237b9..3e92854 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_notes/release_2_2.rst @@ -331,6 +331,17 @@ ABI Changes * librte_cfgfile: Allow longer names and values by increasing the constants CFG_NAME_LEN and CFG_VALUE_LEN to 64 and 256 respectively. +* vhost: a new field enabled is added to the vhost_virtqueue structure. + +* vhost: a new field virt_qp_nb is added to virtio_net structure, and the + virtqueue field is moved to the end of virtio_net structure. + +* vhost: a new operation vring_state_changed is added to virtio_net_device_ops + structure. + +* vhost: a few spaces are reserved both at vhost_virtqueue and virtio_net + structure for future extension. + Shared Library Versions ----------------------- @@ -365,4 +376,4 @@ The libraries prepended with a plus sign were incremented in this version. librte_sched.so.1 + librte_table.so.2 librte_timer.so.1 - librte_vhost.so.1 + + librte_vhost.so.2 diff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile index 6681f22..035b569 100644 --- a/lib/librte_vhost/Makefile +++ b/lib/librte_vhost/Makefile @@ -36,7 +36,7 @@ LIB = librte_vhost.a EXPORT_MAP := rte_vhost_version.map -LIBABIVER := 1 +LIBABIVER := 2 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -D_FILE_OFFSET_BITS=64 ifeq ($(CONFIG_RTE_LIBRTE_VHOST_USER),y) -- 1.9.0