mbox

[v2,0/2] ICE ddp download tool

Message ID 20220512020618.474816-1-stevex.yang@intel.com (mailing list archive)
Headers

Message

Steve Yang May 12, 2022, 2:06 a.m. UTC
  Support dump ice PF ddp package via testpmd command line.

Add command line:
    ddp dump <port_id> <profile_path>

Parameters:
    <port_id>       the PF Port ID
    <profile_path>  dumped package profile file, if not a absolute path,
                    it will be dumped to testpmd running directory.

For example:
testpmd> ddp dump 0 current.pkg

If you want to dump ice VF ddp package, you need bind other unused PF port
of the NIC first, and then dump the PF ddp package as target output.

---
v2:
- fixed compiling issue
- fixed unused variables warning

Steve Yang (2):
  net/ice: support dump ice ddp package
  app/testpmd: support dump_pkg command for ice

 app/test-pmd/cmdline.c            |  74 ++++++
 app/test-pmd/meson.build          |   3 +
 drivers/net/ice/ice_ddp_package.c | 418 ++++++++++++++++++++++++++++++
 drivers/net/ice/ice_ethdev.c      |   5 +
 drivers/net/ice/ice_ethdev.h      |   1 +
 drivers/net/ice/meson.build       |   1 +
 drivers/net/ice/rte_pmd_ice.h     |   3 +
 drivers/net/ice/version.map       |   1 +
 8 files changed, 506 insertions(+)
 create mode 100644 drivers/net/ice/ice_ddp_package.c