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 12:02:50 +0200 Message-ID: <3754874.Gs70IoFubP@xps13> References: <1459925635-15299-1-git-send-email-yuanhan.liu@linux.intel.com> <57060840.5040503@redhat.com> <1844725.9Y7TDca69S@xps13> 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-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 903E228FD for ; Sun, 10 Apr 2016 12:02:53 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id v188so56261646wme.1 for ; Sun, 10 Apr 2016 03:02:53 -0700 (PDT) In-Reply-To: <1844725.9Y7TDca69S@xps13> 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" > > > +* 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 Applied, thanks