[dpdk-dev] [PATCH v6 2/2] app/testpmd: support VXLAN header last 8-bits matching

Rongwei Liu rongweil at nvidia.com
Tue Jul 13 13:39:26 CEST 2021


Hi Raslan:
     Sound good.
     Thanks

获取 Outlook for iOS<https://aka.ms/o0ukef>
________________________________
发件人: Raslan Darawsheh <rasland at nvidia.com>
发送时间: Tuesday, July 13, 2021 7:37:52 PM
收件人: Rongwei Liu <rongweil at nvidia.com>; Matan Azrad <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; NBU-Contact-Thomas Monjalon <thomas at monjalon.net>; Xiaoyun Li <xiaoyun.li at intel.com>
抄送: dev at dpdk.org <dev at dpdk.org>
主题: RE: [PATCH v6 2/2] app/testpmd: support VXLAN header last 8-bits matching

Hi,

> -----Original Message-----
> From: Rongwei Liu <rongweil at nvidia.com>
> Sent: Tuesday, July 13, 2021 1:50 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; NBU-Contact-
> Thomas Monjalon <thomas at monjalon.net>; Xiaoyun Li
> <xiaoyun.li at intel.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>
> Subject: [PATCH v6 2/2] app/testpmd: support VXLAN header last 8-bits
> matching
Small change I guess can be done while integration:
"app/testpmd: support matching reserved filed for VXLAN"
>
> Add a new testpmd pattern field 'last_rsvd' that supports the
> last 8-bits matching of VXLAN header.
>
> The examples for the "last_rsvd" pattern field are as below:
>
> 1. ...pattern eth / ipv4 / udp / vxlan last_rsvd is 0x80 / end ...
>
> This flow will exactly match the last 8-bits to be 0x80.
>
> 2. ...pattern eth / ipv4 / udp / vxlan last_rsvd spec 0x80
> vxlan mask 0x80 / end ...
>
> This flow will only match the MSB of the last 8-bits to be 1.
>
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Otherwise,
Acked-by: Raslan Darawsheh <rasland at nvidia.com>



More information about the dev mailing list