[dpdk-dev] [PATCH v3 5/8] app/testpmd: support NVGRE encap for sample action

Slava Ovsiienko viacheslavo at nvidia.com
Wed Mar 17 11:07:45 CET 2021


> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Salem Sol
> Sent: Wednesday, March 17, 2021 11:26
> To: dev at dpdk.org
> Cc: Salem Sol <salems at nvidia.com>; Ori Kam <orika at nvidia.com>; Xiaoyun Li
> <xiaoyun.li at 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 <salems at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>


More information about the dev mailing list