[dpdk-dev,v2] doc/guides: add info on how to enable QAT
Commit Message
From: Eoin Breen <eoin.breen@intel.com>
Signed-off-by: Eoin Breen <eoin.breen@intel.com>
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
---
Changes in v2:
Incorporated comments received on v1.
doc/guides/cryptodevs/qat.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
Comments
2016-09-13 11:47, Deepak Kumar Jain:
> +#. ``make config T=x86_64-native-linuxapp-gcc``
> +#. Open the ``./build/.config`` file
> +#. Replace ``CONFIG_RTE_LIBRTE_PMD_QAT=n`` with ``CONFIG_RTE_LIBRTE_PMD_QAT=y``
It is better to put commands after "code-block:: console"
Then I suggest this command:
sed -i 's,\(CONFIG_RTE_LIBRTE_PMD_QAT\)=n,\1=y,' build/.config
> +#. ``make``
> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> Sent: Tuesday, September 13, 2016 12:51 PM
> To: Jain, Deepak K <deepak.k.jain@intel.com>
> Cc: dev@dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>;
> Breen, Eoin <eoin.breen@intel.com>
> Subject: Re: [dpdk-dev] [PATCH v2] doc/guides: add info on how to enable
> QAT
>
> 2016-09-13 11:47, Deepak Kumar Jain:
> > +#. ``make config T=x86_64-native-linuxapp-gcc`` #. Open the
> > +``./build/.config`` file #. Replace ``CONFIG_RTE_LIBRTE_PMD_QAT=n``
> > +with ``CONFIG_RTE_LIBRTE_PMD_QAT=y``
>
> It is better to put commands after "code-block:: console"
> Then I suggest this command:
> sed -i 's,\(CONFIG_RTE_LIBRTE_PMD_QAT\)=n,\1=y,' build/.config
Thanks. I will update and send v3 of the patch.
> > +#. ``make``
>
@@ -83,6 +83,16 @@ Installation
To use the DPDK QAT PMD an SRIOV-enabled QAT kernel driver is required. The
VF devices exposed by this driver will be used by QAT PMD.
+To enable QAT in DPDK, follow the instructions mentioned in
+http://dpdk.org/doc/guides/linux_gsg/build_dpdk.html
+
+Quick instructions as follows:
+
+#. ``make config T=x86_64-native-linuxapp-gcc``
+#. Open the ``./build/.config`` file
+#. Replace ``CONFIG_RTE_LIBRTE_PMD_QAT=n`` with ``CONFIG_RTE_LIBRTE_PMD_QAT=y``
+#. ``make``
+
If you are running on kernel 4.4 or greater, see instructions for
`Installation using kernel.org driver`_ below. If you are on a kernel earlier
than 4.4, see `Installation using 01.org QAT driver`_.