From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140054.outbound.protection.outlook.com [40.107.14.54]) by dpdk.org (Postfix) with ESMTP id B82DC1B4E0 for ; Thu, 21 Mar 2019 13:14:54 +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=5yE606M7XtIav5jn7lQYA/byAFpVOc/c1Q2liAc2kM4=; b=jaj6H/HFhx9oOt/Y/8k9tXd0vipLFlxksIPD+mGzsyiM9z/bSA/iLb/+l8ieJQBArb+/XH4rQcv65xAdZepAxbtz90Kig9E/NEi/80LCXeKvtbv43yIdZ7PGIfRKysH+pazQd91Vfi7czmPPk8ZwdjcCzdCgvyowtp5q63MAL7c= 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:53 +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:53 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [PATCH 08/14] net/mlx5: switch to the shared Protection Domain Thread-Index: AQHU373J4LbOvPkp70+skAQ1meYhmKYV9rHg Date: Thu, 21 Mar 2019 12:14:53 +0000 Message-ID: References: <1551376985-11096-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-9-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1553155888-27498-9-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: 52094c75-9907-4930-e76c-08d6adf6d346 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: yHI/oQXZKcacxhZVjjCM2rGcHeAXsbQSlKgCLrFzmKOZkQPiqzBtYqOcsT0a0w2BYyqhnZfltdAm2Le0xoAwXURPLQUexiruH3C4Os62Y0BpcRUuVnAHb0oZQO1fvZJl2e3l5Bxp/JeleiLrNfZNS4+nV1NS1EEc2CaRRtVFFiCBG/53A+sPF1h3kuzFlwFCbl6kJvcgqNU2UhbF/qu8ziejn5kzib88h6niAQnAVsmH5O0gK5vKG8Qf7DUy3eID+Aiw/LiMQl/G9WvOytsqvgWHnw8XrQgf7x0jfs6egGwrYZlyvdR2Bsea1PhnADEsBXliRA66dsgqSGVbVzYBWDdLCYyDQdZ5IltcfnOlRbw1a0fvqnLieLCM5shsQfpz/c8X5/JA8ywNl6vRW0qQKO3+Qi8PnyGF+6n/2J0cL/M= 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: 52094c75-9907-4930-e76c-08d6adf6d346 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 12:14:53.6702 (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 08/14] net/mlx5: switch to the shared Protection Domain 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:55 -0000 Thursday, March 21, 2019 10:11 AM, Viacheslav Ovsiienko: > Subject: [PATCH 08/14] net/mlx5: switch to the shared Protection Domain >=20 > The PMD code is updated to use Protected Domain from the the shared IB > device context. The Domain is shared between all devices belonging to the > same multiport Infiniband device. > If IB device has only one port, the PD is not shared, because there is on= ly > ethernet device created over IB one. >=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 B696CA00E6 for ; Thu, 21 Mar 2019 13:15:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCD2E1B4E3; Thu, 21 Mar 2019 13:14:56 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140054.outbound.protection.outlook.com [40.107.14.54]) by dpdk.org (Postfix) with ESMTP id B82DC1B4E0 for ; Thu, 21 Mar 2019 13:14:54 +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=5yE606M7XtIav5jn7lQYA/byAFpVOc/c1Q2liAc2kM4=; b=jaj6H/HFhx9oOt/Y/8k9tXd0vipLFlxksIPD+mGzsyiM9z/bSA/iLb/+l8ieJQBArb+/XH4rQcv65xAdZepAxbtz90Kig9E/NEi/80LCXeKvtbv43yIdZ7PGIfRKysH+pazQd91Vfi7czmPPk8ZwdjcCzdCgvyowtp5q63MAL7c= 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:53 +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:53 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [PATCH 08/14] net/mlx5: switch to the shared Protection Domain Thread-Index: AQHU373J4LbOvPkp70+skAQ1meYhmKYV9rHg Date: Thu, 21 Mar 2019 12:14:53 +0000 Message-ID: References: <1551376985-11096-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553155888-27498-9-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1553155888-27498-9-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: 52094c75-9907-4930-e76c-08d6adf6d346 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: yHI/oQXZKcacxhZVjjCM2rGcHeAXsbQSlKgCLrFzmKOZkQPiqzBtYqOcsT0a0w2BYyqhnZfltdAm2Le0xoAwXURPLQUexiruH3C4Os62Y0BpcRUuVnAHb0oZQO1fvZJl2e3l5Bxp/JeleiLrNfZNS4+nV1NS1EEc2CaRRtVFFiCBG/53A+sPF1h3kuzFlwFCbl6kJvcgqNU2UhbF/qu8ziejn5kzib88h6niAQnAVsmH5O0gK5vKG8Qf7DUy3eID+Aiw/LiMQl/G9WvOytsqvgWHnw8XrQgf7x0jfs6egGwrYZlyvdR2Bsea1PhnADEsBXliRA66dsgqSGVbVzYBWDdLCYyDQdZ5IltcfnOlRbw1a0fvqnLieLCM5shsQfpz/c8X5/JA8ywNl6vRW0qQKO3+Qi8PnyGF+6n/2J0cL/M= 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: 52094c75-9907-4930-e76c-08d6adf6d346 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 12:14:53.6702 (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 08/14] net/mlx5: switch to the shared Protection Domain 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: <20190321121453.FVFM2tEW6q8ZO1QmhL-cG0GjEjKs2dD2GQJVyR12iTc@z> Thursday, March 21, 2019 10:11 AM, Viacheslav Ovsiienko: > Subject: [PATCH 08/14] net/mlx5: switch to the shared Protection Domain >=20 > The PMD code is updated to use Protected Domain from the the shared IB > device context. The Domain is shared between all devices belonging to the > same multiport Infiniband device. > If IB device has only one port, the PD is not shared, because there is on= ly > ethernet device created over IB one. >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Shahaf Shuler