From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B48F31B1C3 for ; Wed, 11 Oct 2017 12:47:41 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2017 03:47:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,361,1503385200"; d="scan'208";a="1024031702" Received: from aburakov-mobl2.ger.corp.intel.com (HELO [10.237.210.18]) ([10.237.210.18]) by orsmga003.jf.intel.com with ESMTP; 11 Oct 2017 03:47:38 -0700 To: Jianfeng Tan , dev@dpdk.org Cc: santosh.shukla@caviumnetworks.com, sergio.gonzalez.monroy@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com References: <1507718028-12943-1-git-send-email-jianfeng.tan@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Wed, 11 Oct 2017 11:47:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1507718028-12943-1-git-send-email-jianfeng.tan@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 10:47:42 -0000 On 11-Oct-17 11:33 AM, Jianfeng Tan wrote: > 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(-) > The patchset should probably mention its dependency on IOVA patches from Santosh. -- Thanks, Anatoly