* [dpdk-dev] [PATCH] doc: Spell fixes, re-organize and update CXGBE documentation
@ 2015-07-15 17:30 Rahul Lakkireddy
2015-07-15 12:18 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Rahul Lakkireddy @ 2015-07-15 17:30 UTC (permalink / raw)
To: dev; +Cc: Felix Marti, Kumar Sanghvi, Nirranjan Kirubaharan
Fix spelling and grammar errors. Re-organize sections for better explanation
in the documentation. Add a section describing compilation of CXGBE with DPDK.
Add a note describing that CXGBE currently only supports binding to PF4.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
---
doc/guides/nics/cxgbe.rst | 95 +++++++++++++++++++++++++++--------------------
1 file changed, 54 insertions(+), 41 deletions(-)
diff --git a/doc/guides/nics/cxgbe.rst b/doc/guides/nics/cxgbe.rst
index 6ac5e07..7557db0 100644
--- a/doc/guides/nics/cxgbe.rst
+++ b/doc/guides/nics/cxgbe.rst
@@ -34,21 +34,21 @@ CXGBE Poll Mode Driver
The CXGBE PMD (**librte_pmd_cxgbe**) provides poll mode driver support
for **Chelsio T5** 10/40 Gbps family of adapters.
-More information can be found at `Chelsio Communications
+More information can be found at `Chelsio Communications Official Website
<http://www.chelsio.com>`_.
Features
--------
-CXGBE PMD has the support for:
+CXGBE PMD has support for:
-- Multiple queues for TX and RX.
-- Receiver Side Steering (RSS).
-- VLAN filtering.
-- Checksum offload.
-- Promiscuous mode.
-- All multicast mode.
-- Port hardware statistics.
+- Multiple queues for TX and RX
+- Receiver Side Steering (RSS)
+- VLAN filtering
+- Checksum offload
+- Promiscuous mode
+- All multicast mode
+- Port hardware statistics
Limitations
-----------
@@ -57,16 +57,35 @@ The Chelsio T5 devices provide two/four ports but expose a single PCI bus
address, thus, librte_pmd_cxgbe registers itself as a
PCI driver that allocates one Ethernet device per detected port.
-For this reason, one cannot white/blacklist a single port without also
-white/blacklisting the others on the same device.
+For this reason, one cannot whitelist/blacklist a single port without
+whitelisting/blacklisting the other ports on the same device.
-Configuration
+Supported Chelsio T5 NICs
+-------------------------
+
+- 1G NICs: T502-BT
+- 10G NICs: T520-BT, T520-CR, T520-LL-CR, T520-SO-CR, T540-CR
+- 40G NICs: T580-CR, T580-LP-CR, T580-SO-CR
+- Other T5 NICs: T522-CR
+
+Prerequisites
-------------
-Compiling CXGBE PMD
+- Requires firmware version **1.13.32.0** and higher. Visit
+ `Chelsio Download Center <http://service.chelsio.com>`_ to get latest firmware
+ bundled with the latest Chelsio Unified Wire package. Installing and loading
+ the latest cxgb4 kernel driver from the Chelsio Unified Wire package should
+ get you the latest firmware. More information can be obtained from the User
+ Guide that is bundled with the Chelsio Unified Wire package.
+
+Pre-Installation Configuration
+------------------------------
+
+Config File Options
~~~~~~~~~~~~~~~~~~~
-These options can be modified in the ``.config`` file.
+The following options can be modified in the ``.config`` file. Please note that
+enabling debugging options may affect system performance.
- ``CONFIG_RTE_LIBRTE_CXGBE_PMD`` (default **y**)
@@ -74,39 +93,37 @@ These options can be modified in the ``.config`` file.
- ``CONFIG_RTE_LIBRTE_CXGBE_DEBUG`` (default **n**)
- Toggle debugging code. Enabling this option adds additional generic debugging
- messages at the cost of lower performance.
+ Toggle display of generic debugging messages.
- ``CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG`` (default **n**)
- Toggle debugging code. Enabling this option adds additional registers related
- run-time checks and debugging messages at the cost of lower performance.
+ Toggle display of registers related run-time check messages.
- ``CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX`` (default **n**)
- Toggle debugging code. Enabling this option adds additional firmware mailbox
- related run-time checks and debugging messages at the cost of lower
- performance.
+ Toggle display of firmware mailbox related run-time check messages.
- ``CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX`` (default **n**)
- Toggle debugging code. Enabling this option adds additional transmission data
- path run-time checks and debugging messages at the cost of lower performance.
+ Toggle display of transmission data path run-time check messages.
- ``CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX`` (default **n**)
- Toggle debugging code. Enabling this option adds additional receiving data
- path run-time checks and debugging messages at the cost of lower performance.
+ Toggle display of receiving data path run-time check messages.
-Prerequisites
--------------
+Driver Compilation
+~~~~~~~~~~~~~~~~~~
-- Requires firmware version **1.13.32.0** and higher. Visit
- `Chelsio Download Center <http://service.chelsio.com>`_ to get latest firmware
- bundled with the latest Chelsio Unified Wire package. Installing and loading
- the latest cxgb4 kernel driver from the Chelsio Unified Wire package should
- get you the latest firmware. More information can be obtained from the User
- Guide that is bundled with the Chelsio Unified Wire package.
+To compile CXGBE PMD for Linux x86_64 gcc target, run the following "make"
+command:
+
+.. code-block:: console
+
+ cd <DPDK-source-directory>
+ make config T=x86_64-native-linuxapp-gcc install
+
+Installation
+------------
Steps to manually install the latest firmware from the downloaded source files
are as follows:
@@ -161,14 +178,6 @@ are as follows:
firmware-version: 1.13.32.0, TP 0.1.4.8
-Supported Chelsio T5 NICs
--------------------------
-
-- 1G NICs: T502-BT
-- 10G NICs: T520-BT, T520-CR, T520-LL-CR, T520-SO-CR, T540-CR
-- 40G NICs: T580-CR, T580-LP-CR, T580-SO-CR
-- Other T5 NICs: T522-CR
-
Sample Application Notes
-------------------------
@@ -242,6 +251,10 @@ devices managed by librte_pmd_cxgbe.
./tools/dpdk_nic_bind.py --bind vfio-pci 0000:02:00.4
+ .. note::
+
+ CXGBE PMD currently only supports the binding of PF4 for Chelsio T5 NICs.
+
#. Start testpmd with basic parameters:
.. code-block:: console
--
2.4.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-15 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-15 17:30 [dpdk-dev] [PATCH] doc: Spell fixes, re-organize and update CXGBE documentation Rahul Lakkireddy
2015-07-15 12:18 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).