samples: pktgen: new append mode
authorIgor Russkikh <irusskikh@marvell.com>
Thu, 11 Mar 2021 10:32:53 +0000 (11:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Mar 2021 21:22:38 +0000 (14:22 -0700)
commitc8fd4852022ca8ae85ac4d30d05950eaf506b828
treec4d1df8db17eb0e871e1f0f45aba5abdab793a39
parentef700f2ea27e54f640c3957374469132e8bf46f5
samples: pktgen: new append mode

To configure various complex flows we for sure can create custom
pktgen init scripts, but sometimes thats not that easy.

New "-a" (append) option in all the existing sample scripts allows
to append more "devices" into pktgen threads.

The most straightforward usecases for that are:
- using multiple devices. We have to generate full linerate on
all physical functions (ports) of our multiport device.
- pushing multiple flows (with different packet options)

Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/pktgen/README.rst
samples/pktgen/functions.sh
samples/pktgen/parameters.sh
samples/pktgen/pktgen_sample01_simple.sh
samples/pktgen/pktgen_sample02_multiqueue.sh
samples/pktgen/pktgen_sample03_burst_single_flow.sh
samples/pktgen/pktgen_sample04_many_flows.sh
samples/pktgen/pktgen_sample05_flow_per_thread.sh
samples/pktgen/pktgen_sample06_numa_awared_queue_irq_affinity.sh