From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2F4328E79 for ; Wed, 25 Nov 2015 12:01:01 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 25 Nov 2015 03:01:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,342,1444719600"; d="scan'208";a="828696211" Received: from dwdohert-dpdk.ir.intel.com ([163.33.213.167]) by orsmga001.jf.intel.com with ESMTP; 25 Nov 2015 03:00:59 -0800 To: Thomas Monjalon References: <1447176763-19303-1-git-send-email-declan.doherty@intel.com> <1447441090-8129-8-git-send-email-declan.doherty@intel.com> <1923288.cx2FTTH7nm@xps13> <1509312.dYR7GYv2r1@xps13> From: Declan Doherty Message-ID: <565594AB.10500@intel.com> Date: Wed, 25 Nov 2015 10:59:55 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1509312.dYR7GYv2r1@xps13> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v7 07/10] qat_crypto_pmd: Addition of a new QAT DPDK PMD. 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: Wed, 25 Nov 2015 11:01:01 -0000 On 25/11/15 10:49, Thomas Monjalon wrote: > 2015-11-25 11:34, Thomas Monjalon: >> 2015-11-13 18:58, Declan Doherty: >>> +Build and install the SRIOV-enabled QAT driver >>> + >>> +.. code-block:: console >>> + >>> + "mkdir /QAT; cd /QAT" >>> + copy qatmux.l.2.3.0-34.tgz to this location >>> + "tar zxof qatmux.l.2.3.0-34.tgz" >>> + "export ICP_WITHOUT_IOMMU=1" >>> + "./installer.sh install QAT1.6 host" >> >> People may want to install QAT in a specific directory to just test >> build regression. >> Is there an easy way to do it? > > For reference, I use this script: > > tar xf qatmux-2.5.0-80/QAT1.6/QAT1.6.L.2.5.0-80.tar.gz > export ICP_ROOT=$(readlink -e $qat_dir) > export ICP_ENV_DIR=$ICP_ROOT/quickassist/build_system/build_files/env_files > export ICP_TOOLS_TARGET="accelcomp" > make -C $ICP_ROOT/quickassist > > And it fails here: > > qat-1.6/quickassist/adf/include/icp_adf_transport_dp.h:118:18: > error: inlining failed in call to always_inline ‘icp_adf_pollQueue’: > function body not available > Hey Thomas, I'm just following up with the team on this. There is no actual build dependency on the QAT PMD to have the driver installed, it's only required for management of the PF and allocation of VF's which are subsequently used within DPDK. The only external header dependencies outside of DPDK should be on openssl/libcrypto. Declan