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 BCE54A0C51; Tue, 13 Jul 2021 13:37:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6EC78410E6; Tue, 13 Jul 2021 13:37:55 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2061.outbound.protection.outlook.com [40.107.92.61]) by mails.dpdk.org (Postfix) with ESMTP id DF50B410DF for ; Tue, 13 Jul 2021 13:37:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yx+KI44MycMt38rnfgrZqhQay+RrxXsnDeg6GCeFiweY4sm3MbuiOhuSht3P5uWkybiYzcJC8HBFTCtHHt+K4Io5LaK/cmFEoIwS5diiWlg6FIr3wBL65e3zVTUdqcN2aMN5PgcFurfpPUoasRPrbeXfdhBwO7CbKfBEE1Vz/UZpbhactU7hjlgFM1vHyMo+L7acfKlMdPjPgspo5S67tG+6pEVKMgozDDbPOblXEatYC2wLonZmjCiRf6hDqml9pSzEybSQRHq1/QNxRKr3iZjZL6gYVdl5BxgB5LFb2BActe6GjkbYXboDv4cFZH813JC3b7Vv4g7E71xqH2ic2Q== 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=8DXoeYHQBwVc1G2xnxD3QZn86rbXVRwYcAmHHYHPIVg=; b=RzXjqSFZAkYzqW7DDDE2T1Bw9PcPgY3+U3lwhwKKVWbL/Frm4cbKNGEdZ0/XtejnUP5ULKsqE656pb79gqslEThmfKHPuXN0yhRpzuANrwnvMu6WaStwhM9Q9Jzo6GP6Mjxi67dvuMMTOwpdgf/XYHUZO5Oh0l6MKAk2fg07BGEcZtuAQc+XGfTjLQXx6UttOU0xSyyg6/dXhVqZTtqHirV3O9zVN3Vyu66MjMtLnPm/WsQtO+k2m/nos0IO2ciMGj6aMSrOBGQmaToCKym3N0rxFzFMniucCSqYv0fZvcU/M6iFt5+HEpCmplAxGaT1sK3EgYheFYDSz821FeH2JA== 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=8DXoeYHQBwVc1G2xnxD3QZn86rbXVRwYcAmHHYHPIVg=; b=Nk1luIfyLbSmG+O9Z12pYBogErm6RCYxlcMQF9yzYHvMY+ZEpm69JwWCFpo/oZodL6LR0ljBnoN18FfxqgjPLmo++JmFBvckOh0AbWTl144cTIpS1PRsPIZ8jtUmul/uq8q9mtX8pgsG+pRfd9C/foiLv1ytJSkEAgzy3Kf8R764rePyaONW6rFuSjHGqFDfomGOkKurd7HflM02dJQ0/T4yxFJ0d74dmBY6u2s6NHi0GPWEbK1cm1SX+9g/Ib/CMaTIt7NBjJeDaMBHRaTLxVHhYqaYwJBoZt/gN0cyLr3UNzbdXSKOQRBHkNQ3k7/HhEhajPbj2QZgbyFRGz3lwA== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5056.namprd12.prod.outlook.com (2603:10b6:5:38b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.22; Tue, 13 Jul 2021 11:37:52 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a%4]) with mapi id 15.20.4308.027; Tue, 13 Jul 2021 11:37:52 +0000 From: Raslan Darawsheh To: Rongwei Liu , Matan Azrad , Slava Ovsiienko , Ori Kam , NBU-Contact-Thomas Monjalon , Xiaoyun Li CC: "dev@dpdk.org" Thread-Topic: [PATCH v6 2/2] app/testpmd: support VXLAN header last 8-bits matching Thread-Index: AQHXd9TvPAPwQyjTeEmGd94l1KnEy6tAxr8Q Date: Tue, 13 Jul 2021 11:37:52 +0000 Message-ID: References: <20210713105024.69340-1-rongweil@nvidia.com> <20210713105024.69340-3-rongweil@nvidia.com> In-Reply-To: <20210713105024.69340-3-rongweil@nvidia.com> Accept-Language: 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: 2f07b760-1a0c-4f10-ea9d-08d945f2a67b x-ms-traffictypediagnostic: DM4PR12MB5056: 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:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: e7QZC+gJt2H+tRLYZv+Nmk0sAgbZ3VFhR6zYVtrGGzXzrbYd1qZJ1koDGmjuNMv4ncv1dxS+rn6Yg4x3Ba7Oq3dcvEODnfCCrbnWIPiuHS9MJRpC2TCp8L6bIRyM75PZJTm0Q493p8t6G/8AM0DUecC2bE4Pu+IXwCSjy7KlOBhVdSP5ggsRHFq9DzNWNcv6OPNA5v5X80Ds8OyfjmLXe1qcOf3D+UugorDz3mne9gBh8a5Xf9F8p0UqCH3ckYLHJyQEFxztiyDTV6wHj+QXgmaJqQazq9eT9dVXuUViQX6X+mDKXTpiNRXjRe/+QHn1fNj/fIdE2jb37QcmedYYxpcLc+h0YVEvjdehcg65LdHu2HqfB7YVIzfkafqAYZLbwtePrxZ8eUqxQP6Cnq+CdzrJCLNRE2CfAoV2tfjZNlgurDTV2CSNNrzxvAeysKgRLBXuLzTUTpIWuWAwlhmJnfAd9GXZMmKUG2AS1znzCfWHxUIH0jInPhvzQGbQqbcvyTQdLLiHgtW6wWXMZ2PmSjStgb0W6Npd9+PKVyPkQzpT6EnsxEmnCVwt8E5pX2pwQQN7JqmVoljOLUZT8FcfkgEpaXCMKQxoaXIc1RTozb4AMOegkpT6u8FHO6Ksow9r6ooiMy5tFXD6HtIguhvH7w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(64756008)(66556008)(7696005)(66476007)(26005)(55016002)(5660300002)(52536014)(66946007)(2906002)(38100700002)(66446008)(122000001)(76116006)(110136005)(4326008)(8936002)(316002)(6506007)(71200400001)(83380400001)(9686003)(8676002)(478600001)(186003)(86362001)(33656002)(53546011)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tefncksX8vBbL3uvMxBS0elSX5xcfsedfS0GgrzDMuX0l3Z/A0n6uwVfpPIV?= =?us-ascii?Q?IBJMFl7GUk+Y86akMnVQjaOnyhlO2dZ4D/YG/4OgnUPTLvAMYk4qbuAapVYx?= =?us-ascii?Q?KnfNdk3K1VxGE1/MpZObyHwfx52TK7XQO4eJ7zk/2USRjUpVJumdgrnjWvLH?= =?us-ascii?Q?p8Y34KR44RF1bfIFzjX/HL6ixDs8of9XhbiJ93FmzOljjDLlCevDmEeILK19?= =?us-ascii?Q?TtBX6RERbdz+pb30iYqVl48n4QKlmblEk0j4Alq0EVl+mD00eZhSV5/uPfLB?= =?us-ascii?Q?XL/VtZ+bDoHAPwVu5HpydyVcE818lkDm0c5ZshE7s18p4APsvKkUvv0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meSn+Ohv6x+Cff7kIbTrI?= =?us-ascii?Q?1D66Quj4W8Z7JUq9m66rIjQ3uwI9w3l0Kezv62G0x7aZTKCTvvN2mX/i3r/d?= =?us-ascii?Q?MM2DShEOiiRWeNoquWx9C4Pm?= 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: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f07b760-1a0c-4f10-ea9d-08d945f2a67b X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2021 11:37:52.6002 (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: B2VkzCwJe/eRgmyBdDN5ZFzgmgVFlJyYwIbcaTBmfT9X0RjIEJmzn1F9l9HWnHy6u/ep8HZxXTXr34ejAByPrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5056 Subject: Re: [dpdk-dev] [PATCH v6 2/2] app/testpmd: support VXLAN header last 8-bits matching 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, > -----Original Message----- > From: Rongwei Liu > Sent: Tuesday, July 13, 2021 1:50 PM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon ; Xiaoyun Li > > Cc: dev@dpdk.org; Raslan Darawsheh > 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" >=20 > Add a new testpmd pattern field 'last_rsvd' that supports the > last 8-bits matching of VXLAN header. >=20 > The examples for the "last_rsvd" pattern field are as below: >=20 > 1. ...pattern eth / ipv4 / udp / vxlan last_rsvd is 0x80 / end ... >=20 > This flow will exactly match the last 8-bits to be 0x80. >=20 > 2. ...pattern eth / ipv4 / udp / vxlan last_rsvd spec 0x80 > vxlan mask 0x80 / end ... >=20 > This flow will only match the MSB of the last 8-bits to be 1. >=20 > Signed-off-by: Rongwei Liu > Acked-by: Viacheslav Ovsiienko Otherwise, Acked-by: Raslan Darawsheh