numam-dpdk/app/test-flow-perf
Sean Zhang 80a3233197 app/flow-perf: add destination ports parameter
Add optional destination ports parameter for port-id action.
The parameter is not must, and the value is 1 by default as before
if the parameter not provided.

For example:

$ dpdk-test-flow-perf -w 08:00.0,representor=[0,1] -- --transfer \
  --ingress --transfer --ether --portmask=0x2 --vxlan-encap \
  --port-id=0

This command means the rule created on representor 0 with port 0
as destination, since the portmask is 0x2 and dst-ports is 0:

$ dpdk-test-flow-perf -w 08:00.0,representor=[0,1] \
  -w 08:00.1,representor=[0,1]-- --transfer --ingress --transfer \
  --ether --portmask=0x12 --vxlan-encap --port-id=0,3

This command means the rules created on both representor 0 of PF 0
and PF 1, the destination port for the first representor is PF 0,
and the destination port for the other one is PF 1.

Signed-off-by: Sean Zhang <xiazhang@nvidia.com>
Reviewed-by: Wisam Jaddo <wisamm@nvidia.com>
2021-11-05 10:58:25 +01:00
..
actions_gen.c app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
actions_gen.h app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
config.h app/flow-perf: export some config as runtime options 2021-10-25 22:31:53 +02:00
flow_gen.c app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
flow_gen.h app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
items_gen.c app/flow-perf: fix IPv6 source address increment 2021-04-12 16:26:25 +02:00
items_gen.h app/flow-perf: add multi-core rule insertion and deletion 2021-01-07 15:14:02 +01:00
main.c app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
meson.build devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00