[PATCH v2 0/2] Split driver specific commands out of testpmd

David Marchand david.marchand at redhat.com
Tue May 24 22:06:40 CEST 2022


Hello,

Following TB decision [1] and recent discussions on the driver specific
commands in testpmd, here is a proposal on how the split could be done.

For now, this series simply moves the testpmd code in the driver
directory. The driver specific testpmd code is still compiled as part of
testpmd compilation via a global meson testpmd_driver_sources list.

1: https://mails.dpdk.org/archives/dev/2022-April/239191.html

-- 
David Marchand

Changes since v1:
- dropped drivers updates,
- handled comments on testpmd API,

Changes since RFC v2:
- extended cleanup patch 1,
- fixed command registration (again..),
- dropped ixgbe bypass commands,
- fixed some indent,
- updated documentation,

Changes since RFC v1:
- added a cleanup as patch 1, to make all parser symbols static,
- fixed registering issue in patch 1,
- moved more i40e specific commands, fixed checkpatch warnings,


David Marchand (2):
  app/testpmd: mark most cmdline symbols as static
  app/testpmd: register driver specific commands

 app/test-pmd/bpf_cmd.c                      |   20 +-
 app/test-pmd/cmdline.c                      | 2847 ++++++++++---------
 app/test-pmd/cmdline_flow.c                 |    8 +-
 app/test-pmd/cmdline_mtr.c                  |  219 +-
 app/test-pmd/cmdline_tm.c                   |  442 +--
 app/test-pmd/meson.build                    |    5 +
 app/test-pmd/testpmd.c                      |    4 +
 app/test-pmd/testpmd.h                      |   23 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |   27 +-
 drivers/meson.build                         |    5 +
 meson.build                                 |    2 +
 11 files changed, 1846 insertions(+), 1756 deletions(-)

-- 
2.36.1



More information about the dev mailing list