From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E977A0546; Thu, 16 Jul 2020 17:05:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DFF2D1BF67; Thu, 16 Jul 2020 17:05:35 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60082.outbound.protection.outlook.com [40.107.6.82]) by dpdk.org (Postfix) with ESMTP id 0067B1BFA6 for ; Thu, 16 Jul 2020 17:05:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JEH2yEET01OuJ4UTfc6s3dMY64+zqcu/k/0hxOZmeYfxmzKCCcIV/sLBighPUr3lF7CHmN6vU8s72Qg7jfKp7bqB/jAL2rwM2jSbqbdG1XbKW5dx4DY15CpLDlKtbv49krAc5kOPSuRFp0YJXlB9/aCav1jK4M+rrZtX4q9WzthipZkNJ7EjPebaMx8BmJPYs97BKyjcVj2QrZUsl3vvRO/b9kjvbAnnT3FB5D3lFHjbUxubqgzfnN0lC5ISlzRZCOaaR5ZsTjA1wvHjlNKbpMG7thE5tkkEftwzCPgFS18gzvbQPP8SYjLnJzqmfiMR3VJQlOkbvksO7bPPKWNCnA== 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=i7FN2XANso8zBpuNoaMrzV9alhNUxgt8SqCFwGJxFco=; b=Liq54cIukmBAEcWzhtFnGq+Dnovhjdh3mLcPcYl743iV46LTnreeK8HWrgE6tcMXyaJ+rLKzeMhgi6Apgr3vJWba3NO8AIzXJTU7ko/W5n86JefYxgfi+DhUGMZ/c3/QUUm5V6uf++n3Eebv7Xid7fJlYzCWAr5g5eYuCPEppIiYzi90XKPICn8iAro6OrjN9DOuAPno5UpczSI/6nhTI6krXXSwKzq2Zakd4avcn+mANEheQBXiCMBm3UZ9Df4Zg+Y2O7om/g3XXHgGyGXlUGP1MpVb8iwOedCcedOjPWchuKqJpIw9a5vKgGqmUx3Qy6ekc6Se5VviPM7HvTIHcA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i7FN2XANso8zBpuNoaMrzV9alhNUxgt8SqCFwGJxFco=; b=QmC4B9gStsyolf2zZDgMlGVKjCu42G4Ug17BSWmnAcNj+onTmAI7pEtc2ON0tiTKM2gZ4r1TlgcIaj7H4OgnWunuCR1X6IpwOrErg/s2N6J64TqrnW3r9SUco+J2DUmLtcv+yCVI8jioDVsas3ALbnLDvJbVyh8pOd4HRGL7AlY= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (2603:10a6:205:8::26) by AM0PR05MB6737.eurprd05.prod.outlook.com (2603:10a6:20b:159::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Thu, 16 Jul 2020 15:05:33 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed%2]) with mapi id 15.20.3195.018; Thu, 16 Jul 2020 15:05:33 +0000 From: Slava Ovsiienko To: Bing Zhao , Ori Kam CC: Raslan Darawsheh , Matan Azrad , "dev@dpdk.org" , Netanel Gonen Thread-Topic: [PATCH v3 6/7] net/mlx5: add eCPRI flex parser capacity check Thread-Index: AQHWW3zM9UMPnDstHkijwnuO4HlN1KkKThVg Date: Thu, 16 Jul 2020 15:05:33 +0000 Message-ID: References: <1594907399-63329-1-git-send-email-bingz@mellanox.com> <1594909426-64843-1-git-send-email-bingz@mellanox.com> <1594909426-64843-7-git-send-email-bingz@mellanox.com> In-Reply-To: <1594909426-64843-7-git-send-email-bingz@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: fdb3a739-edf6-455b-6b35-08d82999b016 x-ms-traffictypediagnostic: AM0PR05MB6737: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd 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: UAgznLtwEu+C1SQYFZodUoy2XIjgcgYZvvdYQVn0MvReuHcG0cAL9x7jzqwyVMLEaghbRWlDDC8R3C/vw9fBU4rCBeAzVxawWKFa669nTQK0hTGzfpN26qD3T2xU8mdhcSlD7D/AwnDOzZyFnCOL/gX6KSPAJh2hgvBHoiQ0qATX98JhA5XT75oRGYNaNfe7iESCcv2qoItbT+6wwZwvLYU67u8prJGyIeiZBPlB8FV5zqL/zbAfKBKVQp1UwPbeXcwbj20JzSktTHA4XZN3mjFbb/u/51Tyt2ATaJ51jiFz1JkrvyuAchWsu1f+lIze x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR05MB3265.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(346002)(366004)(376002)(39860400002)(396003)(54906003)(9686003)(52536014)(71200400001)(110136005)(33656002)(4326008)(53546011)(2906002)(316002)(83380400001)(66946007)(6636002)(7696005)(55016002)(26005)(107886003)(478600001)(86362001)(76116006)(186003)(8936002)(8676002)(6506007)(66556008)(66476007)(4744005)(5660300002)(64756008)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: ajWjhaFx2KfzGSLbjX74UHY1aXIM5oRgV9HoRNMQkU1zm2oW8QAysMvEBJ2ZqwVPdUC17gjCWEY7o+5KPBkjpIh8URNH41mzPs2HhUGKkKVD6FxQwdq1tpF3BEF4q1Gg8cZIy+5UJQP+iaJZNPvnsbn2/DbIigTBuVsWqK/cy938bwL4BSwCWcfVBhnaOZcuh2cyET2bejKOS7hRJxLW/JJjfdU3kxRpbz3DdXkPrimzKW4RgWqhliHfXPm/Dlh0VDo9xl4/zZ41fjuL3EQCBwo919I8HX6OAFeHY+ObAFVXsLB+dZutlk/GHg3ADhernHse5iMzzPWPwqVppIs3u2qYb2aD2Fc6DCEG+0f/3fIqLi28NHWHRiYmon4qQV7BRgpf/dcS25dRdiUKUkdXInR+Wr/09skeAhAJPq/Ar2vfRS4H7HIHyAaDZLjUfe2Ij6PYlTE4jl1NlTyZgf/PnFNprbavDEOXpQRzwYAMz7g= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM4PR05MB3265.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fdb3a739-edf6-455b-6b35-08d82999b016 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2020 15:05:33.2410 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QIboY9Kfcm5IzHh1BYpFn4uSS0fgY1unRmVS1+Pbwp4IbV0GzcdECh8YfDPW9ShquCnLMuYjMkQH6TCvPmgNLmWxzxviLFNfggQmG9V444Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6737 Subject: Re: [dpdk-dev] [PATCH v3 6/7] net/mlx5: add eCPRI flex parser capacity check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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: Bing Zhao > Sent: Thursday, July 16, 2020 17:24 > To: Ori Kam ; Slava Ovsiienko > > Cc: Raslan Darawsheh ; Matan Azrad > ; dev@dpdk.org; Netanel Gonen > > Subject: [PATCH v3 6/7] net/mlx5: add eCPRI flex parser capacity check >=20 > If the NIC or the FW does not support the dynamic flex parser, it will re= turn > error when trying to create the parser for eCRPI. > Then it is hard to know the detail error reason of the failure. > Before creating the parser node and the following usage of the parser, th= e > capacity bit saved in the HCA_CAP could be used to confirm if the dynamic > flex parser is supported. > If no, an error will be returned directly with ENOTSUP to prevent the > following steps to be executed. >=20 > Signed-off-by: Bing Zhao Acked-by: Viacheslav Ovsiienko