net/softnic: add softnic documentation
PATCH 1/3 net/softnic: add softnic documentation
Add softnic documentation to NIC drivers guide.
--- MAINTAINERS | 2 + doc/guides/nics/features/softnic.ini | 9 ++ doc/guides/nics/index.rst | 1 + doc/guides/nics/softnic.rst | 250 +++++++++++++++++++++++++++++++++++ 4 files changed, 262 insertions(+) create mode 100644 doc/guides/nics/features/softnic.ini create mode 100644 doc/guides/nics/softnic.rst
MAINTAINERS +2 -0
@@ -750,6 +750,8 @@ Softnic PMD M: Jasvinder Singh <[email protected]> M: Cristian Dumitrescu <[email protected]> F: drivers/net/softnic/ +F: doc/guides/nics/features/softnic.ini +F: doc/guides/nics/softnic.rst Crypto Drivers
doc/guides/nics/features/softnic.ini new file +9 -0
@@ -0,0 +1,9 @@ +; +; Supported features of the 'softnic' poll mode driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Features] +x86-32 = Y +x86-64 = Y +Usage doc = Y
doc/guides/nics/index.rst +1 -0
@@ -38,6 +38,7 @@ Network Interface Controller Drivers octeontx qede sfc_efx + softnic szedata2 tap thunderx
doc/guides/nics/softnic.rst new file +250 -0
250 lines not on this page · raw message
Signature · 1 line
2.9.3
PATCH 2/3 app/testpmd: update softnic mode documentation
Update tespmd documentation with softnic forwarding mode description.
--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)
doc/guides/testpmd_app_ug/testpmd_funcs.rst +4 -8
@@ -320,12 +320,8 @@ The available information categories are: * ``ieee1588``: Demonstrate L2 IEEE1588 V2 PTP timestamping for RX and TX. Requires ``CONFIG_RTE_LIBRTE_IEEE1588=y``. -* ``tm``: Traffic Management forwarding mode - Demonstrates the use of ethdev traffic management APIs and softnic PMD for - QoS traffic management. In this mode, 5-level hierarchical QoS scheduler is - available as an default option that can be enabled through CLI. The user can - also modify the default hierarchy or specify the new hierarchy through CLI for - implementing QoS scheduler. Requires ``CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y`` ``CONFIG_RTE_LIBRTE_SCHED=y``. +* ``softnic``: Demonstrates the softnic forwarding operation. In this mode, packet forwarding is + similar to I/O mode except for the fact that packets are loopback to the softnic ports only. Therefore, portmask parameter should be set to softnic port only. The various software based custom NIC pipelines specified through the softnic firmware (DPDK packet framework script) can be tested in this mode. Furthermore, it allows to build 5-level hierarchical QoS scheduler as a default option that can be enabled through CLI once testpmd application is initialised. The user can modify the default scheduler hierarchy or can specify the new QoS Scheduler hierarchy through CLI. Requires ``CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y``. Example::
@@ -2628,8 +2624,8 @@ where: call failure. On the other hand, hierarchy is preserved when this parameter is equal to zero. -Set port traffic management default hierarchy (tm forwarding mode) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Set port traffic management default hierarchy (softnic forwarding mode) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ set the traffic management default hierarchy on the port::
Signature · 1 line
2.9.3
Re: [PATCH 2/3] app/testpmd: update softnic mode documentation
Quoted 9 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Jasvinder Singh
Sent: Tuesday, July 24, 2018 4:50 PM
To: [email protected]
Cc: Mcnamara, John <[email protected]>; Kovacevic, Marko <[email protected]>; Pattan, Reshma <[email protected]>
Subject: [dpdk-dev] [PATCH 2/3] app/testpmd: update softnic mode documentation
Quoted 4 lines
Update tespmd documentation with softnic forwarding mode description.
Signed-off-by Jasvinder Singh <[email protected]>Signed-off-by Reshma Pattan <[email protected]>
PATCH 3/3 doc: update release notes for softnic pmd
In reply to Jasvinder SinghUpdate release notes for softnic pmd restructuring.
--- doc/guides/rel_notes/release_18_08.rst | 6 ++++++ 1 file changed, 6 insertions(+)
doc/guides/rel_notes/release_18_08.rst +6 -0
@@ -65,6 +65,12 @@ New Features ``rte_eth_rx_descritpr_status`` and ``rte_eth_tx_descriptor_status`` are supported by fm10K. +* **SoftNIC PMD rework.** + + The SoftNIC PMD infrastructure is restructured to use the Packet Framework, + which makes it more flexible, modular and easier to add new functionality + in future. + * **Updated the enic driver.** * Add support for mbuf fast free offload.
Signature · 1 line
2.9.3
24/07/2018 17:50, Jasvinder Singh:
Quoted 4 lines
Add softnic documentation to NIC drivers guide.
Signed-off-by Cristian Dumitrescu <[email protected]>Signed-off-by Jasvinder Singh <[email protected]>
Series applied, thanks