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 5985CA0C4E; Tue, 19 Oct 2021 10:28:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45CA240142; Tue, 19 Oct 2021 10:28:25 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2081.outbound.protection.outlook.com [40.107.244.81]) by mails.dpdk.org (Postfix) with ESMTP id C3C394003E for ; Tue, 19 Oct 2021 10:28:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WrrpOCSmZjmI4O/0lK60c7HxioufhFDmT8YkrwfBKQSYDHnEK3YAqO5B+hQ9sCgX6QslpfPjMKXKgLnZUTMguvTJ9sX036LHyaihAcFJciMNtrY6yp60sZ/sryIIYTXgyJ3IoUEZUzMZ/LwnPu33fg8dT4/9x421GBgFDLJaM/cmS0VJO2Hq6M7nXI3+wgUsFuqLkbnefzTK8bN9OXur7Gty/SAI6StJghH/kI6tCcsYuKeHZcte+78DcNYfetiV4xrE5nVVXVSMRvQ5PX6IUBTnOG3VIHIokophj8NmUvOHucRL50KJUh4/5nI7mAX9gMffUe/FuLoNACyLjbpKDQ== 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=x3/j/cUdiLIroYpRFCOV2uS1nYdp47zHiVA9Ma3hlbA=; b=aPYaaNLuxS/coY6F7bHetFJ8GAK0nwQvvvJiaP/DbBkZ7YjLGq/HYxtuHVuvj/ipDv2IgM5xwjCRm0D9xrOFP+GwuaGCUfJhB2w3plLW7wFOAr7ukZinJEGpKwQeCcCmbcj3jt7lP57bQ83GwMxQHllzWl7rikLP4F3+jS+NuXtPoMqqgQoxPJKBWFyDtjC4OeWr2AGB6eg92YSQNQ7qao+hWBALOsVVm7yBm32xbiCnY1QjoIAizN6vwNMCFyWQZoWxX6f6CGF7KlgmV/aitps1lHpFWlEkDterEGodABLIOHgCR9pjSU9AwDRutUWyO4mpago9IzSMyAfGH3xd5g== 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=x3/j/cUdiLIroYpRFCOV2uS1nYdp47zHiVA9Ma3hlbA=; b=dCUnuowHxefYdjHRDdHWMAu2UfbdbnQgv8qQ8qJlhReM2m1m2JjxemToCSFEfpYEa17J4VINT0QM6K893Ky+HRWo1xxLJBPZ+kGEL1hBtQ1f+rkFWCvW4ohpuufKNs+EfZ9LgFcXNUWsJOpBYo7L41UFNN7LSZHVj9tZOXxpDj1Bkxr4aIdt/rtBFkq0eEnx50f5Ilf7y36fVm1/XOoMef/u61ri7DUVmPwIkonjYVYOWIXbZBQU33nxXhlFP6IoxmfFKCnx/5ukSDtoT2UxsgpErffZSfLt51PsDQgmjOoOogG1wpkp+LgOtrqi7KQcbVYEH30AxKgjOZOyeeN7XQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB4761.namprd12.prod.outlook.com (2603:10b6:5:75::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Tue, 19 Oct 2021 08:28:22 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f%4]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 08:28:22 +0000 From: Slava Ovsiienko To: "Xueming(Steven) Li" , "dev@dpdk.org" CC: Lior Margalit , Matan Azrad , Bill Zhou Thread-Topic: [PATCH v2 6/8] net/mlx5: fix internal root table flow priroity Thread-Index: AQHXwmUJQ8FIs0ieEkWKQKg+KruQaKvaAa8Q Date: Tue, 19 Oct 2021 08:28:22 +0000 Message-ID: References: <20210927083256.337450-1-xuemingl@nvidia.com> <20211016080732.1781622-1-xuemingl@nvidia.com> <20211016080732.1781622-7-xuemingl@nvidia.com> In-Reply-To: <20211016080732.1781622-7-xuemingl@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: 6de156df-a9d6-438b-9770-08d992da69cb x-ms-traffictypediagnostic: DM6PR12MB4761: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kTHSEczVi7NxbAMGsNYXRVkR2oCG4zPG1wc4pR1ThixQLcuwjFVwaolU0CLwOlNcWedFC11azXNwGjBhBmWWq4LEoKv0IgV0hqnCxikKsEFNYOfevAXjzylCbnZlH6y8QXSSsPvw49eUwtCqyhEe/k8ERrAMix+S6OCmB+deY9zrtyJz3H5fH35j+JD2Eb6ija0BdZnasZ5yZHM32u4vfbTHSHiKudvxxqwhXnWDMJJz9WdxLtg7yTgi3s8o3JYekHDw6gT2nVbnOt3MpYwOw7sXnNI/jQ2Alcjw7Rq7AfHg/HGZBMqt8SH/RGhDAMbETe0nFJ5TIKg41w20PFz28L6oH5KnVxwn05zkZYVVCE1dfw23PfX4OB+tnGKi7ued0x/XZZbOpKZszqh5u+C+N6gPXRLjQtzl5R5i9k6BnGziK5A1+9ZTGq59fwINV2byhr5AFREChDKX29jckVWt5TpWhCe4/pvnuXALtYZO2KcWkeV+2wLGJQyBw3vZWtKtUbo2t5EqHGHzI0w9eB6v82d2ntQK82jamawEoWma8JUAubiGGm18DQ+DR1UNdqMiKF9SUujG+61n9f4XINuX5Ic/hu2zc6+GclEQvRPrEem459ZJxaQT7MrQV4c73G4HDxAmiNIkv/pRPLxvH8VxLL9Io5Yzyjz5ygW90vff8n7Q+eqXrQV3ubh1p933s6aGPHJNoU+mKlDTSqIh5sWG/g== 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)(55016002)(107886003)(9686003)(316002)(38070700005)(76116006)(38100700002)(2906002)(8676002)(7696005)(8936002)(66556008)(186003)(4744005)(33656002)(71200400001)(5660300002)(110136005)(26005)(52536014)(122000001)(53546011)(6506007)(508600001)(83380400001)(54906003)(86362001)(64756008)(66446008)(66476007)(4326008)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?G66QsftX0Tgj7btebrrc8cJ4OdtlFOnqAdsjpjkc8XabqF9rT15syM43kneS?= =?us-ascii?Q?HSngPz6C2GPJGxe6mBNjrxn9L39DKK3pI0uidvOq0d01ZQeweeQS/Xds2Sgi?= =?us-ascii?Q?Zaqk6DjAjgWGUGtR8lM6NX7ocatiXlZkIvgUYZDezcXD+ajeE9L/mBXDOvKV?= =?us-ascii?Q?kt/Iv05H6muYP/iPCHiyEETVlTp7IrtG341c+Oet8MkIdXvt/jD9SemvgBAz?= =?us-ascii?Q?tKCsVuQgLqqsJ/mZUimrkVlL82Zg+ybS6zf/oAAhS0Y/4SOf6IM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BPhokEeTls+f36sdM3w3IScqenw7deLA?= =?us-ascii?Q?bnlG6O57ntvFoprx0TMevp2ZTlMHCT+opAtSUlygHNCXrkD1ZW3Saj+K5X6g?= =?us-ascii?Q?XYHRjje1WLEpq4Qoud6S4wv8NUS24skxRgtAVE/sAQtJW8g7HkQ9nB/D5pG0?= =?us-ascii?Q?30urzQXBEwwC8Zgt5Zrdz9ox?= 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: 6de156df-a9d6-438b-9770-08d992da69cb X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2021 08:28:22.3043 (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: M8ZovU5XGyNv8OTbYjK6rT1MJje/HNgYvCfEI2Kmn3XoIagDH1GkrkcnHq4b+CLeY5GUyzFR1P84I4ij3sHGoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4761 Subject: Re: [dpdk-dev] [PATCH v2 6/8] net/mlx5: fix internal root table flow priroity 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: Xueming(Steven) Li > Sent: Saturday, October 16, 2021 11:08 > To: dev@dpdk.org > Cc: Xueming(Steven) Li ; Slava Ovsiienko > ; Lior Margalit ; Matan > Azrad ; Bill Zhou > Subject: [PATCH v2 6/8] net/mlx5: fix internal root table flow priroity >=20 > When creating internal transfer flow on root table with lowerest priority= , the > flow was created with max UINT32_MAX priority. It is wrong since the flow= is > created in kernel and max priority supported is 16. >=20 > This patch fixes this by adding internal flow check. >=20 > Fixes: 5f8ae44dd454 ("net/mlx5: enlarge maximal flow priority") >=20 > Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko