From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54])
 by dpdk.org (Postfix) with ESMTP id C59B03989
 for <dev@dpdk.org>; Tue, 30 Aug 2016 16:50:28 +0200 (CEST)
Received: by mail-wm0-f54.google.com with SMTP id o80so40270963wme.1
 for <dev@dpdk.org>; Tue, 30 Aug 2016 07:50:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:user-agent:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=LQ5c0EBgvi10hm8gWFv9NJcY74JsA3izC6isawgca/0=;
 b=QMgciRLdRYoTyOwy8Em6PLadpmC02iIYP8QdKIDV2tlkON4orHonbvD5HV42HOlEP9
 XdGbVAlQp6JRBHgDRPWHMdxeEKnOe1kO6GW7RNJQHZXR6YTCxTEG/uBwhHeLbhmn8000
 6unR7lcNBQF6FkdP80mW2lEkVumm+Owcyf8uIZ+3m2oZs5r6toCljAm8vU1ZCxU2T33R
 bWogJZjNC4YfjcfCECJuyrDoadRhurLihyXRTKEaYEoqwXOAT213zzPTQDufh9ufWmpS
 l8FDn+q69/PGHB7oRlfbsU59xiQsIBRwUMqslhCVMGeLqmTih/Se/7NIDK4cDnC+VEUW
 FkLw==
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:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding;
 bh=LQ5c0EBgvi10hm8gWFv9NJcY74JsA3izC6isawgca/0=;
 b=QnXTSXnz3FaVq7RO1Tf518bDUOHXSYpIPaBGmrDAZqgaWh7pw+LFXhT163Ww1sHMaJ
 h/k+Q8ohMgSGUm6LOgDAPmED3NxygkZolXK3NV9/J4+VHuBXTd9Ezh557GvPXdqeW+71
 UnNkRKMgEXhLOiIxn/aWRf3Q3XKRdym7Qt64jfCVLlN0qzSjoCsOgkG7MNnjWFGtBxa+
 mqx0hCB/ByJeLe1pw95l23uE4E7Xc7mL5M/8oODkS/KS/nI8XT5taZVNBhkFkLV47xnz
 9hG/rt7BpBbPhhpt6c5YR6cMdA+xRIMsLo86cBfJ3fYY55F5PKZ4ZUloRT5QZpHSNtv+
 RmjQ==
X-Gm-Message-State: AE9vXwOaVr79ZX67BqY4ej3idRbEVR15DF1guZY7fENUmME+RlbeARDqNC926vm9m/5B4bNJ
X-Received: by 10.28.193.10 with SMTP id r10mr4494428wmf.49.1472568628552;
 Tue, 30 Aug 2016 07:50:28 -0700 (PDT)
Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net.
 [82.239.227.177])
 by smtp.gmail.com with ESMTPSA id q4sm39942031wjk.24.2016.08.30.07.50.27
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 30 Aug 2016 07:50:27 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Wiles, Keith" <keith.wiles@intel.com>
Cc: "Breen, Eoin" <eoin.breen@intel.com>, dev@dpdk.org, "Jain,
 Deepak K" <deepak.k.jain@intel.com>, "Trahe, Fiona" <fiona.trahe@intel.com>,
 "Griffin, John" <john.griffin@intel.com>, "Mcnamara,
 John" <john.mcnamara@intel.com>
Date: Tue, 30 Aug 2016 16:50:25 +0200
Message-ID: <6602025.TFsYvFOpoj@xps13>
User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <1B14A3D5-1244-4B28-94B9-FDB53E9C5052@intel.com>
References: <1472563602-111498-1-git-send-email-eoin.breen@intel.com>
 <2225915.7YPDa8br1f@xps13> <1B14A3D5-1244-4B28-94B9-FDB53E9C5052@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Subject: Re: [dpdk-dev] [PATCH] doc/guides: add info on how to enable QAT
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, 30 Aug 2016 14:50:28 -0000

2016-08-30 13:57, Wiles, Keith:
> > 2016-08-30 14:26, Eoin Breen:
> >> --- a/doc/guides/cryptodevs/qat.rst
> >> +++ b/doc/guides/cryptodevs/qat.rst
> >> @@ -78,6 +78,11 @@ Installation
> >> To use the DPDK QAT PMD an SRIOV-enabled QAT kernel driver is requ=
ired. The
> >> VF devices exposed by this driver will be used by QAT PMD.
> >>=20
> >> +To enable QAT in DPDK you must change the ./config/common_base fi=
le. Change the
> >> +line 'CONFIG_RTE_LIBRTE_PMD_QAT=3Dn' to 'CONFIG_RTE_LIBRTE_PMD_QA=
T=3Dy' to do this.
> >=20
> > No, the recommended way is to change the value in the generated con=
fig
> > file (.config).
>=20
> The way I have been changing the default configuration options is to =
copy the config/defconfig_XYZ file like defconfig_x86_64-native-linuxap=
p-gcc to a new name say defconfig-x86_64-qat-linuxapp-gcc. Then edit th=
at file and add the CONFIG_RTE_LIBRTE_PMD_QAT=3Dy to the bottom of the =
file. Then =E2=80=98make install T=3Dx86_64-qat-linuxapp-gcc -j=E2=80=99=
.
>=20
> Is this not a better way to build a new configuration for a specific =
reason?

Yes you can also build your own defconfig.
I think it is better to stick to simply change the generated file betwe=
en
"make config" and "make" for the documentation.