Thread (14 messages) 14 messages, 3 authors, 2021-11-05

Re: [dpdk-dev] [V2] app/flow-perf: add destination ports parameter

From: Thomas Monjalon <hidden>
Date: 2021-10-25 19:40:39

quoted
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 \
quoted
--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] \
quoted
-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 represontor is PF 0, and the destination
port for the other one it PF 1.

Signed-off-by: Sean Zhang <redacted>
Reviewed-by: Wisam Jaddo <redacted>
It conflicts with Wisam's patch adding more options.
Please rebase.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help