[RFC,5/5] app/io-proxy: add startup commands

Message ID 20230922081912.7090-6-bruce.richardson@intel.com (mailing list archive)
State New
Delegated to: Thomas Monjalon
Series Using shared mempools for zero-copy IO proxying |


Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation fail meson build failure
ci/Intel-compilation fail Compilation issues

Commit Message

Bruce Richardson Sept. 22, 2023, 8:19 a.m. UTC
  To make it easier to run the io-proxy, add a startup command line
example to configure by default 4 sockets on two ports.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
 app/io-proxy/dpdk-io-proxy.cmds | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 app/io-proxy/dpdk-io-proxy.cmds


diff --git a/app/io-proxy/dpdk-io-proxy.cmds b/app/io-proxy/dpdk-io-proxy.cmds
new file mode 100644
index 0000000000..515d598079
--- /dev/null
+++ b/app/io-proxy/dpdk-io-proxy.cmds
@@ -0,0 +1,6 @@ 
+add socket /tmp/socket_0_0/sock 2G 0 0
+add socket /tmp/socket_0_1/sock 2G 0 1
+add socket /tmp/socket_1_0/sock 2G 1 0
+add socket /tmp/socket_1_1/sock 2G 1 1
+list ports
+list sockets