From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: [PATCH 3/7] hv: add basic vmbus support Date: Wed, 4 Feb 2015 20:50:21 -0500 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 Cc: dev-VfR2kkLFssw@public.gmane.org, KY Srinivasan , Stephen Hemminger To: Stephen Hemminger Return-path: Content-Disposition: inline In-Reply-To: <1423098809-21305-4-git-send-email-stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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.