From: Yuanhan Liu Date: Mon, 7 Dec 2015 03:25:52 +0000 (+0800) Subject: vhost: note the ABI changes X-Git-Tag: spdx-start~7741 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0c83f820dba6a8ab8af8dfd6115290daa3be5407;p=dpdk.git vhost: note the ABI changes Note the ABI changes and update the ABI version to 2. Signed-off-by: Yuanhan Liu --- diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 8bad64d994..3c7c79e207 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_notes/release_2_2.rst @@ -505,6 +505,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 ----------------------- @@ -539,4 +550,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 6681f22227..035b569956 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)