History log of /dpdk/examples/pipeline/cli.c (Results 1 – 25 of 54)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v24.11, v24.11-rc4, v24.11-rc3, v24.11-rc2, v24.11-rc1
# d0974e07 04-Oct-2024 Stephen Hemminger <stephen@networkplumber.org>

examples/pipeline: check info query return

The rte_eth_dev_info_get and rte_eth_link_get functions may return
an error, and in that case the information structure is undefined.
The port is valid che

examples/pipeline: check info query return

The rte_eth_dev_info_get and rte_eth_link_get functions may return
an error, and in that case the information structure is undefined.
The port is valid check is not needed, that can be handled by
rte_eth_dev_info_get checks.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Morten Brørup <mb@smartsharesystems.com>

show more ...


Revision tags: v24.07, v24.07-rc4, v24.07-rc3, v24.07-rc2, v24.07-rc1, v24.03, v24.03-rc4, v24.03-rc3, v24.03-rc2, v24.03-rc1
# 96893df7 13-Feb-2024 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

net/softnic: fix include of log library

When rte_log.h was moved to a new directory, the include path was not
updated for the generated C code produced by the pipeline library,
which results in buil

net/softnic: fix include of log library

When rte_log.h was moved to a new directory, the include path was not
updated for the generated C code produced by the pipeline library,
which results in build failure for this code.

Fixes: 09ce41310930 ("log: separate logging functions out of EAL")
Cc: stable@dpdk.org

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Tested-by: Ferruh Yigit <ferruh.yigit@amd.com>

show more ...


# 2df20a1d 14-Feb-2024 David Marchand <david.marchand@redhat.com>

eal: add helper to skip whitespaces

Reduce code duplication by providing a simple inline helper.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Tyler Retzlaff <roretzla@linux.m

eal: add helper to skip whitespaces

Reduce code duplication by providing a simple inline helper.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

show more ...


Revision tags: v23.11, v23.11-rc4, v23.11-rc3, v23.11-rc2, v23.11-rc1, v23.07, v23.07-rc4, v23.07-rc3, v23.07-rc2, v23.07-rc1, v23.03, v23.03-rc4, v23.03-rc3, v23.03-rc2, v23.03-rc1
# 8ba342ce 07-Feb-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

pipeline: add RSS

Add pipeline support for the Receive Side Scaling (RSS) hashing. While
the pipeline already supports the stateless hashing schemes, the RSS
scheme uses a key configured by the cont

pipeline: add RSS

Add pipeline support for the Receive Side Scaling (RSS) hashing. While
the pipeline already supports the stateless hashing schemes, the RSS
scheme uses a key configured by the control plane and preserved
between successive RSS hash invocations.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 6d99096c 26-Jan-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: add block enable/disable commands

Add CLI commands to enable/disable block execution on data plane
threads.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Sig

examples/pipeline: add block enable/disable commands

Add CLI commands to enable/disable block execution on data plane
threads.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 41f5dfcb 26-Jan-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: rework thread configuration updates

Previously, the configuration updates for the data plane threads were
performed through message queues. Now, this mechanism is replaced by
the

examples/pipeline: rework thread configuration updates

Previously, the configuration updates for the data plane threads were
performed through message queues. Now, this mechanism is replaced by
the control thread updating the mirror copy of the data plane thread
configuration followed by pointer swapping.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 3b0cc5fb 26-Jan-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: add IPsec commands

Add CLI commands for IPsec block configuration.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.

examples/pipeline: add IPsec commands

Add CLI commands for IPsec block configuration.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 1b41a527 26-Jan-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: add command for crypto device

Add CLI command for the configuration of crypto devices.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakan

examples/pipeline: add command for crypto device

Add CLI command for the configuration of crypto devices.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 78dffe31 26-Jan-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: streamline Ethernet device support

Streamline the Ethernet device support code and remove redundant code.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signe

examples/pipeline: streamline Ethernet device support

Streamline the Ethernet device support code and remove redundant code.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 607dd517 26-Jan-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: streamline ring support

Remove redundant ring related code.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel

examples/pipeline: streamline ring support

Remove redundant ring related code.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 02d36ef6 26-Jan-2023 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: rework memory pool

Rework the memory pool CLI command to accommodate the MBUF private
meta-data area size parameter.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel

examples/pipeline: rework memory pool

Rework the memory pool CLI command to accommodate the MBUF private
meta-data area size parameter.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


Revision tags: v22.11, v22.11-rc4, v22.11-rc3, v22.11-rc2, v22.11-rc1
# ab492f94 27-Sep-2022 Harshad Narayane <harshad.suresh.narayane@intel.com>

examples/pipeline: fix file descriptor leak

Fix file close at pipeline code generation.

Coverity issue: 380860
Fixes: 9043f66a ("examples/pipeline: add command for code generation")

Signed-off-by:

examples/pipeline: fix file descriptor leak

Fix file close at pipeline code generation.

Coverity issue: 380860
Fixes: 9043f66a ("examples/pipeline: add command for code generation")

Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

show more ...


# b42f3e2f 27-Sep-2022 Harshad Narayane <harshad.suresh.narayane@intel.com>

examples/pipeline: fix memory leak

Fix memory resource free for buffer allocation failure at pipeline
library build.

Coverity issue: 380863, 380866
Fixes: 6bc14d9f ("examples/pipeline: add command

examples/pipeline: fix memory leak

Fix memory resource free for buffer allocation failure at pipeline
library build.

Coverity issue: 380863, 380866
Fixes: 6bc14d9f ("examples/pipeline: add command for shared library build")

Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

show more ...


# 327820af 25-Sep-2022 Ali Alnubani <alialnu@nvidia.com>

examples/pipeline: fix build with some compilers

Fixes the following build failure with gcc 5.4.0 because
of uninitialized variables:

[..]
examples/pipeline/cli.c:1801:10: error: 'idx' may be used

examples/pipeline: fix build with some compilers

Fixes the following build failure with gcc 5.4.0 because
of uninitialized variables:

[..]
examples/pipeline/cli.c:1801:10: error: 'idx' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
[..]
examples/pipeline/cli.c:1916:10: error: 'idx' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
[..]

Fixes: 83f58a7b7b0a ("examples/pipeline: add commands for direct registers")

Signed-off-by: Ali Alnubani <alialnu@nvidia.com>

show more ...


# 12eda78d 30-Aug-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: add commands for direct meters

Add the CLI command support for managing direct meters.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>


# 83f58a7b 30-Aug-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: add commands for direct registers

Add the CLI command support for reading/writing direct registers.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>


# 67f707b3 05-Aug-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: print output port packet drop counters

Print the output port pacet drop statistics counters.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>


# 72b452c5 27-Aug-2022 Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>

eal: remove unneeded includes from a public header

Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>,
because they are not used by this file.
Include the needed headers directl

eal: remove unneeded includes from a public header

Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>,
because they are not used by this file.
Include the needed headers directly from the files that need them.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

show more ...


# c0553219 28-Jul-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: remove obsolete tap command

Remove the tap CLI command, as the file descriptor I/O ports of the
pipeline are now configured trough the I/O specification file.

Signed-off-by: Cris

examples/pipeline: remove obsolete tap command

Remove the tap CLI command, as the file descriptor I/O ports of the
pipeline are now configured trough the I/O specification file.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# f31c80f8 28-Jul-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: rework link command

Rework the link CLI command for better alignment with the naming
conventions used in the pipeline I/O specification file. Use the
library linked list of device

examples/pipeline: rework link command

Rework the link CLI command for better alignment with the naming
conventions used in the pipeline I/O specification file. Use the
library linked list of devices and remove the application list.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# b9559f94 28-Jul-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: use pipeline name query API

Convert the CLI commands to use the pipeline name query API and remove
the linked list of pipeline objects previously maintained by the
application.

S

examples/pipeline: use pipeline name query API

Convert the CLI commands to use the pipeline name query API and remove
the linked list of pipeline objects previously maintained by the
application.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# a8e12d01 28-Jul-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: remove obsolete mirroring config command

The pipeline mirroring configuration is done through the I/O
specification file, so this CLI command is no longer needed.

Signed-off-by:

examples/pipeline: remove obsolete mirroring config command

The pipeline mirroring configuration is done through the I/O
specification file, so this CLI command is no longer needed.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 2099295a 28-Jul-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: remove obsolete port config commands

The pipeline I/O ports configuration is now done through the I/O
specification file, hence these CLI commands are no longer needed.

Signed-of

examples/pipeline: remove obsolete port config commands

The pipeline I/O ports configuration is now done through the I/O
specification file, hence these CLI commands are no longer needed.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# aed1123e 28-Jul-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: remove obsolete create command

The pipeline configuration is now done through the I/O specification
file, hence this CLI command is no longer needed.

Signed-off-by: Cristian Dumi

examples/pipeline: remove obsolete create command

The pipeline configuration is now done through the I/O specification
file, hence this CLI command is no longer needed.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


# 6bc14d9f 28-Jul-2022 Cristian Dumitrescu <cristian.dumitrescu@intel.com>

examples/pipeline: add command for shared library build

Add CLI command for the shared object library build operation.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-

examples/pipeline: add command for shared library build

Add CLI command for the shared object library build operation.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>

show more ...


123