From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10085.outbound.protection.outlook.com [40.107.1.85]) by dpdk.org (Postfix) with ESMTP id 1C6FAA3 for ; Tue, 26 Mar 2019 12:47:37 +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=+Siu5Qq+7p0yIkfBWnOVWHeO9xc/IOVVEsooJpBuhGE=; b=Ol7xWaeNsLJSqU+kqz1q2Er1T+E8Sn+3hP4axev0959cVi2SiEwoh/YvFthITPsmly/vdZNVSY8D1sbV6HvsFlA3+kuPOrxiNEdxVKLXw1ElNRD3GbEZviUsojzaa7dGEWZUHLeB4nlCBIuu6um+NxcYoyb8eBIOYp+oOHfM4FA= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3667.eurprd05.prod.outlook.com (52.133.44.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.17; Tue, 26 Mar 2019 11:47: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.1750.014; Tue, 26 Mar 2019 11:47:35 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 02/13] net/mlx5: modify get ifindex routine for multiport IB Thread-Index: AQHU4yy+tuuPC13y3kynifulyscixaYdzO7w Date: Tue, 26 Mar 2019 11:47:35 +0000 Message-ID: References: <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-3-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1553533414-9911-3-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: ee77a112-3ef0-4e0b-befb-08d6b1e0d6ca 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:AM0PR0502MB3667; x-ms-traffictypediagnostic: AM0PR0502MB3667: x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(39860400002)(366004)(346002)(396003)(189003)(199004)(26005)(2906002)(3846002)(52536014)(5660300002)(486006)(71200400001)(99286004)(71190400001)(476003)(11346002)(446003)(6116002)(316002)(14454004)(102836004)(81156014)(81166006)(110136005)(7696005)(6506007)(33656002)(76176011)(478600001)(305945005)(7736002)(2501003)(55016002)(186003)(97736004)(25786009)(6246003)(9686003)(229853002)(6436002)(74316002)(256004)(106356001)(66066001)(4744005)(105586002)(86362001)(68736007)(53936002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3667; 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: ZB8DbiHDf2V0lr7wNL3JKSjxsF+jLsULPf0U3urnTAwaz0OJLk53fJidZxmyLTDEwoYjveYbfhzM04M/n8tTY5JUoLqrxfMc2Ct96qWCnXEVBCl41kAp8OXND7mCBhTrQBLjrEQPwT8lOwCFTaBL3nlVGSjps8xbGnU8APc47D4jZqF5A1PeZBAkkEmtREfwdvzndlg8TtqktEllj0YOA5in5IH5eD3E7G+MEG+YiOwVaEZB1fTU29hP1tB8JiYkEznkcDS3Xz+2TN04V4neCCTPjrVz8uMSpSZY2DpDvnzXuvRcwSgFgETr3X+gxYHEFeM1zNSIdtJ5E9V4nbzv18Ph8OrXG/e64TPTLNu9LxBTwfOfwofyqFSXc4Tm4mb38goK6pAzDPR582jWvkecR6FFoJ23Qn4lssGPCADuQLc= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee77a112-3ef0-4e0b-befb-08d6b1e0d6ca X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 11:47:35.2284 (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: AM0PR0502MB3667 Subject: Re: [dpdk-dev] [PATCH v2 02/13] net/mlx5: modify get ifindex routine 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: , X-List-Received-Date: Tue, 26 Mar 2019 11:47:37 -0000 Monday, March 25, 2019 7:03 PM, Viacheslav Ovsiienko: > Subject: [dpdk-dev] [PATCH v2 02/13] net/mlx5: modify get ifindex routine > for multiport IB >=20 > There is the routine mlx5_nl_ifindex() returning the network interface in= dex > associated with Infiniband device. > We are going to support multiport IB devices, now function takes the IB p= ort > as argument and returns ifindex associated with tuple >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Shahaf Shuler 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 C16DAA05D3 for ; Tue, 26 Mar 2019 12:47:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 078D32BF4; Tue, 26 Mar 2019 12:47:38 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10085.outbound.protection.outlook.com [40.107.1.85]) by dpdk.org (Postfix) with ESMTP id 1C6FAA3 for ; Tue, 26 Mar 2019 12:47:37 +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=+Siu5Qq+7p0yIkfBWnOVWHeO9xc/IOVVEsooJpBuhGE=; b=Ol7xWaeNsLJSqU+kqz1q2Er1T+E8Sn+3hP4axev0959cVi2SiEwoh/YvFthITPsmly/vdZNVSY8D1sbV6HvsFlA3+kuPOrxiNEdxVKLXw1ElNRD3GbEZviUsojzaa7dGEWZUHLeB4nlCBIuu6um+NxcYoyb8eBIOYp+oOHfM4FA= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3667.eurprd05.prod.outlook.com (52.133.44.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.17; Tue, 26 Mar 2019 11:47: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.1750.014; Tue, 26 Mar 2019 11:47:35 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 02/13] net/mlx5: modify get ifindex routine for multiport IB Thread-Index: AQHU4yy+tuuPC13y3kynifulyscixaYdzO7w Date: Tue, 26 Mar 2019 11:47:35 +0000 Message-ID: References: <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-3-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1553533414-9911-3-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: ee77a112-3ef0-4e0b-befb-08d6b1e0d6ca 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:AM0PR0502MB3667; x-ms-traffictypediagnostic: AM0PR0502MB3667: x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(39860400002)(366004)(346002)(396003)(189003)(199004)(26005)(2906002)(3846002)(52536014)(5660300002)(486006)(71200400001)(99286004)(71190400001)(476003)(11346002)(446003)(6116002)(316002)(14454004)(102836004)(81156014)(81166006)(110136005)(7696005)(6506007)(33656002)(76176011)(478600001)(305945005)(7736002)(2501003)(55016002)(186003)(97736004)(25786009)(6246003)(9686003)(229853002)(6436002)(74316002)(256004)(106356001)(66066001)(4744005)(105586002)(86362001)(68736007)(53936002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3667; 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: ZB8DbiHDf2V0lr7wNL3JKSjxsF+jLsULPf0U3urnTAwaz0OJLk53fJidZxmyLTDEwoYjveYbfhzM04M/n8tTY5JUoLqrxfMc2Ct96qWCnXEVBCl41kAp8OXND7mCBhTrQBLjrEQPwT8lOwCFTaBL3nlVGSjps8xbGnU8APc47D4jZqF5A1PeZBAkkEmtREfwdvzndlg8TtqktEllj0YOA5in5IH5eD3E7G+MEG+YiOwVaEZB1fTU29hP1tB8JiYkEznkcDS3Xz+2TN04V4neCCTPjrVz8uMSpSZY2DpDvnzXuvRcwSgFgETr3X+gxYHEFeM1zNSIdtJ5E9V4nbzv18Ph8OrXG/e64TPTLNu9LxBTwfOfwofyqFSXc4Tm4mb38goK6pAzDPR582jWvkecR6FFoJ23Qn4lssGPCADuQLc= 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: ee77a112-3ef0-4e0b-befb-08d6b1e0d6ca X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 11:47:35.2284 (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: AM0PR0502MB3667 Subject: Re: [dpdk-dev] [PATCH v2 02/13] net/mlx5: modify get ifindex routine 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: <20190326114735.w2E-i-QyV4Gi0FO7ieXALm_tT3JqlJah-0CozBD_Ia0@z> Monday, March 25, 2019 7:03 PM, Viacheslav Ovsiienko: > Subject: [dpdk-dev] [PATCH v2 02/13] net/mlx5: modify get ifindex routine > for multiport IB >=20 > There is the routine mlx5_nl_ifindex() returning the network interface in= dex > associated with Infiniband device. > We are going to support multiport IB devices, now function takes the IB p= ort > as argument and returns ifindex associated with tuple >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Shahaf Shuler