Hi Raslan: Sound good. Thanks 获取 Outlook for iOS<https://aka.ms/o0ukef> ________________________________ 发件人: Raslan Darawsheh <rasl...@nvidia.com> 发送时间: Tuesday, July 13, 2021 7:37:52 PM 收件人: Rongwei Liu <rongw...@nvidia.com>; Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU-Contact-Thomas Monjalon <tho...@monjalon.net>; Xiaoyun Li <xiaoyun...@intel.com> 抄送: dev@dpdk.org <dev@dpdk.org> 主题: RE: [PATCH v6 2/2] app/testpmd: support VXLAN header last 8-bits matching
Hi, > -----Original Message----- > From: Rongwei Liu <rongw...@nvidia.com> > Sent: Tuesday, July 13, 2021 1:50 PM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU-Contact- > Thomas Monjalon <tho...@monjalon.net>; Xiaoyun Li > <xiaoyun...@intel.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@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 <rongw...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com> Otherwise, Acked-by: Raslan Darawsheh <rasl...@nvidia.com>