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 5775CA0C49; Wed, 14 Jul 2021 08:00:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 40ADA4129D; Wed, 14 Jul 2021 08:00:02 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2076.outbound.protection.outlook.com [40.107.236.76]) by mails.dpdk.org (Postfix) with ESMTP id 80CD041274 for ; Wed, 14 Jul 2021 08:00:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eK1HnlWjjROFLiQS0XlLX+N8aqAnxpprj7jFD0IoGbNdgqoPGutRZDDt8eiNmsQ6RvYq06o4IdZ8QfyXOWn/I5IRkO4d5KMICfUNFeD5UCMYDPf4GMYiJG7kn+Ah1UeF6u+Lu+c+nKfCrZwJxvX9FCYdiagtYVpwnPyQnDaqPG+W1fux7k3F4rxrZUmTtl59CXQdbV9JtYg6uyKir0DCCUXrw3oUZQ+8D2ZvLGm0b2vODm04ggPWlaYhrDLPLP9mh0dEd31qvXiUZPJRFOJp5ZPwvVIC991BhrR3kaDUC1HHyI6WhLtIg707Xj5YFaxx4nKadSHexCSG0Vb0jtguNA== 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=n9BAd3GzKkjvoQ5UUb6xiDRTsuggjLyZ7VwriIuxn2A=; b=dodDhf4YvgI490P7R2MfC2JGz6Uzp7WIZ6JYi29D/V8miergwB3HCROZXJlE+KH7E6jxWNTpmuOTcTS6ZKrbVnDWV5olgI00WjxrFDJpNZXY/odVeFYvWOMudnmgZzjVN65KnbteMhOjgNO66icPkbTaIBnr/ckUyJqlMBpMokpyni05uiB2mf8EgI3qsgePZ07CVaxVxvbapO/upeoLyd3dEGZjS7+AC/TaBFJFJRplbKTU1vsFbDkCOpNOWVQDGmdBoBscpf4rNEA90xZwQNnp+RCdgzl4eIRxco1MoVRHWRlN6xNWH6u7cm8kd7XYQ2VbhZsAazKd5nYEzl4yow== 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=n9BAd3GzKkjvoQ5UUb6xiDRTsuggjLyZ7VwriIuxn2A=; b=loN4gpDndY/DdZRi37YbaDbzoKoW3vX9L2eaiOICdXGlPImyO7udp0iSgg+3ptj4VBPa9G0IR8kfwC+ZQRK2+7FfYyo0dJL93TBcZp4HwpP6o5+4f0QxE7RHZrUw955PX2bA021KGTyWhY8XCZhunOkPz7ROMcO64xrG4u8fAKfURNZVhQtZVJvu7g8l+H5F16gNKu7WdH0x4wCalCUL0NTpqXqK0VepwRmJr1fYkBgI7anIHs4cUECZzfuLTL94x7csUk9G7CbS5dsf4Jgy2YDSbORQ2oBbA1LPikBP6j5WXsXsJWQiw2fCLstf79MJrwwYY9EuVI75WS7KO7XXOQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB2650.namprd12.prod.outlook.com (2603:10b6:5:4a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Wed, 14 Jul 2021 06:00:00 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35%6]) with mapi id 15.20.4331.022; Wed, 14 Jul 2021 06:00:00 +0000 From: Slava Ovsiienko To: "Xueming(Steven) Li" CC: "dev@dpdk.org" , Matan Azrad , Shahaf Shuler Thread-Topic: [PATCH v2 08/14] net/mlx5: check max Verbs port number Thread-Index: AQHXd+laN+HpmGI3rEmSs+LZUWpgvqtB+xmQ Date: Wed, 14 Jul 2021 06:00:00 +0000 Message-ID: References: <20210616040935.311733-2-xuemingl@nvidia.com> <20210713131437.30170-9-xuemingl@nvidia.com> In-Reply-To: <20210713131437.30170-9-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: 59afdf55-4808-4b3d-a8a5-08d9468c9dc1 x-ms-traffictypediagnostic: DM6PR12MB2650: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:400; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VncJVKHWIn45uFk/BOLNKpQIHqNRTe7nJHBZRJL2ZF8Uc7+lT210aNOB/V/FFpHw+YfoWQvuRNjHstpnrwfaxDhUzeGLmQaiev7JO9DjDtCS6Ozor7m9PecNY7N0vZksElx8aE/Lbcg9HuHorGKSgXR8JHnQYnLW1INdAWr7Fw2Q4eqOCYpLDekCfvH/t3Y+Bp7FgsY0Zi80NFdHFF5QrBqsaw50yqk17BZSFdssefZckncCfrzXz70JkCaVK5btP/3b6yY8kYtZKHgXus5lbAeor+Vw34OlBtJyHiWfUGcO9v5LWu5EiiPBHHVNbvIp+DSdA8pDYccGF5IQAnFzQYfd2IIDDM84oAGnXFXI8b27o8hJtFnItF0Z3C9PFc7v0k1lYzRuA5Jtdp/e/ZCM5HnxW3uIwZ8GcaA5RtINz5C++/HkwGu0CQla0czkpu/Pe6TNWkYkpKqPnkTDK0VKTaFV9V90LIi8AW10G/62VhHfXxODKZt6TVPGBp2DjHWTu89zfxfkKiPniGWRnRHBlZBijSXfKHM97Ai7eF2AUYORxzXhtmQeULdmLKnp6pjhNtlcUKlq1wpW7hBesOG8c8U5U2yx/eau4HIeDJa/T4ldjxxinj0er6YGQu4otqVgFNDGzj8cPgp2G+j12NsPgPF3hwpWlNXlfJtHKp9b4PG5UB+m7zsr/Lcesm8XpgKLTHwP+mpfvz9lUJaEDpSnVw== 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)(396003)(39860400002)(376002)(346002)(136003)(366004)(6862004)(64756008)(7696005)(6506007)(53546011)(83380400001)(316002)(71200400001)(2906002)(66556008)(107886003)(55016002)(66476007)(55236004)(9686003)(122000001)(66946007)(5660300002)(8936002)(186003)(33656002)(76116006)(4744005)(66446008)(38100700002)(4326008)(8676002)(26005)(6636002)(52536014)(478600001)(54906003)(86362001)(38070700004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?bimY2ARKQpmD0uyQqjSqQJ3ka2rZCyHfaEPXz2ZgY3bZEXIfclozXILTZOP3?= =?us-ascii?Q?I1Kpv/3hdxw50g3ubR2uUh3RaD/sVu/CUD5k2FhwTdOoRDFbWtO8HOy3g0dS?= =?us-ascii?Q?CQ22TEV1H1OpaCqj1eafdA9WO6rQ/Uapw54PkHhJgV8WrSwYwRomt5w8p5LO?= =?us-ascii?Q?Hhtjns30yiIZCSNzDCBa0jR6h+UinEiI4b8Xsqku2imA/AGCLUMYGTEvI3VB?= =?us-ascii?Q?KDSH6huzTlbxQG3vMHzu8edysAd8ElSwanXxnnrzQUMdPiyDYq2VNlanxNP+?= =?us-ascii?Q?9pii+2sGnwKc+mrFqwlgOVEn80RH80XdcEUovcTtg+HK1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RpjbZXTlLKZdHUaMZnbiKRd95d6xF+cXz4b0?= =?us-ascii?Q?gEVRgZmlvsSPY3fiAUEkv62fRjvXl0LJhAZsbJGGltHy1NV6t+savsjdfkui?= =?us-ascii?Q?LRiAs1YNhWx1wnB1VwghQR4p?= 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: 59afdf55-4808-4b3d-a8a5-08d9468c9dc1 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2021 06:00:00.4536 (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: 6Dh5Expd68hzuiQwb6brTWP+jILE2VLeUYES5rFx9T7Qt1JttnkdvBaDTQeW6R4GXlkueNutOEv1dOWhRPml9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2650 Subject: Re: [dpdk-dev] [PATCH v2 08/14] net/mlx5: check max Verbs port number 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: Tuesday, July 13, 2021 16:15 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Xueming(Steven) Li ; Matan > Azrad ; Shahaf Shuler > Subject: [PATCH v2 08/14] net/mlx5: check max Verbs port number >=20 > Verbs API doesn't support Device port number larger than 255 by design. > Adds check and fails probing with proper error log. >=20 > Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko