From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 1CD9D1B4E9 for ; Thu, 21 Mar 2019 13:14:59 +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=gO34+o9lyiyGBK3GFE+ZwjVI8scKtgDlxPi+YabAeAE=; b=mXqfMeNe3G8m6uSHHojOURH823AZAOwRbQvf4c3DgwxcYMQopTroATIAnKYpKq8bufkrvU601FnnAnCT9gePB4eFR0oCo6i1BIRRAqSILf9OFvJqy7F2XqGbVQV5JaN3AcGK6pKPAYcQQLPRsHI+jQM0W7oaYeYfuh/hXPzs+E0= 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:58 +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:58 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [PATCH 09/14] net/mlx5: switch to the shared context IB attributes Thread-Index: AQHU373bxaHM51wpQESHLnPizlX7FKYV90Qg Date: Thu, 21 Mar 2019 12:14:58 +0000 Message-ID: References: <1551376985-11096-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-10-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1553155888-27498-10-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: 3ba7935d-40ad-4644-e16a-08d6adf6d5f5 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)(86362001)(486006)(99286004)(186003)(5660300002)(66066001)(26005)(7696005)(53936002)(76176011)(102836004)(55016002)(9686003)(6436002)(71200400001)(4744005)(229853002)(3846002)(8676002)(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: IfnHEBOgrKKJabqQ0AZmIfnoeeGd9uxeTmCrNV/zSyf5QVAB1X7ebPEnEB458tLfZVrfLTiEY4wvg9tE2m+vXFVI/6XhC/C82WQXQbke4rOp+3QpTV5vLV+DfoXKoc8V5Qb0rLHlEUEP7LYP/PnbyAPbKVPvg+K+6L0dVJnmDe5jB0Wvp9h1s5a7qHfySBOx3tLKbeKzNnP92wrx+E2YAr9y4tUfAQoXHX+k9DZoC0FQZeQkTzpdcBBhvT2/Cp3DFUNn1vi3NNIQvwjSvr6YFOpbfa9WUrw19Fph5K89b1AxvPYwRUn5zQe6Ww68djwRjqL94ogrh/5CBqpbg2+C2D3EQXuO9BwwgveIFWY88pkGGeZDNkXicL+2UzUOmTWaoxo6l+N9uL30CxnFsoTAsxEyDMGUn1c2HIwywILnsfM= 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: 3ba7935d-40ad-4644-e16a-08d6adf6d5f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 12:14:58.2014 (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 09/14] net/mlx5: switch to the shared context IB attributes 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: Thu, 21 Mar 2019 12:14:59 -0000 Thursday, March 21, 2019 10:11 AM, Viacheslav Ovsiienko: > Subject: [PATCH 09/14] net/mlx5: switch to the shared context IB attribut= es >=20 > The code is updated to use the shared IB device attributes, located in th= e > shared IB context. It saves some memory if there are representors created > over the single Infiniband device with multuple ports. >=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 29716A00E6 for ; Thu, 21 Mar 2019 13:15:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E46271B4E9; Thu, 21 Mar 2019 13:15:00 +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 1CD9D1B4E9 for ; Thu, 21 Mar 2019 13:14:59 +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=gO34+o9lyiyGBK3GFE+ZwjVI8scKtgDlxPi+YabAeAE=; b=mXqfMeNe3G8m6uSHHojOURH823AZAOwRbQvf4c3DgwxcYMQopTroATIAnKYpKq8bufkrvU601FnnAnCT9gePB4eFR0oCo6i1BIRRAqSILf9OFvJqy7F2XqGbVQV5JaN3AcGK6pKPAYcQQLPRsHI+jQM0W7oaYeYfuh/hXPzs+E0= 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:58 +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:58 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [PATCH 09/14] net/mlx5: switch to the shared context IB attributes Thread-Index: AQHU373bxaHM51wpQESHLnPizlX7FKYV90Qg Date: Thu, 21 Mar 2019 12:14:58 +0000 Message-ID: References: <1551376985-11096-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-10-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1553155888-27498-10-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: 3ba7935d-40ad-4644-e16a-08d6adf6d5f5 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)(86362001)(486006)(99286004)(186003)(5660300002)(66066001)(26005)(7696005)(53936002)(76176011)(102836004)(55016002)(9686003)(6436002)(71200400001)(4744005)(229853002)(3846002)(8676002)(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: IfnHEBOgrKKJabqQ0AZmIfnoeeGd9uxeTmCrNV/zSyf5QVAB1X7ebPEnEB458tLfZVrfLTiEY4wvg9tE2m+vXFVI/6XhC/C82WQXQbke4rOp+3QpTV5vLV+DfoXKoc8V5Qb0rLHlEUEP7LYP/PnbyAPbKVPvg+K+6L0dVJnmDe5jB0Wvp9h1s5a7qHfySBOx3tLKbeKzNnP92wrx+E2YAr9y4tUfAQoXHX+k9DZoC0FQZeQkTzpdcBBhvT2/Cp3DFUNn1vi3NNIQvwjSvr6YFOpbfa9WUrw19Fph5K89b1AxvPYwRUn5zQe6Ww68djwRjqL94ogrh/5CBqpbg2+C2D3EQXuO9BwwgveIFWY88pkGGeZDNkXicL+2UzUOmTWaoxo6l+N9uL30CxnFsoTAsxEyDMGUn1c2HIwywILnsfM= 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: 3ba7935d-40ad-4644-e16a-08d6adf6d5f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 12:14:58.2014 (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 09/14] net/mlx5: switch to the shared context IB attributes 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: <20190321121458.B9x7fXSb0cDjmaJH5jkw4prKxzWVmh94YOzMLSE16qA@z> Thursday, March 21, 2019 10:11 AM, Viacheslav Ovsiienko: > Subject: [PATCH 09/14] net/mlx5: switch to the shared context IB attribut= es >=20 > The code is updated to use the shared IB device attributes, located in th= e > shared IB context. It saves some memory if there are representors created > over the single Infiniband device with multuple ports. >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Shahaf Shuler