From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <jianfeng.tan@intel.com>
Received: from mga14.intel.com (mga14.intel.com [192.55.52.115])
 by dpdk.org (Postfix) with ESMTP id 0703A1B1A4
 for <dev@dpdk.org>; Wed, 11 Oct 2017 12:32:21 +0200 (CEST)
Received: from fmsmga004.fm.intel.com ([10.253.24.48])
 by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 11 Oct 2017 03:32:20 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.43,360,1503385200"; d="scan'208";a="321946970"
Received: from dpdk06.sh.intel.com ([10.67.110.196])
 by fmsmga004.fm.intel.com with ESMTP; 11 Oct 2017 03:32:19 -0700
From: Jianfeng Tan <jianfeng.tan@intel.com>
To: dev@dpdk.org
Cc: santosh.shukla@caviumnetworks.com, sergio.gonzalez.monroy@intel.com,
 thomas@monjalon.net, ferruh.yigit@intel.com,
 Jianfeng Tan <jianfeng.tan@intel.com>
Date: Wed, 11 Oct 2017 10:33:46 +0000
Message-Id: <1507718028-12943-1-git-send-email-jianfeng.tan@intel.com>
X-Mailer: git-send-email 2.7.4
Subject: [dpdk-dev] [PATCH 0/2] enable 4KB + VFIO-PCI
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <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: Wed, 11 Oct 2017 10:32:22 -0000

Patch 1: Use VA as IOVA if IOVA mode is enabled.
Patch 2: Enable IOVA mode for the PMDs for Intel NICs.

How to test:

$ (bind nic to vfio-pci)
$ testpmd -c 0x3 -n 4 -m 2048 --no-huge -- -i --no-numa

Jianfeng Tan (2):
  eal: honor IOVA mode for no-huge case
  net: enable IOVA mode for PMDs

 drivers/net/e1000/em_ethdev.c            | 3 ++-
 drivers/net/e1000/igb_ethdev.c           | 5 +++--
 drivers/net/fm10k/fm10k_ethdev.c         | 3 ++-
 drivers/net/i40e/i40e_ethdev.c           | 3 ++-
 drivers/net/i40e/i40e_ethdev_vf.c        | 2 +-
 drivers/net/ixgbe/ixgbe_ethdev.c         | 5 +++--
 lib/librte_eal/linuxapp/eal/eal_memory.c | 5 ++++-
 7 files changed, 17 insertions(+), 9 deletions(-)

-- 
2.7.4