From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C76C8A0C4C; Tue, 13 Jul 2021 17:36:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8EA3641238; Tue, 13 Jul 2021 17:36:20 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2088.outbound.protection.outlook.com [40.107.223.88]) by mails.dpdk.org (Postfix) with ESMTP id 77CB0410DC for ; Tue, 13 Jul 2021 17:36:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BQ/gm8xLf+BFvMysGWq4gd3wQviQrrXNnXLqj+s/7Ex36GmY/jQkjQ1ZH3T/GRNFvkWF4JiTrV3dMvIioEFMDN7aqLTIRkX1ioN6hcsbSW6sVomtuXwNZn9Y45pMZ1x6pUqFbc5vskSWlFsEwHfnJb9KxEgXI17/Oma3ny7INC5DmX1uLg9+MFr1Mr1nUPBc1aLhp1ocxz19b+/OY393xZ58IKSayZcrtleB2AlplQwRBrjgMD7RJIaU4HidzlByObBJSnQ+s8msD6QY/ccEw550mXpSHJGfUzzO2IoSpQgKRPtH4wI5wvgoP0cAwMdJn94leqsSsFOSdaqswnHHlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=89+k0htUvgLJBSy3ZcW5k81IB10DvQONqDB52xVS7Zc=; b=iNQB3mv8/gJWm1mwWIBQYxZ1nBsLqTi1pne8Oc4pS836MruU6K8m6RyrVS4zLR4fbuXKOZ30MPmAPLTKIWMaJ8FOrj1HT1r+e7MOGAO52EqvU2m2rsbar6u5/ynXwH0fRQjxFb/amMcqHOcXyVsOnEXQhd0M30XVuKOK26zVtCrmkm268Oufr4eZdWaINoAYCmwjk41ZKjxbxmRjkVM6WiRtP7a4wcK6Qi8uD57+q6By6obIIcNs0ox6Yk9yTex5oRej8lxzIVUZXWhEyvBEvuplZ6U6y5v5E+IFfmW+m9KVb5ei0daJZKTEiX/iK7iBmXQ+ie1w7HmAlwcIm1OJXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=89+k0htUvgLJBSy3ZcW5k81IB10DvQONqDB52xVS7Zc=; b=sJSRkhdhMlkHgPhhgbfAk1rqi1eIDXmnTBSY+OtJ1DjgBftl3FWswMNpAMSrzrlc85qsW4l9gmUwbAL33pvYYGEtX1vaPjN8yBr6IqCyucmgA14Xey1uLOj5t4J4bnXvkz51ENJ34ZOnM8KJhhjxFE1+BkBNtLtVxOW5pbyKKevjmNPCwWE7fpeHHvwNtAqi/14bTRLRqigUMPcuCT5NGPxqDiMxXg9e0YmsFgKtKta+hgdRCb22k2sSYfRDbqJ7BJiZMbLDD3XGDrzLYjNMYJ87HNgYJROSjafG05QQXXcin4vUl7nQeIsMwVs1LQnZ+HdmT6BAAHf/1jTuq7Tm7g== Received: from DM6PR12MB5520.namprd12.prod.outlook.com (2603:10b6:5:208::9) by DM4PR12MB5184.namprd12.prod.outlook.com (2603:10b6:5:397::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Tue, 13 Jul 2021 15:36:18 +0000 Received: from DM6PR12MB5520.namprd12.prod.outlook.com ([fe80::81bc:3e01:d9e0:6c52]) by DM6PR12MB5520.namprd12.prod.outlook.com ([fe80::81bc:3e01:d9e0:6c52%9]) with mapi id 15.20.4331.021; Tue, 13 Jul 2021 15:36:18 +0000 From: Rongwei Liu To: Raslan Darawsheh , Matan Azrad , Slava Ovsiienko , Ori Kam , NBU-Contact-Thomas Monjalon , Xiaoyun Li , Andrew Rybchenko CC: "dev@dpdk.org" Thread-Topic: [PATCH v7 2/2] app/testpmd: support matching the reserved filed for VXLAN Thread-Index: AQHXd+ZGnKiZFRcphEuuZ9Diok5Bb6tBCVSAgAAALvA= Date: Tue, 13 Jul 2021 15:36:18 +0000 Message-ID: References: <20210713120920.131354-1-rongweil@nvidia.com> <20210713120920.131354-3-rongweil@nvidia.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 85c96e23-438f-4a08-830f-08d94613f534 x-ms-traffictypediagnostic: DM4PR12MB5184: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QIM5/xR1KcFPGQ1kiDQjL/DWOAQSOEiM/b2L3j0rbwc+r6e2fbysuZZDDPkbKN0gDOxCWC8mC23QtZ+KnIXqv+MFEJZoRQiTmGY3cMAm+pWGK/xMI1euiXCryYkTbZ2MdP6r9J+5pqnloHxo7tbE11CWr0ZVx0q3spsFLf57Vv2OobgYWFbwlTun4Vm6IqK+Zb6+ndBHXTAM8eeMop5q6VbtSV1PJU9k3xlzWcfcfEre5GMZq6kqHB7GhVMhDxpakf0/Z9H1ribd8/UNFPdUPyfQ98DnfHLvEeiCksD+WE4msGObQDXcIHs5dG1mpz1N/n+qeGM2kc22qWj4Py7ARxRd+MJHlij2mwhV2Otc2LJTKJ5ePBVaeH4TtHbAdW4lQa58PnS0iYjtcS+MBUQMX02QrUVdcoVXyhYjK1j9QH7feaPD8KHtJRBmHfoEP/83ZCcotC9lgXCl2sBkTVwR04ju3ooRp75EDMRvsInMYuxVDTgFy0KgZWCnXRXFtjTy9dUo5kCs/Nt0aGOkDUsEsiajpeWMSfNBnI+/0MWgpgiPRK1K5Vfcz6yI0bnWqqmN0FKTYQmv0Cde/7ZZK86YZopDZXXVSxRTDprrwVLJzbh1mENDtJq4SOsAZZvZFsgPgO7IKrhgXNqCTJ2ueuk1Dw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB5520.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(136003)(346002)(366004)(376002)(53546011)(5660300002)(8676002)(8936002)(478600001)(316002)(4326008)(33656002)(83380400001)(6506007)(71200400001)(64756008)(110136005)(52536014)(9686003)(7696005)(122000001)(66446008)(55016002)(66556008)(76116006)(2906002)(38100700002)(66476007)(86362001)(26005)(66946007)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?yX9hH4HhWl31RECN4FifYYcvdVvVIEzsHmHWIvUm6cmOw9nBvMMLrmg5JDtN?= =?us-ascii?Q?JIUppuBYIZJlNHHMI0GkosuiwmHm1+PD2t/Yofz3BRGOboStdoYYttSG36AF?= =?us-ascii?Q?lIx8dHnh7rToM6O2uo05mUyVNLo/gyOO9VTg19kDCazgrfk6p8EcrKk/wMsM?= =?us-ascii?Q?cREnLqz6BlF98X+MQFSizTXWL8vg8CqzGTCvTYZQw9mzoT5Iwmb8Fe9tGi3o?= =?us-ascii?Q?HlQOKu83jE392E9KkOUaOOfIGScgFxT+7nzlJp0nzAPFqj1OZqemcIZP3hfT?= =?us-ascii?Q?kEYYVGPCh+pMyWKdmiJ6gbpHiqSWqSr3gqB0xtEX2A4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XOUq1vYZfal1OfYpB7/tkJZPvfL9HmBayRi7NnC0rlhv?= =?us-ascii?Q?RV64xrkPFe3moUz41b6gWzhQYol76JijCK/pCI0XsunRXpj0vABzHX9AeN1c?= =?us-ascii?Q?69RZasb5/pD3HkelLxYimLLu?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB5520.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85c96e23-438f-4a08-830f-08d94613f534 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2021 15:36:18.0712 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JzHM5fsfwdAlfkIdcud/3GEIdY3nGNUG43imE5SOfOi3OiL9Ei8hHQOtsbPy/stkje9Aff6vL2CcXUwyhEC+kg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5184 Subject: Re: [dpdk-dev] [PATCH v7 2/2] app/testpmd: support matching the reserved filed for VXLAN X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" HI Raslan: Yes, you are right. Forgot to correct the typo when addressing your comment to change the titl= e. BR Rongwei > -----Original Message----- > From: Raslan Darawsheh > Sent: Tuesday, July 13, 2021 11:34 PM > To: Rongwei Liu ; Matan Azrad ; > Slava Ovsiienko ; Ori Kam ; > NBU-Contact-Thomas Monjalon ; Xiaoyun Li > ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subject: RE: [PATCH v7 2/2] app/testpmd: support matching the reserved > filed for VXLAN >=20 >=20 > > -----Original Message----- > > From: Raslan Darawsheh > > Sent: Tuesday, July 13, 2021 3:55 PM > > To: Rongwei Liu ; Matan Azrad > ; > > Slava Ovsiienko ; Ori Kam ; > > NBU-Contact-Thomas Monjalon ; Xiaoyun Li > > > > Cc: dev@dpdk.org > > Subject: RE: [PATCH v7 2/2] app/testpmd: support matching the reserved > > filed for VXLAN > @Andrew Rybchenko > I've just noticed there is a typo in the title when I pulled this to next= -net-mlx > from next-net: > Typo: filed -> field ? >=20 > Kindest regards, > Raslan Darawsheh > > > > > > > -----Original Message----- > > > From: Rongwei Liu > > > Sent: Tuesday, July 13, 2021 3:09 PM > > > To: Matan Azrad ; Slava Ovsiienko > > > ; Ori Kam ; NBU-Contact- > > > Thomas Monjalon ; Xiaoyun Li > > > > > > Cc: dev@dpdk.org; Raslan Darawsheh > > > Subject: [PATCH v7 2/2] app/testpmd: support matching the 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 > > > Acked-by: Viacheslav Ovsiienko > > You should have kept my Ack from previous version in general, But this > > is for future, For this thank you: > > Acked-by: Raslan Darawsheh > > > > Kindest regards, > > Raslan Darawsheh