From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vhost: ABI/API change announcement due to refactor Date: Sun, 10 Apr 2016 11:58:59 +0200 Message-ID: <1844725.9Y7TDca69S@xps13> References: <1459925635-15299-1-git-send-email-yuanhan.liu@linux.intel.com> <57060840.5040503@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Panu Matilainen , dev@dpdk.org, huawei.xie@intel.com, Ilya Maximets To: Yuanhan Liu 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 E28532716 for ; Sun, 10 Apr 2016 11:59:02 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id l6so110940999wml.1 for ; Sun, 10 Apr 2016 02:59:02 -0700 (PDT) In-Reply-To: <57060840.5040503@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" 2016-04-07 10:12, Panu Matilainen: > On 04/06/2016 09:53 AM, Yuanhan Liu wrote: > > +* A librte_vhost public structures refactor is planned for DPDK 16.07 > > + that requires both ABI and API change. > > + The proposed refactor would expose DPDK vhost dev to applications as > > + a handle, like the way kernel exposes an fd to user for locating a > > + specific file, and to keep all major structures internally, so that > > + we are likely to be free from ABI violations in future. > > Acked-by: Panu Matilainen > > I applaud the initiative, public structs are by far the worst offender > when trying to maintain a stable ABI because they're so hard to > correctly version that hardly anybody besides glibc bothers. Yes, nice cleanup to do. Acked-by: Thomas Monjalon