Skip to contentSkip to conversation

doc/guides: add info on how to enable QAT

PATCH Superseded Deepak Kumar Jain 4 participants 6 messages Sep 13, 2016 – Sep 17, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 doc/guides: add info on how to enable QAT

From: 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
index 3ee2312..325004c 100644
@@ -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
#2 lore raw

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``

#3 lore raw
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``

#4 lore raw

PATCH v3 1/1 doc/guides: add info on how to enable QAT

In reply to a message not in the archive

From: 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
index 3ee2312..2480ce2 100644
@@ -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
Acked-by on v3 1/1
#5 lore raw
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]>

#6 lore raw
In reply to Deepak Kumar Jain
Quoted 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]>

---

Applied to dpdk-next-crypto.
Thanks,

Pablo