[dpdk-dev] [PATCH v2] doc/guides: add info on how to enable QAT

2016-09-13 Thread Thomas Monjalon
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``




[dpdk-dev] [PATCH v2] doc/guides: add info on how to enable QAT

2016-09-13 Thread Jain, Deepak K


> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Tuesday, September 13, 2016 12:51 PM
> To: Jain, Deepak K 
> Cc: dev at dpdk.org; De Lara Guarch, Pablo  intel.com>;
> Breen, Eoin 
> 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``
> 



[dpdk-dev] [PATCH v2] doc/guides: add info on how to enable QAT

2016-09-13 Thread Deepak Kumar Jain
From: Eoin Breen 

Signed-off-by: Eoin Breen 
Signed-off-by: Deepak Kumar Jain 
---
Changes in v2:
Incorporated comments received on v1.

 doc/guides/cryptodevs/qat.rst | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index 3ee2312..325004c 100644
--- a/doc/guides/cryptodevs/qat.rst
+++ b/doc/guides/cryptodevs/qat.rst
@@ -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`_.
-- 
2.5.5