doc/guides: add info on how to enable QAT
PATCH v2 1/1 doc/guides: add info on how to enable QAT
In reply to a message not in the archiveFrom: Eoin Breen <[email protected]>
---
Changes in v2:
Incorporated comments received on v1.
doc/guides/cryptodevs/qat.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)
doc/guides/cryptodevs/qat.rst +10 -0
@@ -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`_.
Signature · 1 line
2.5.5
2016-09-13 11:47, Deepak Kumar Jain:
doc/guides/cryptodevs/qat.rst Installation · line 93
Quoted 3 lines
doc/guides/cryptodevs/qat.rst +3
-0+#. ``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
Quoted 1 line
+#. ``make``
Quoted 11 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Tuesday, September 13, 2016 12:51 PM
To: Jain, Deepak K <[email protected]>
Cc: [email protected]; De Lara Guarch, Pablo <[email protected]>; Breen, Eoin <[email protected]>
Subject: Re: [dpdk-dev] [PATCH v2] doc/guides: add info on how to enable QAT
Quoted 8 lines
2016-09-13 11:47, Deepak Kumar Jain:
Review
Quoted 3 lines
(quoted diff) +3
-0+#. ``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.
Quoted 2 lines
Quoted 1 line
+#. ``make``
PATCH v3 1/1 doc/guides: add info on how to enable QAT
In reply to a message not in the archiveFrom: Eoin Breen <[email protected]>
---
Changes in v3:
* Add console code-block
* Modified the command to replace n with y in build/.config
Changes in v2:
* Incorporated comments received on v1.
doc/guides/cryptodevs/qat.rst | 11 +++++++++++ 1 file changed, 11 insertions(+)
doc/guides/cryptodevs/qat.rst +11 -0
@@ -83,6 +83,17 @@ 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: + +.. code-block:: console + + make config T=x86_64-native-linuxapp-gcc + sed -i 's,\(CONFIG_RTE_LIBRTE_PMD_QAT\)=n,\1=y,' build/.config + 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`_.
Signature · 1 line
2.5.5
Quoted 10 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Deepak Kumar Jain
Sent: Tuesday, September 13, 2016 3:09 PM
To: [email protected]
Cc: De Lara Guarch, Pablo <[email protected]>; Breen, Eoin <[email protected]>; Jain, Deepak K <[email protected]>
Subject: [dpdk-dev] [PATCH v3] doc/guides: add info on how to enable QAT
Quoted 4 lines
From: Eoin Breen <[email protected]>
Signed-off-by Eoin Breen <[email protected]>Signed-off-by Deepak Kumar Jain <[email protected]>
De Lara Guarch, Pablo
AppliedQuoted 9 lines
-----Original Message-----
From: Jain, Deepak K
Sent: Tuesday, September 13, 2016 7:09 AM
To: [email protected]
Cc: De Lara Guarch, Pablo; Breen, Eoin; Jain, Deepak K
Subject: [PATCH v3] doc/guides: add info on how to enable QAT
Quoted 5 lines
From: Eoin Breen <[email protected]>
Signed-off-by Eoin Breen <[email protected]>Signed-off-by Deepak Kumar Jain <[email protected]>---
Applied to dpdk-next-crypto.
Thanks,
Pablo