Re: [dpdk-dev] [PATCH v6 11/12] app/testpmd: add port and encap support for sample action

2020-09-22 Thread Jiawei(Jonny) Wang
t ; Marko > Kovacevic ; Andrew Rybchenko > ; dpdk-dev ; Raslan > Darawsheh ; ian.sto...@intel.com; f...@redhat.com; > Asaf Penso > Subject: Re: [dpdk-dev] [PATCH v6 11/12] app/testpmd: add port and encap > support for sample action > > On Tue, Sep 8, 2020 at 11:50 PM Jiawei Wang w

Re: [dpdk-dev] [PATCH v6 11/12] app/testpmd: add port and encap support for sample action

2020-09-21 Thread Ajit Khaparde
On Tue, Sep 8, 2020 at 11:50 PM Jiawei Wang wrote: > > Use sample action with ratio is 1 for mirroring flow, add > supports to set the different port or encap action for mirrored > packets. > > The example of test-pmd command: > > 1. set sample_actions 1 port_id id 1 / end >flow create 0 ... p

[dpdk-dev] [PATCH v6 11/12] app/testpmd: add port and encap support for sample action

2020-09-08 Thread Jiawei Wang
Use sample action with ratio is 1 for mirroring flow, add supports to set the different port or encap action for mirrored packets. The example of test-pmd command: 1. set sample_actions 1 port_id id 1 / end flow create 0 ... pattern eth / end actions sample ratio 1 index 1 / port_id id