mbox

[v1,0/2] ICE ddp download tool

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

Message

Steve Yang May 11, 2022, 8:02 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.

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

 app/test-pmd/cmdline.c            |  74 ++++++
 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 +
 7 files changed, 503 insertions(+)
 create mode 100644 drivers/net/ice/ice_ddp_package.c