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 72354A0C53; Tue, 10 Aug 2021 08:22:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9A624117E; Tue, 10 Aug 2021 08:22:49 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2076.outbound.protection.outlook.com [40.107.243.76]) by mails.dpdk.org (Postfix) with ESMTP id A580F4068E; Tue, 10 Aug 2021 08:22:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LQ0jaMm4oVtuBua178O5iQB1fmX3o9A5zalc3uEzYouElqbZeeqTmRLqxX5v2thhvJChmpCPfWN4P9Iz4bnChj+yrsme5hqSG3es+ySOmMBzVQcFo/rLsyb9omuN+vWiBS5ZYiO4mNRGljhXJVNHslunFxSs3cw2fdK8HQ/Wsc4AdhnI2pI3mr6meQyTjgGY7lVNxvL8O/egM7v6aQB8B2vxLVgpV8nj1cgCwQVAIPjieKnll0Z8r0yQSuzckBXaChpL0ZtB75ZQ+6SXAczuzcMgN4kfiJgAtFXBTp1Wt8LyH0tdhZu+pTurf7GE80WG/hzgf0SEwCF0lliaM9H4RQ== 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=B2dAEMPZvXRZa5NVe6NUQ8nzbvwXrAmW1yNYpzf9mK8=; b=HvcizpBNI2R94b0tIIlaLkpHlUM+EOrY99oftGsOkM/FVZismASVADrO4DcHSpLuPqzfJTzT8JyCdF60RlcK3bLHMHmVSlRWJQqZoKMNKPkh0E5w9c7C/+R3iQlyZGyEOkW5TMAv4hPoTtEoWFsYMd8I4BArjwNyvVXYec+QwZI1VkUw2HgiW5Xa3mDrTneDyns8b6bKZPfRd43557jTIrImoZUqJ7BrzbYN1EcaJP6PqWpHZh3l0mKZzXeU9ZeGxc6BzPiudm5+v/1xXDSlCp9lnwW9zWpXUKQcJ9P+sORMOfh+jOtnNSzGnHC/mDmMkuIOdR0EKBOd6k1bgF7FKw== 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=B2dAEMPZvXRZa5NVe6NUQ8nzbvwXrAmW1yNYpzf9mK8=; b=Kfbe9Apbzpy+Aj3eNqvVM8Z+A/OjEXXRWZ1yGBugcDpcMrmX+Q6jzriBNJIIuxIZoUSYkkB3yH3kMEkSh9EBUFCoI/Bi5th58gjQiOSkj4Fou+9IxIla8b3FIq22X6kC+mm4RCjtLQBnFVEzJVJYpAibqvUAkmTUUkhoLdmlJU0xdloVOlX+TncAOmQKarxpai6QEDl80bTWJ+CwR/8XYvMYyuYTqMMouk+8+Xa1a7KXxhO0xoyD6vAtuEmm0CffFqMP3/HRiZKqVxFpuUBZUEVTJFkO1JvHAcuz1IABgJ7NunNjGEBU+ozIz0lnGmktjjsuLLEHtgcSCxLHutW+pA== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) by DM4PR12MB5214.namprd12.prod.outlook.com (2603:10b6:5:395::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Tue, 10 Aug 2021 06:22:47 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::6823:63cc:f7d6:dd00]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::6823:63cc:f7d6:dd00%9]) with mapi id 15.20.4394.023; Tue, 10 Aug 2021 06:22:47 +0000 From: Matan Azrad To: Dmitry Kozlyuk , "dev@dpdk.org" CC: Bing Zhao , "stable@dpdk.org" , Shahaf Shuler , Slava Ovsiienko Thread-Topic: [PATCH] net/mlx5: fix matching on eCPRI Thread-Index: AQHXjSqipaGlEGrX7UG/3ZvXLIyBcqtsRZtw Date: Tue, 10 Aug 2021 06:22:47 +0000 Message-ID: References: <20210809142646.1918339-1-dkozlyuk@nvidia.com> In-Reply-To: <20210809142646.1918339-1-dkozlyuk@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: 332201c1-e7c9-4c6e-273a-08d95bc745bd x-ms-traffictypediagnostic: DM4PR12MB5214: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3383; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ++un57z8XJLYG+X3w10AW6OrQeS6qpTedcOBgOJh5b1/Y3WoUsxMkWI8oRV7yGXwYRrORkFbdemkwySHewHkwF0RgoaSyHQn4uaBt7nncMPyIkK4o7YYJwiWWETQUZWyeZXjdxWJgo0t6YiycFsDe1bxGz6X3t3+VKFZyqg2JuHNCqBTq4OtEK21Fs2Sfg6JdVtYAkbhkrtdSaau02aTpdRm8DoTPvq4OHzg6Pek8XngrWf5Dzq81YFIpiDERfx/knYsBiI6H/JNVX/eReyX+ztxdcMIJ4trQdTkomWW0Sg+1B/PhUenlClt50YahZilf3n9z+tnDjMve0WrWW5aM7sTLelAMSe4oTBqlLjfsWld9cSOa6Z28dwJOek9uGEwItL/3gGp4ZsoOwCZ02x4LaDb+UOOdUDrP5g4TWFASnoIhZML1hLz/rL97ZdUP0CyY3M2382JK8DssiK5fa4Xy31lvboFl8gD+XowhPuuGiwFb16TAETrCP2kLFizf3JMhMy3A4bzXYMIJbrQe8YiWMgQBwC0cBf/K0jXU5mwzEOdBADzd0UstRTCIUBzTHVEuAAx2FW7IoA6V6XfOEAz9BrhMR8ml2H0i+DtkvUirC0ty7PekzBz3kH5/chZzJAHiwxK2ZaWhNJzCxOOh+2G+1RwbPmYtvZLqyNrvfvd8Uh1udpnzqcGZGH+LWgA7eeXejrLAvGFKz8VoDR+hxlHjg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(396003)(346002)(136003)(376002)(71200400001)(450100002)(33656002)(316002)(110136005)(86362001)(4326008)(478600001)(6506007)(26005)(186003)(54906003)(2906002)(38070700005)(76116006)(5660300002)(9686003)(107886003)(55016002)(52536014)(7696005)(66946007)(64756008)(122000001)(66446008)(8936002)(8676002)(4744005)(38100700002)(66556008)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?r97XYwZ9wrn2I+dA0qKO0aEL70DQ9yAop7zoUvrK6CDg9ZoPM4CqWYPbvJNl?= =?us-ascii?Q?zb8PfBuhpx7/VZzteZXRZvnks783FCOuCuzihGOz7w0yIUz+PTWBsMg1CcGN?= =?us-ascii?Q?s0Y7Ge4SiE78sBgMzWVDduY/lQCa327fL4MOv3XLgmNLrcmKFR3cmM64MA1X?= =?us-ascii?Q?jU1NZknbhNaPZB+bKzUaYnucX8lBCq/UWAKrDRx0z5Ry3IKwwNPkDAee5u52?= =?us-ascii?Q?QjEC/J/WX6NTwPTzBwMbhDevm0wG5CBbJ7IStfezH4KqfILYMVi97LD2FvOL?= =?us-ascii?Q?DrfwLnRo98eZRnUwJqfb8Yf+PKxVgDQcuXORL15WGn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Z8cQahBo9n1Z58hHfABYVq5nQ2sr1TfDqV2rjK19zRjobxUZrGA?= =?us-ascii?Q?SaRRgfiZqtYZI0gJJOnWLrfTePPUgNmDrkLLf/fNJ6DRtwa2FM2cPI4w6GgY?= =?us-ascii?Q?oDo=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: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 332201c1-e7c9-4c6e-273a-08d95bc745bd X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2021 06:22:47.4228 (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: a2gz2jrfMiaDUn87HTG5DKtkZUC6J4dN27P3/kWQFeXb/5Zjq8zwNaDUfs0IF3TH7sWG4L8yLpqr4qgyk4OqFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5214 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix matching on eCPRI 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" From: Dmitry Kozlyuk > When an ETH or VLAN flow item directly preceding ECPRI (i. e. a pattern f= or > eCPRI over Ethernet) did not specify the eCPRI protocol, matches were not > restricted to eCPRI traffic. For example, "eth / ecpri / end" > pattern behaved as "eth / end". Implicitly add Ethernet type condition, s= o > that "eth / ecpri / end" behaves as "eth type is 0xAEFE / end". >=20 > Fixes: daa38a8924a0 ("net/mlx5: add flow translation of eCPRI header") > Cc: bingz@nvidia.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Dmitry Kozlyuk Acked-by: Matan Azrad