From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by dpdk.org (Postfix) with ESMTP id C6505C460 for ; Fri, 23 Oct 2015 08:34:44 +0200 (CEST) Received: by pacfv9 with SMTP id fv9so114570188pac.3 for ; Thu, 22 Oct 2015 23:34:44 -0700 (PDT) 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; bh=0jHAnIqMIkpD1NX8+2w+XQNJnenEffZKLFZc/GU0OxY=; b=jKiKW1xZD8TmIySDup8GaM6yGi7z3RJgsk5DD9XR9eR3A6pOa+oplRyJ1dTY/DwWaR +RNwDBB1U/hxCDaKt6PU/lfLmF2qWnWzdqUBpSWCq/hRrF6p6CT9CsYZ/DF3vNkYTbzr 8dPXWDA6YC62Se/n/qiaR2LNWyShGB0WvZUv8Yw5tQ50RPEHRraSJjW/8xK63G5RAAvu 3F/43H2i4WUm5FtSujF2xMk7XiFEb5dgzhLRbBzHsoG7zJJWGuoMujpFikm8g9IjWJJ4 0Wmud1oOYokd2yASDDkkQD1s+6VoGZnDQ1OBnXRMTl9vKhHEbY4gE0HANqVSScmXNyuD 9/iQ== X-Gm-Message-State: ALoCoQm0zTzEfW7ed0Vonf3LlsYsZ99ve8kyjgwXOx+48pARDeTk9t0Lx3lUbFxbYluoBFuc5DiY X-Received: by 10.66.150.231 with SMTP id ul7mr2971019pab.42.1445582083927; Thu, 22 Oct 2015 23:34:43 -0700 (PDT) Received: from xeon-e3.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id ot8sm17078910pbb.26.2015.10.22.23.34.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Oct 2015 23:34:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 22 Oct 2015 23:34:44 -0700 Message-Id: <1445582090-5927-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH v2 0/6] Xen DOM0 runtime 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: Fri, 23 Oct 2015 06:34:45 -0000 It should be possible to build a single application or library that will work both in Xen and non-Xen environment. Any special case handling should be done at runtime. Rebased to current DPDK source. Stephen Hemminger (6): xen: allow determining DOM0 at runtime ethdev: add common function for reserving DMA regions e1000: use rte_eth_dma_zone_reserve ixgbe: use rte_eth_dma_zone_reserve i40e: use rte_eth_dma_zone_reserve fm10k: use rte_eth_dma_zone_reserve drivers/net/e1000/em_rxtx.c | 38 ++--------- drivers/net/e1000/igb_rxtx.c | 41 ++---------- drivers/net/fm10k/fm10k_ethdev.c | 47 ++------------ drivers/net/i40e/i40e_ethdev.c | 9 --- drivers/net/i40e/i40e_fdir.c | 5 +- drivers/net/i40e/i40e_rxtx.c | 94 ++++++---------------------- drivers/net/ixgbe/ixgbe_rxtx.c | 47 ++------------ lib/librte_eal/common/include/rte_memory.h | 30 ++++++++- lib/librte_eal/linuxapp/eal/eal_memory.c | 7 +++ lib/librte_eal/linuxapp/eal/eal_xen_memory.c | 2 +- lib/librte_ether/rte_ethdev.c | 24 +++++++ lib/librte_ether/rte_ethdev.h | 23 +++++++ lib/librte_mempool/rte_mempool.c | 48 +++++++++----- lib/librte_mempool/rte_mempool.h | 3 +- 14 files changed, 160 insertions(+), 258 deletions(-) -- 2.1.4