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 6087BA0C53 for ; Wed, 24 Nov 2021 14:51:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53F8E426ED; Wed, 24 Nov 2021 14:51:51 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2085.outbound.protection.outlook.com [40.107.220.85]) by mails.dpdk.org (Postfix) with ESMTP id 1F195411E6; Wed, 24 Nov 2021 14:51:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ItPBrvTj1iBZnuO+62ERirpLSe7uFzCorWyvmLcKA3JKQajzkok4vriDlID3zz8oJFZEF/up5x4u/dyfxWYGoZCXNQsDTN/AkVfv27cN5Z/9pzX1S1i6kSYTZn7ICup41lICS0Ssah0bSyTHc9NdKQEF2lLYa9CZSIusxKxGsDctaiWbs09/N/jxGUFOM6YrGeztt9ew63Bf7xwHhEAteEL2HtL89uxTJDI+EQFCRlC4xzLYz7rCNXdktgJMk44cPEvuQgsj0qSxvopJd4xNMVe9QZrTp1aX0Kxuu5iHcPbIt4dwha9lh08pv+l5S64OQtlGKvi+puQ/XoRFM+2frw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Cgb1ypJabDrTCB6nekm0jocjhFUc/0+0BRAuRxoARu0=; b=ggcpZkQqFVZyoIezadmAsByR2z2p+C06DtKJRwZhuocnX1iVuCYEbwgAzG2zAp2+DEZSuSN3cRiOitvCQIlzFTj8hlt6pGe+EtBGMUTAoWJkP2qiViBPreDTMmijw3uaGus0ReDh/Pi307vgJ1q2szKaXZFdKrnmGxH5R3tEiFZKnIgsQNP9z8J2U5sqZWNuN3yJpwImnAIsU9hJ9nJDSIalvyZRicWj9WHEUyKADszKqUt4MqqCPo3wOrYY0SzvQVtGQ6fiS8JzsZqUJFuz4Xz3wfGtlAzfPOM90OJcU1imSOd+wl9+rKzIVIKLqLniP5nCFuNEqJO70LY7TIVyWA== 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=Cgb1ypJabDrTCB6nekm0jocjhFUc/0+0BRAuRxoARu0=; b=fnYW3Ozx0WrJdDff3g5VSRb+vA1tYImtO10pd0WMqhQslfhTP0S46RYnq7GmW8J7dH0h+Bu0QhlonVeF22elxhDSbZQrBakcFG7txI1xIr0d4q/3/yukwcAjl1moA3HdVwVepKNaPpwH50vWtq5Pf1HbYMeSbAeaq4ZzUzipk7anneoLJrYapXUWSfx707X7FGMOuszWLZssNIxe0zrPp+1LOX99sQPy/NzAWjYqVw/zPsUBoCljwmccneioAKPd+rWEzB+UYYzOtqVEWdO43j7ELE/mM9uD06bCNixNGZ0aLZDRxM90t/BEbmAiMounafMt02Io4tuV3HvSDl6/BA== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3849.namprd12.prod.outlook.com (2603:10b6:5:1c7::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.22; Wed, 24 Nov 2021 13:51:47 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59%5]) with mapi id 15.20.4713.025; Wed, 24 Nov 2021 13:51:47 +0000 From: Slava Ovsiienko To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Raslan Darawsheh , Matan Azrad , Gregory Etelson Subject: RE: [PATCH] net/mlx5: fix GENEVE and VXLAN-GPE item matching Thread-Topic: [PATCH] net/mlx5: fix GENEVE and VXLAN-GPE item matching Thread-Index: AQHX4TbiUv3VHE0Mn0uiiLNKI1XSlqwSskzA Date: Wed, 24 Nov 2021 13:51:47 +0000 Message-ID: References: <20211124132609.3315173-1-akozyrev@nvidia.com> In-Reply-To: <20211124132609.3315173-1-akozyrev@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d10b1071-a1c9-4fb0-fec1-08d9af518efd x-ms-traffictypediagnostic: DM6PR12MB3849: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NG6I4fEv3H6H952w94n5YcUAVgiHGX3G0Wziy96x9KRLhVAMYQjCPQOep8aNVQwUNcklBBFDJrrGnwwrvgAvgpDTeMiv1CLsBcm0//l3xnoEZKkJhB3qdD3sKk7fAyeXBoajGGC0MLaGLpYfs+w1fXRZR4kjhEJB/xP8pG5ou16h+87zCz728WHKRgMSddZeFgIgYYrHNPpuNeMv2Bqp/cGZaanb2sRGeQX4g7jSivRKJpERah5ZE63ULx+fOISKxT7SFjQGcOjWR0kiWbN4q/rbkQbwYQTEtFmJTzMEMfNMJuY1gu+RqozN3VdyCqQYfJNv+9KdsDPkKZvo3xyTpmVgNNqddVHqvfoCu/xfVuMWP13ZfUnE1pDQOI5TLWaI2w4vxi06eSpEddkjOlbMsagC+LDfIVsFMIOxuaqQmq3YLZD/HnpJICOcXCKXT0WAZ89fFtL5m0eC3Lpowx+sglX9Q9WzMkxhgK+76MtQOMFGqUpt/UYojA24krohFctADSPg2va7zmFOTvf/cTm7jS9mc9iCpQNLJ8v7Dmj8XmjDDFSJLhdGNzomJMXdxmDQAJAlsm3mj7viQhrCSkAYY1a8wpOfh4jVfPcqBvPotKguUDlIKlnxfeexTNdCIN4+7GHS2pdX2LN+/hgMntnobsPMg0JtseQQ3Csup/5uKX94c+NtFxXioLwXl1JHxExfRDsS7E7C4SRc/Ni+pQOm1w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(4326008)(9686003)(33656002)(186003)(71200400001)(66446008)(38100700002)(64756008)(2906002)(4744005)(8936002)(66946007)(38070700005)(66476007)(83380400001)(66556008)(508600001)(54906003)(55016003)(316002)(7696005)(107886003)(53546011)(450100002)(52536014)(26005)(6506007)(76116006)(110136005)(8676002)(86362001)(5660300002)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OS3wA3U00aS9nLbM5V8B2oXjmd6Cfukhy78sih3NgcgPvUxQmdEukwVHEU+h?= =?us-ascii?Q?my7saztnczgAOkR2E/QSURvZisoaXOT7F+qhsGD20qkHFKFOCUSAh95M2Ryr?= =?us-ascii?Q?aX2p+gMfLRx24i4foMD+vLvN/q9oFux458guyGxbcZnkBgw/0Vjrv6gdUt1k?= =?us-ascii?Q?MB/TkTorYu+g1RS2gAidrNcozdtDpjTWDfJph07s8OchUs8qikc3psfRC6W4?= =?us-ascii?Q?lRHZMCePvDMLfVpZndTAtdzDVoh3XuNewMn5+5QUoxO9raP7DTWMGRs9m1qK?= =?us-ascii?Q?DI0JyRij3WJneL3U8+70Kj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ascii?Q?bzoJE/2Y9T0SQlRuD8L1kBucq6neeHd4XhKUhHQ2s/pS9GzA1gffyQclV0A/?= =?us-ascii?Q?pK04Uvjh7fdyuzZi57+2MPsPbFnjjxXvJp1AZHXWMv6LmlLRP6wsm8ktc1qR?= =?us-ascii?Q?/+AiVA/YIeea4dtR97T5zpkygitedFTv7YMp+3JviNBRGAW93rZ3QdttGNgM?= =?us-ascii?Q?K4nOBRJ0Djo2rRJB63Mtnvtw5vjZBQSEOkHccx7aX2AAUymSUWhZPt7hSClM?= =?us-ascii?Q?fjGUHs1CKuGdqvICdGcsZqhFCvWNdmO64bshgqvuiALGoJCei8C5XffCuFhA?= =?us-ascii?Q?93GsgrEiN5ThDLnGbfAeE4TfLwR3DJ/RmX/s1X2JttXc0lH8GkIPdxFEie2t?= =?us-ascii?Q?UumpJW5OZEAuWUnic5pnlujf/wgZFVOrYH1oOO8K7jz/NWYH0J2qWftSxYWs?= =?us-ascii?Q?eQ=3D=3D?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d10b1071-a1c9-4fb0-fec1-08d9af518efd X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Nov 2021 13:51:47.3429 (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: EZA1bjRvRiF5khCf2Rwh9l3SwVumb3rpBnBBZ9Te2XE/8jE9qAyB3HO+5FFNhjWW0iP8EmemviinsvFtO/aZfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3849 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Alexander Kozyrev > Sent: Wednesday, November 24, 2021 15:26 > To: dev@dpdk.org > Cc: stable@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad ; > Gregory Etelson > Subject: [PATCH] net/mlx5: fix GENEVE and VXLAN-GPE item matching >=20 > GENEVE and VXLAN-GPE item matching is done similarly to GRE matching. > Users can skip the specification of the protocol type and expect that thi= s type > is deducted from the inner header type automatically. > But the inner header type may not be specified in order to match all the > protocol types. In this case, PMD should not specify the protocol type. > Check if we have the inner header type before setting the protocol type. >=20 > Fixes: 690391dd0e ("net/mlx5: fix GENEVE protocol type translation") > Fixes: 861fa3796f ("net/mlx5: fix VXLAN-GPE next protocol translation") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alexander Kozyrev Acked-by: Viacheslav Ovsiienko