From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request Date: Mon, 07 Dec 2015 12:28:57 +0100 Message-ID: <8246076.3G1fmNTuPH@xps13> References: <1449027793-30975-1-git-send-email-yuanhan.liu@linux.intel.com> <2679675.c6cKM9bBsr@xps13> <5665275A.6020308@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Victor Kaplansky , "Michael S. Tsirkin" To: Panu Matilainen Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 3091195A3 for ; Mon, 7 Dec 2015 12:30:10 +0100 (CET) Received: by wmuu63 with SMTP id u63so136310134wmu.0 for ; Mon, 07 Dec 2015 03:30:10 -0800 (PST) In-Reply-To: <5665275A.6020308@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-12-07 08:29, Panu Matilainen: > On 12/07/2015 01:07 AM, Thomas Monjalon wrote: > > 2015-12-02 15:53, Panu Matilainen: > >> This (and other changes in patch 2 breaks the librte_vhost ABI again, so > >> you'd need to at least add a deprecation note to 2.2 to be able to do it > >> in 2.3 at all according to the ABI policy. > >> > >> Perhaps a better option would be adding some padding to the structs now > >> for 2.2 since the vhost ABI is broken there anyway. That would at least > >> give a chance to keep it compatible from 2.2 to 2.3. > > > > Please could you point where the vhost ABI is broken in 2.2? > > > > The vhost ABI break was announced for DPDK 2.2 in commit > 3c848bd7b1c6f4f681b833322a748fdefbb5fb2d: [...] > So the ABI process was properly followed, except for actually bumping > LIBABIVER. Bumping LIBABIVER is mentioned in > doc/guides/contributing/versioning.rst but it doesn't specify *when* > this should be done, eg should the first patch breaking the ABI bump it > or should it done be shortly before the next stable release, or > something else. As it is, it seems a bit too easy to simply forget. I thought it was not needed to explicitly say that commits must be atomic and we do not have to wait to do the required changes. In this case, I've missed it when reviewing the vhost patches breaking the ABI.