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 60510A0C4C; Tue, 13 Jul 2021 17:34:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2FA541238; Tue, 13 Jul 2021 17:34:30 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 01DE6410DC for ; Tue, 13 Jul 2021 17:34:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qsq/sr//7ijaMBHmChtt4mTXsp9PHDcn65ELp9fDbskFuyQLTsS0AeUykibhdMnqXo/sPrDhALsPgMB5lnnS+666gcTRxpE7asjCAAWwUlhxPD83iW04LzQaHREX0IFbDK8yXW3vHTke0dOYb3uhPdffGjoPmnzIv/N8g2VFm2Ka/zU4mZCYy+vPQvFYCBeUpCQMdbxmSTSOudEFmjajoCZSOLfmb0/c6Od7TU24Mw3OdSgipiQ61cAjKfnyK51JSK6r44Jc9navV7CAN9OSVsJgGto5JpEZBF0aGRWPu6xYaUNNpkQsiFZrDHNEStoC8ubBr5ie5mOFfNGXZyhz2A== 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=DwL/YgCZAaQuQi8j6ErW3uo9YviTmh+saeKkt59R0kU=; b=hXlrd2Yc7a95rDn+j2kz8L9yGfovDQi9iHv/ZMM9XZxRNJaCgYIoSe8rwAaKdm555dx2u8btweUV+SPpwK91dpA9iyj6QBk+OxmIaF7s3EJgkv/otaHf/W9M67M1D7QQxj3XiuzVMm/aFGd4G9yKF+Bd9kqdgeHCgkwtntM+rtgIEHh2xoIr43w9ojdKo0m/sU+GancpIPhqE/pEKSUIlPJIupl5+jlsMh2AOQxP4gPqX+wQ6gmnqP2hX0Il5XeBNvylTxLHUCxGFq9M3fCsah06PWUCXFNKzkHqaQewlw4+zR4UsnCOK3JkcYBRmyNJeSWblWklXx/9WG2UcojTGQ== 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=DwL/YgCZAaQuQi8j6ErW3uo9YviTmh+saeKkt59R0kU=; b=mVjn2QnY1Jv5EFv2i/Gr3ioHZpn7RYOB0R/C2MK7vpYalTz4sgx7gZW8WmYblNEyoL42Umu7xpoAYW+pXBtKkHT2xQ6ChrBBRj8KA4cC5bRR/4n1KNDtvX/Xg1lr/8LDL8MnVMhXG/r2LQ+FzKDWUVB7qD3ouxO7BHP0rFCnh+pD7ayjnBA9jClKyQ9XgmCo4ely9tcAw0xLDCTEsb1LfMOEQ95m8zLjwn1+G7EjXX/BG6fGZziUYiRjcpsEgACQI5AK/0ivk3Og79m6fTjnia8zCxWftG3gC+2XRE1wHnc0CAoiTkgDb+q6/a+kD5HcJJ3s+QqrR6bmPqYyNRXxdw== Received: from CH0PR12MB5043.namprd12.prod.outlook.com (2603:10b6:610:e2::20) by CH0PR12MB5385.namprd12.prod.outlook.com (2603:10b6:610:d4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Tue, 13 Jul 2021 15:34:27 +0000 Received: from CH0PR12MB5043.namprd12.prod.outlook.com ([fe80::893e:2586:cb76:8603]) by CH0PR12MB5043.namprd12.prod.outlook.com ([fe80::893e:2586:cb76:8603%3]) with mapi id 15.20.4308.027; Tue, 13 Jul 2021 15:34:27 +0000 From: Raslan Darawsheh To: Rongwei Liu , 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: AQHXd9/1f3NKBE7FQkWUszf8JlusM6tA3HrQgAAsdzA= Date: Tue, 13 Jul 2021 15:34:27 +0000 Message-ID: References: <20210713120920.131354-1-rongweil@nvidia.com> <20210713120920.131354-3-rongweil@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-Mentions: andrew.rybchenko@oktetlabs.ru 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: 87f86543-3df2-42dc-5cfc-08d94613b378 x-ms-traffictypediagnostic: CH0PR12MB5385: 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: ZZxpybHDLxI1shvKhAisZNsiZ6dXWvFgjSwqPH74aX8J8/qmYsLET0doqlnqgIg/EtpnmoIr5+WMlAkRye9XAIdWe7n8c0ZFv7UIvAB2M9jr0fei+JVWVix/jqGAm9+OA7NJPd6tYoC7sObfzYP/F/5gOluiJ5tiqhwbv25Zye48cTIqagZ3gVApvtg+2H3mHbaklCIoBoLBX2nK0F9iBGE49jmE2NR3+A4Qj9wKpAA0b5Yk5U3Hn/rMcUyGhvmfLrckWEsPR7Iy4xg6PuWoBLWoWU2vcFDZZi/vv2YfyOtHBgrkRHJZdhDu2sM3LKB4t4EH1ugSN52fU76EDJRDSE03yyK3b61jyvsQz5vlfNlABw3d7/isg2a7xjKqmfWdVvu6LdqI1F5hca4nSg7auyuoJRboKzL2gj96+Nzm85euobD7GxZLMBOhL5TSHQ3tTXCU/gJX1k0yo/L0Nt1WzasJIqrUxJAIj3GLrDw1TE2GwOJXgoA8yLCzzC9TJN3JbnI+6TjYWwndOoIIjikIi+bQBfMrV81ckPQUfwwpIiJNoY3Vu8A8Hf2QkRFzqDOU1IzVqizISPQpj91libHiE28JFkCJrNrMxBT9jcpuoH2jJ9whgFKo8GRUM2aE9jdLIWpUzPUDUFub6UXudwWLDg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR12MB5043.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(346002)(136003)(396003)(376002)(33656002)(55016002)(38100700002)(478600001)(53546011)(7696005)(66446008)(64756008)(6506007)(8936002)(26005)(66556008)(66946007)(66476007)(52536014)(4326008)(8676002)(71200400001)(9686003)(5660300002)(2906002)(86362001)(186003)(76116006)(2940100002)(110136005)(83380400001)(316002)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fT3myGm4ss4k1Dusa+Xl/4fy3Vmc38CKmDQSGujkTJt8hVRILWeLa9PSzzDe?= =?us-ascii?Q?E3w+HRudKDBslWCfzrbabQ8pt6/iLLIDFXa3O/n9mpoNmPXs/ogl4RorzzHC?= =?us-ascii?Q?o/N6eAlKpIhsSFO3Apa2kRJSm6veT6SoZmk4WEI19MxsoYAVZkoGBf3/Y3j6?= =?us-ascii?Q?TDoG1ACvl9EGJAHPAkPSPjumxr/fLEb/Om6WQCDx6PVfDkyXQ5X/MZnyCH82?= =?us-ascii?Q?Sxk5pNMyesmoCiL6RItzn8WqyTTFgp+XdneAN82bkncPyztEYmKGt0w/S1MA?= =?us-ascii?Q?jPPsOl3XX2HQQZ7Q805O1U7qlVMF9MCm66IMtop6PgI+Use2DR8isBnbZgid?= =?us-ascii?Q?t2rnpVjIORTh4IL7ELERm1/aVqVVhh1Pi4KoJ0i2DnEJz5dSAI3867q7fJCk?= =?us-ascii?Q?JzwGtfy1S78Wz63DlTNcTUV1PgH2MaquWmS4gz/udhWngAfqSiqZsyolpAFL?= =?us-ascii?Q?T7XePLl3CauK5mw5nED5DuLyTP5BdLQC2QBC0u3crCbDRCM4Jfb8s3z+LLCs?= =?us-ascii?Q?OsuQJJKphiXkB3i+6JT7tSnphmZq6/OX0vVgbJ7kuhRSfITCDVzYsVJX1vRY?= =?us-ascii?Q?nQqJT5Uh274CYn6FLZYDs3uXG2bmsLJ+2IB6Y5Yix/jgnIcF2m2L05HqrGVw?= =?us-ascii?Q?fy97eHdQROvThkWtJixKrgZIpRHWaC7HePzads+x2XkPMgS88LoBPFNnnPey?= =?us-ascii?Q?q1J+dEP1VWMjxxdppTBWPCLrvBS5ZD78N48qf+xPPplxp0sTDd+lHyr3HfEv?= =?us-ascii?Q?7Id2dwVi/PR2lo9V4FveFyTnSFYhUQJHXvF8MYZvumym6MgwdHK69kKzIv8f?= =?us-ascii?Q?U58WrvtNYG5N6Th8u8hDD9JSPaRN9p15KDddUwRX1OZE4rzUj1DZ6e5RoOjo?= =?us-ascii?Q?qbFe6m+JWyICD3j9SvosUWEohYdRZAn/7vX1YUvOL0d5/5ykELshPExWJzXL?= =?us-ascii?Q?jpjCoF5C8y7hJPjJBBOXp61GSU73UtTak3IX6TFB4jhcbUvzkiv60BawdJbX?= =?us-ascii?Q?Hn/lzOSvgmTiUqAXtGpywPCX8/StyhTouSlSMNJ/UapaZn4/VpS1l1VEUwqI?= =?us-ascii?Q?Ux0PvYOozsH6+okFvGe37UliseyMSynUnxXRdOG9Pb+nw2km58r6V77HNVU9?= =?us-ascii?Q?s9IRlm+W9rY8Z0DLwK6b6p8bYGQiqjFqXm6kGVga+lucrriw/kYS9HKrKmHg?= =?us-ascii?Q?9MxVn4EDoh2706kV6UK8TakkJorpZNtXbMVi+8vnUM0CCpYKFZQ3r35HX/rR?= =?us-ascii?Q?+THDhXH3ggy6/kePaj3VRnC8mYNlVlqa5ul0xDowzBA+ASGrCGywA74JvG3W?= =?us-ascii?Q?jRCEV4wksiq+oAoj06Q1XxER?= 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: CH0PR12MB5043.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87f86543-3df2-42dc-5cfc-08d94613b378 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2021 15:34:27.7544 (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: YnWkaar+6RJZ8P6Pf0KgakxJbKZpyQKWa2PEIgp5st2ByINjaBAQVWz8OEufL/2zoEIRScoqMcZJUgtZTTecRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5385 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" > -----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-n= et-mlx from next-net: Typo: filed -> field ? Kindest regards, Raslan Darawsheh >=20 >=20 > > -----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 >=20 > Kindest regards, > Raslan Darawsheh