From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: [PATCH v7 07/10] qat_crypto_pmd: Addition of a new QAT DPDK PMD. Date: Wed, 25 Nov 2015 10:59:55 +0000 Message-ID: <565594AB.10500@intel.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Thomas Monjalon 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) In-Reply-To: <1509312.dYR7GYv2r1@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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=3D1" >>> + "./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=3D$(readlink -e $qat_dir) > export ICP_ENV_DIR=3D$ICP_ROOT/quickassist/build_system/build_files/env= _files > export ICP_TOOLS_TARGET=3D"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 =E2=80=98icp_adf_pollQu= eue=E2=80=99: > function body not available > Hey Thomas, I'm just following up with the team on this. There is no=20 actual build dependency on the QAT PMD to have the driver installed,=20 it's only required for management of the PF and allocation of VF's which=20 are subsequently used within DPDK. The only external header dependencies=20 outside of DPDK should be on openssl/libcrypto. Declan