From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 6CF5CB3FF for ; Thu, 5 Feb 2015 02:50:26 +0100 (CET) Received: from [2001:470:8:a08:215:ff:fecc:4872] (helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YJBaI-0005Tc-Le; Wed, 04 Feb 2015 20:50:24 -0500 Date: Wed, 4 Feb 2015 20:50:21 -0500 From: Neil Horman To: Stephen Hemminger Message-ID: <20150205015020.GD8788@neilslaptop.think-freely.org> References: <1423098809-21305-1-git-send-email-stephen@networkplumber.org> <1423098809-21305-4-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423098809-21305-4-git-send-email-stephen@networkplumber.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org, KY Srinivasan , Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH 3/7] hv: add basic vmbus support 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: Thu, 05 Feb 2015 01:50:26 -0000 On Wed, Feb 04, 2015 at 05:13:25PM -0800, Stephen Hemminger wrote: > From: Stephen Hemminger > > The hyper-v device driver forces the base EAL code to change > to support multiple bus types. This is done changing the pci_device > in ether driver to a generic union. > > As much as possible this is done in a backwards source compatiable > way. It will break ABI for device drivers. > > Signed-off-by: Stephen Hemminger > --- > lib/librte_eal/common/Makefile | 2 +- > lib/librte_eal/common/eal_common_options.c | 5 + > lib/librte_eal/common/eal_internal_cfg.h | 1 + > lib/librte_eal/common/eal_options.h | 2 + > lib/librte_eal/common/eal_private.h | 10 + > lib/librte_eal/common/include/rte_pci.h | 2 + > lib/librte_eal/common/include/rte_vmbus.h | 153 +++++++ > lib/librte_eal/linuxapp/eal/Makefile | 3 + > lib/librte_eal/linuxapp/eal/eal.c | 5 + > lib/librte_eal/linuxapp/eal/eal_vmbus.c | 658 +++++++++++++++++++++++++++++ > lib/librte_ether/rte_ethdev.c | 84 +++- > lib/librte_ether/rte_ethdev.h | 15 +- > 12 files changed, 932 insertions(+), 8 deletions(-) > create mode 100644 lib/librte_eal/common/include/rte_vmbus.h > create mode 100644 lib/librte_eal/linuxapp/eal/eal_vmbus.c > It seems like the vmbus functions need to be versioned here.