From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=wfX5HZbyFmgD5x0e1n0UXt1No/SKSn9ifcDy/34X1aA=; b=JUKIU7dlkrRX6ctxC4I8qEsmGS+49OUUUmRfQwawLsn+DAgDTR1xgXmeAm3LR2VU/U R5ReeYEoJiIeQGYX0NxrIoxCvMX3pfH8YNuOUIHVpcpifOA/PXuJTHCc8QME4XxdcUva 1k5ud2Lvz8WGlvM9bJnRahtcVt712srRJiT+WRrP2t5uFEpkCO41sAJ26pdOQ95KAu8Q B3eLE6fEjQtcE75/BWydlhN2H4By4p+fRBq5R8tUXvG2ZGhDBucBh3vW05suriLTm2zv MRX1PvJe6Q2/uIfCvPmTO5G5EIkCjKvHzKtLmt5wy7F26IEB3qv7/LmEDyXwwtVH5TqV Bqvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=wfX5HZbyFmgD5x0e1n0UXt1No/SKSn9ifcDy/34X1aA=; b=hGiTa5SrkmnqAyRyOEGude5kw4S40NFHObGLSmwhxRuVcn4Aji490D5JyieCmSabhj AC+RZNwGWj6AHkLwD/wa6gKxIVurkR1kkVK3183HHD6xM6juNHA4W+JtxJ6VzHl3djKF c6keFFQY/o1JCoiz9nGjWAkHdAzwP14q76vXFV3540gMay/lqfgPc+ZonmpxbGzZS/MN yOeurG/4sA42OLKGfuTzbUehO91mzTJtlyXwKLbzCTeRaVvGss+gccKvM8/n5AX3PBW9 vyRP1sOoYL7Sn88N7XK827O+xAnAbOINt58YS8ZCq0UFSlI8gwa4PDHUBOniMkr/apAN tpEg== X-Gm-Message-State: AD7BkJJPi3KorfG+3sOnZtIO3xit0c+570SGvlAks+gHEzbQNXk4BWS56L4rCePRNrqNAgz/ X-Received: by 10.194.21.131 with SMTP id v3mr17783533wje.132.1460282342799; Sun, 10 Apr 2016 02:59:02 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id z127sm11564724wme.5.2016.04.10.02.59.01 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2016 02:59:02 -0700 (PDT) From: Thomas Monjalon To: Yuanhan Liu Cc: Panu Matilainen , dev@dpdk.org, huawei.xie@intel.com, Ilya Maximets Date: Sun, 10 Apr 2016 11:58:59 +0200 Message-ID: <1844725.9Y7TDca69S@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <57060840.5040503@redhat.com> References: <1459925635-15299-1-git-send-email-yuanhan.liu@linux.intel.com> <57060840.5040503@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] vhost: ABI/API change announcement due to refactor 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: Sun, 10 Apr 2016 09:59:03 -0000 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