> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of Salem Sol
> Sent: Wednesday, March 17, 2021 11:26
> To: dev@dpdk.org
> Cc: Salem Sol <sal...@nvidia.com>; Ori Kam <or...@nvidia.com>; Xiaoyun Li
> <xiaoyun...@intel.com>
> Subject: [dpdk-dev] [PATCH v3 5/8] app/testpmd: support NVGRE encap for
> sample action
> 
> Add support for rte_flow_action_nvge_encap as a sample action.
> 
> The example of test-pmd command:
> 
> 1.  set nvgre ip-version ... tni ... ip-src ... ip-dst ...
>     set raw_encap 1 eth src... / ipv4... /...
>     set sample_actions 2 nvgre / port_id id 0 / end
>     flow create 0 ... pattern eth / end actions
>        sample ratio 1 index 2 / raw_encap index 1 / port_id id 0...
> 
>     The flow will result in all the matched egress packets will be
>     encapsulated and sent to wire, and also mirrored the packets
>     using NVGRE encapsulation data and sent to wire.
> 
> Signed-off-by: Salem Sol <sal...@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>

Reply via email to