Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application.
This patchset depends on: * http://dpdk.org/dev/patchwork/patch/6563/ * http://dpdk.org/dev/patchwork/patch/7340/ * http://dpdk.org/dev/patchwork/patch/8070/ * http://dpdk.org/dev/patchwork/patch/8067/ * http://dpdk.org/dev/patchwork/patch/8075/ * http://dpdk.org/dev/patchwork/patch/8074/ * http://dpdk.org/dev/patchwork/patch/8072/ * http://dpdk.org/dev/patchwork/patch/8071/ * http://dpdk.org/dev/patchwork/patch/8073/ * http://dpdk.org/dev/patchwork/patch/8068/ * http://dpdk.org/dev/patchwork/patch/8069/ v3: * Made use of enums for core state. * Fixed Makefile issue. * Fixed incorrect assumption with core ids. * Changed handling of more ports than cores. v2: * Replaced l2fwd base with simpler application. * Added ringparam functions. * Added documentation. Remy Horton (2): example: User-space ethtool sample application doc: add user-space ethtool sample app guide doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/keep_alive.rst | 191 +++++++ examples/ethtool/Makefile | 48 ++ examples/ethtool/ethtool-app/Makefile | 54 ++ examples/ethtool/ethtool-app/ethapp.c | 873 ++++++++++++++++++++++++++++++++ examples/ethtool/ethtool-app/ethapp.h | 41 ++ examples/ethtool/ethtool-app/main.c | 288 +++++++++++ examples/ethtool/lib/Makefile | 57 +++ examples/ethtool/lib/rte_ethtool.c | 421 +++++++++++++++ examples/ethtool/lib/rte_ethtool.h | 410 +++++++++++++++ 10 files changed, 2384 insertions(+) create mode 100644 doc/guides/sample_app_ug/keep_alive.rst create mode 100644 examples/ethtool/Makefile create mode 100644 examples/ethtool/ethtool-app/Makefile create mode 100644 examples/ethtool/ethtool-app/ethapp.c create mode 100644 examples/ethtool/ethtool-app/ethapp.h create mode 100644 examples/ethtool/ethtool-app/main.c create mode 100644 examples/ethtool/lib/Makefile create mode 100644 examples/ethtool/lib/rte_ethtool.c create mode 100644 examples/ethtool/lib/rte_ethtool.h -- 1.9.3