From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E9B73A00E6 for ; Thu, 21 Mar 2019 13:14:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B35051B4AE; Thu, 21 Mar 2019 13:14:37 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140082.outbound.protection.outlook.com [40.107.14.82]) by dpdk.org (Postfix) with ESMTP id 5A3B21B4B7 for ; Thu, 21 Mar 2019 13:14:36 +0100 (CET) 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=46k28N54N2uQuZOLe1EQ7GlrZsyFcqvXepn3LZlRQmU=; b=iCigt+0EGk1tdGLog0aQEdNZ8hG+dz7o919It7TaLwtAQIjUpRokmO/c3dLOzNLEjWHo4rTDDGOBJmOeawQuaRxuY2yPJtt5m2qXc9g4u1iUR8almzWDB6cJbj2WRYnNqVOfwGd1gkTK40wQ4MFJtS7jeyKRksfkZ/H1MOdEaG8= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3827.eurprd05.prod.outlook.com (52.133.47.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.15; Thu, 21 Mar 2019 12:14:35 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::84f3:7e92:7a51:1003]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::84f3:7e92:7a51:1003%2]) with mapi id 15.20.1730.013; Thu, 21 Mar 2019 12:14:35 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 04/14] net/mlx5: add getting IB ports number for multiport IB Thread-Index: AQHU3728iNgHP+A/Uk+xa8PItFEKxaYVz6eg Date: Thu, 21 Mar 2019 12:14:35 +0000 Message-ID: References: <1551376985-11096-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-5-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1553155888-27498-5-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 55a7f1bc-8745-4d1b-8aa1-08d6adf6c838 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR0502MB3827; x-ms-traffictypediagnostic: AM0PR0502MB3827: x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(346002)(39860400002)(136003)(376002)(189003)(199004)(81166006)(97736004)(33656002)(68736007)(74316002)(25786009)(7736002)(305945005)(110136005)(316002)(14454004)(2906002)(446003)(2501003)(52536014)(11346002)(476003)(71190400001)(256004)(5024004)(86362001)(486006)(99286004)(186003)(5660300002)(66066001)(26005)(7696005)(53936002)(76176011)(102836004)(55016002)(9686003)(6436002)(71200400001)(4744005)(229853002)(3846002)(8936002)(81156014)(478600001)(6246003)(106356001)(6506007)(6116002)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3827; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 03guGRd9G8/KOJAD6Vy4Bzpc48356aybOar1DAFoYCOfDoDZR6wwgzlygS2nWy3bXKgQpNOpDdxwlRsOW1iiBsp0m+ANHcH2i8yvRMu2wdGEWmXi0f/2ItN7bDSdZNkrSUBDuLnFM3q1Z2yncs8nwVqQyg3i0S3vf2r2dak2FsrxTUsbiTfbcxiZWjQ/+JSnO6yeFx6ASdQMyyZp53ru2uvXs0EQ6zfs0zzD6gKyu9XJD+7CT/3n2QEA1kAJKxM6wiO90iCjhIQcY/i4Pb1wXFq+1icg8ucHky0jhWF6F1YoU2JU5jOru+hB1ZoH+73pirdvaiSgv8bckLQbp2E1nuYpLJsDvFQgsuWRE4xclMTBQl8QNC2YMrGn/24fXLIxorW1Kh++gRnKtrPLIq6q4xUVFGX/SKNSGnpd05dJ1Js= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55a7f1bc-8745-4d1b-8aa1-08d6adf6c838 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 12:14:35.0321 (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-Transport-CrossTenantHeadersStamped: AM0PR0502MB3827 Subject: Re: [dpdk-dev] [PATCH 04/14] net/mlx5: add getting IB ports number for multiport IB 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" Message-ID: <20190321121435.HzjGVSkYuhPmb5MNJrA9Q2Lu3dknpGNY_Z5TYAS0t_I@z> Thursday, March 21, 2019 10:11 AM, Viacheslav Ovsiienko: > Subject: [dpdk-dev] [PATCH 04/14] net/mlx5: add getting IB ports number > for multiport IB >=20 > There is the routine mlx5_nl_portnum() added to get the number of ports o= f > multiport Infiniband device. > It is assumed the Uplink/VF representors are attached on this ports. >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Shahaf Shuler