This patchset adds command-line options to configure the size of RX and TX rings in the test-pipeline application. The current implementation fixes the ring size at 128, which cannot be changed through the command line. This default value may not be optimal, as the ideal ring size depends on the platform and the CPU's ability to process entries before they are dequeued.
This was confirmed by the observation of 66% failed enqueue attempts to the RX ring on the Grace CPU when using a ring size of 128, indicating that the ring was too small for the workload. Increasing the RX ring size to 256 reduced the number of failed enqueue attempts to 22% and improved overall throughput by approximately 22%. In addition to making the ring sizes configurable, this patchset introduces a help option to make valid parameters easier to understand. It also includes minor cleanup to improve readability and maintainability of the code. Doug Foster (2): app/test-pipeline: cleanup and add help app/test-pipeline: add ring size options app/test-pipeline/config.c | 131 +++++++++++++++------ app/test-pipeline/init.c | 4 - app/test-pipeline/main.h | 9 +- doc/guides/sample_app_ug/test_pipeline.rst | 12 +- 4 files changed, 114 insertions(+), 42 deletions(-) -- 2.34.1

