From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stephen@networkplumber.org>
Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com
 [209.85.220.48]) by dpdk.org (Postfix) with ESMTP id B173F1DB1
 for <dev@dpdk.org>; Tue, 29 Sep 2015 02:44:45 +0200 (CEST)
Received: by padhy16 with SMTP id hy16so188536486pad.1
 for <dev@dpdk.org>; Mon, 28 Sep 2015 17:44:45 -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=L2Xhv8PluglSCED0x63p2nj1lrG7++hqfaBaerehChM=;
 b=AIy4zFZGXL9n11fT1UD8NwBhciJiHmGiwF4I/f11lQDw6tChKJd/jD7kggjtmczYzO
 PSGbiVWzYPpeYWRyoqCH8b2FA2s8zaJD/MHGCRBueIvYoXyDXxmHwNwswKrKFRYDGFnC
 5m0JDEsEi15XcR7Osat6dhruAtM85OFS+hVJrOsubU+bd3qSTBd+eAVGZKjt4wENB1Rp
 zSg2bOLU+7yHrBIg8TKRXIG6iHgVokCiwnQqELHqlWgVQHH1POWSy/xbd2Z8dhCTtKg9
 0cAvFL6FhMK8/As1qTfbdSR/aJYj1coG9pyYKX52hMJ0j9D5SnA3Jkfd4jmc9JnCcgKs
 i8Bw==
X-Gm-Message-State: ALoCoQmZ670lNLqdDs8bCJRrizmmOvlHfXH8O2US8eIiUfbqqrWzb2NNMLBicvhiCTxmuUI33Py2
X-Received: by 10.66.220.2 with SMTP id ps2mr29236880pac.128.1443487484932;
 Mon, 28 Sep 2015 17:44:44 -0700 (PDT)
Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net.
 [50.53.82.155])
 by smtp.gmail.com with ESMTPSA id sl7sm21702971pbc.54.2015.09.28.17.44.43
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
 Mon, 28 Sep 2015 17:44:44 -0700 (PDT)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Date: Mon, 28 Sep 2015 17:44:41 -0700
Message-Id: <1443487487-31915-1-git-send-email-stephen@networkplumber.org>
X-Mailer: git-send-email 2.1.4
Subject: [dpdk-dev] [PATCH 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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Sep 2015 00:44:46 -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.

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