From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40044.outbound.protection.outlook.com [40.107.4.44]) by dpdk.org (Postfix) with ESMTP id E2CF35B2A for ; Wed, 10 Apr 2019 08:58:56 +0200 (CEST) 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=/f2UaN43wmGMTQZBaeVoI3Xm+4G/kqR1D1nI5DVcL2w=; b=cNZpmV7NrLC8q74MUKGPp1XW3xiWX/Ppn/WpwtIrDv4xMZTlGx1dxEHH/TlQT8NTV1vgV/g7scweNkrOjbeziiPy2I7fYcMNTZ8og2IEuWKQ+TJeka1QC+uNcOF61eh7GqF3kg5+B+lRnKhw/gC1PrM2ajdruNdUAdjmZyj8xVA= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3778.eurprd05.prod.outlook.com (52.133.50.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Wed, 10 Apr 2019 06:58:55 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1771.011; Wed, 10 Apr 2019 06:58:55 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [PATCH v4 0/4] net/mlx: remove device register remap Thread-Index: AQHU7ynaneBHDCCLM0KeVmmH72+YXaY050mg Date: Wed, 10 Apr 2019 06:58:55 +0000 Message-ID: References: <20190325193627.19726-1-yskoh@mellanox.com> <20190409231324.35715-1-yskoh@mellanox.com> In-Reply-To: <20190409231324.35715-1-yskoh@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: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9b3a5294-8c02-468c-ad77-08d6bd81ffb9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3778; x-ms-traffictypediagnostic: AM0PR0502MB3778: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 00032065B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(39860400002)(136003)(346002)(199004)(189003)(33656002)(6636002)(6436002)(4326008)(2906002)(81156014)(8936002)(86362001)(81166006)(7736002)(8676002)(9686003)(71190400001)(71200400001)(6306002)(6116002)(52536014)(6246003)(53936002)(229853002)(99286004)(55016002)(3846002)(6862004)(14454004)(966005)(5660300002)(74316002)(186003)(316002)(478600001)(68736007)(7696005)(446003)(97736004)(11346002)(256004)(106356001)(14444005)(105586002)(486006)(476003)(66066001)(26005)(305945005)(102836004)(76176011)(6506007)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3778; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: DdhTab2rZ443q21urHsq0gKDSv8QumjSFnoHwNdH3gvMNG1onWZpQonAtNdsCRWXNtJVCsRsXGaOkf0T6qHqdw+W0lyvWC8uWdcoVjjoQwDdfbjmxg5MF7UYNqmFiuj/Q+fhrsg/KVNIYLx6ieiN59hKJlpYIa6qBwhwse16wQgi87q64/+XSCNhlGkf95oL1cJJYKOSKZrthUhqs5o5W4bif7MmlWMJpJ3/cwtxktJfk4wOjb7VVSnxE3VyJZ6MQy2bDQd/xFwbip1UGu+c2Q7GefYHKtKAB/ezmWAe3Zl4CTbPdKUzkR/oaNVKFQ3uBO5xHPyW4D1sKbXFQn9/ZS+ebwXbvOF9cZ8dXBNCfSIohwmLYKDdsUOIxPZzGhRCJxzSx4Sogd3zhwRHmMu9kITGt7/Tm9n/1kvzpWX6Q2E= 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: 9b3a5294-8c02-468c-ad77-08d6bd81ffb9 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2019 06:58:55.6762 (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: AM0PR0502MB3778 Subject: Re: [dpdk-dev] [PATCH v4 0/4] net/mlx: remove device register remap 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: Wed, 10 Apr 2019 06:58:57 -0000 Wednesday, April 10, 2019 2:13 AM, Yongseok Koh: > Subject: [PATCH v4 0/4] net/mlx: remove device register remap >=20 > This patchset lifts the requirement of reserving huge virtual address spa= ce > and remapping device UAR register on to it in order to use the same addre= ss > between primary and secondary process. >=20 Series applied to next-net-mlx, thanks.=20 > v4: > * add mlx4_proc_priv_[init|uninit]() to avoid duplicate code > * remove the number of Rx queues from the ppriv size calculation > * move freeing ppriv to mlx4_dev_close() from mlx4_dev_stop() > * rebase on top of "net/mlx4: fix Tx doorbell register unmap" [1] >=20 > v3: > * move UAR table to per-process storage >=20 > v2: > * rebase on the latest branch tip > * fix a bug >=20 > [1] http://patches.dpdk.org/patch/52435/ >=20 > Yongseok Koh (4): > net/mlx5: fix recursive inclusion of header file > net/mlx5: remove redundant queue index > net/mlx5: remove device register remap > net/mlx4: remove device register remap >=20 > drivers/net/mlx4/mlx4.c | 255 +++++++++----------------------= ------ > drivers/net/mlx4/mlx4.h | 15 ++- > drivers/net/mlx4/mlx4_prm.h | 3 +- > drivers/net/mlx4/mlx4_rxtx.c | 2 +- > drivers/net/mlx4/mlx4_rxtx.h | 6 +- > drivers/net/mlx4/mlx4_txq.c | 170 +++++++++++++++---------- > drivers/net/mlx5/mlx5.c | 228 ++++++++-----------------------= -- > drivers/net/mlx5/mlx5.h | 17 ++- > drivers/net/mlx5/mlx5_ethdev.c | 3 + > drivers/net/mlx5/mlx5_flow.c | 5 +- > drivers/net/mlx5/mlx5_flow_dv.c | 4 +- > drivers/net/mlx5/mlx5_flow_verbs.c | 5 +- > drivers/net/mlx5/mlx5_rxq.c | 29 ++--- > drivers/net/mlx5/mlx5_rxtx.h | 21 +-- > drivers/net/mlx5/mlx5_stats.c | 15 +-- > drivers/net/mlx5/mlx5_trigger.c | 8 +- > drivers/net/mlx5/mlx5_txq.c | 199 +++++++++++++++++------------ > drivers/net/mlx5/mlx5_vlan.c | 3 +- > 18 files changed, 413 insertions(+), 575 deletions(-) >=20 > -- > 2.11.0 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 0B97EA0096 for ; Wed, 10 Apr 2019 08:59:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 814EA5B2C; Wed, 10 Apr 2019 08:58:58 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40044.outbound.protection.outlook.com [40.107.4.44]) by dpdk.org (Postfix) with ESMTP id E2CF35B2A for ; Wed, 10 Apr 2019 08:58:56 +0200 (CEST) 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=/f2UaN43wmGMTQZBaeVoI3Xm+4G/kqR1D1nI5DVcL2w=; b=cNZpmV7NrLC8q74MUKGPp1XW3xiWX/Ppn/WpwtIrDv4xMZTlGx1dxEHH/TlQT8NTV1vgV/g7scweNkrOjbeziiPy2I7fYcMNTZ8og2IEuWKQ+TJeka1QC+uNcOF61eh7GqF3kg5+B+lRnKhw/gC1PrM2ajdruNdUAdjmZyj8xVA= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3778.eurprd05.prod.outlook.com (52.133.50.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Wed, 10 Apr 2019 06:58:55 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1771.011; Wed, 10 Apr 2019 06:58:55 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [PATCH v4 0/4] net/mlx: remove device register remap Thread-Index: AQHU7ynaneBHDCCLM0KeVmmH72+YXaY050mg Date: Wed, 10 Apr 2019 06:58:55 +0000 Message-ID: References: <20190325193627.19726-1-yskoh@mellanox.com> <20190409231324.35715-1-yskoh@mellanox.com> In-Reply-To: <20190409231324.35715-1-yskoh@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: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9b3a5294-8c02-468c-ad77-08d6bd81ffb9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3778; x-ms-traffictypediagnostic: AM0PR0502MB3778: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 00032065B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(39860400002)(136003)(346002)(199004)(189003)(33656002)(6636002)(6436002)(4326008)(2906002)(81156014)(8936002)(86362001)(81166006)(7736002)(8676002)(9686003)(71190400001)(71200400001)(6306002)(6116002)(52536014)(6246003)(53936002)(229853002)(99286004)(55016002)(3846002)(6862004)(14454004)(966005)(5660300002)(74316002)(186003)(316002)(478600001)(68736007)(7696005)(446003)(97736004)(11346002)(256004)(106356001)(14444005)(105586002)(486006)(476003)(66066001)(26005)(305945005)(102836004)(76176011)(6506007)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3778; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: DdhTab2rZ443q21urHsq0gKDSv8QumjSFnoHwNdH3gvMNG1onWZpQonAtNdsCRWXNtJVCsRsXGaOkf0T6qHqdw+W0lyvWC8uWdcoVjjoQwDdfbjmxg5MF7UYNqmFiuj/Q+fhrsg/KVNIYLx6ieiN59hKJlpYIa6qBwhwse16wQgi87q64/+XSCNhlGkf95oL1cJJYKOSKZrthUhqs5o5W4bif7MmlWMJpJ3/cwtxktJfk4wOjb7VVSnxE3VyJZ6MQy2bDQd/xFwbip1UGu+c2Q7GefYHKtKAB/ezmWAe3Zl4CTbPdKUzkR/oaNVKFQ3uBO5xHPyW4D1sKbXFQn9/ZS+ebwXbvOF9cZ8dXBNCfSIohwmLYKDdsUOIxPZzGhRCJxzSx4Sogd3zhwRHmMu9kITGt7/Tm9n/1kvzpWX6Q2E= 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: 9b3a5294-8c02-468c-ad77-08d6bd81ffb9 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2019 06:58:55.6762 (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: AM0PR0502MB3778 Subject: Re: [dpdk-dev] [PATCH v4 0/4] net/mlx: remove device register remap 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: <20190410065855.dkYj7HE4cfytJU-jogczFrxEVJbr5u6Y14hGVx7PNIs@z> Wednesday, April 10, 2019 2:13 AM, Yongseok Koh: > Subject: [PATCH v4 0/4] net/mlx: remove device register remap >=20 > This patchset lifts the requirement of reserving huge virtual address spa= ce > and remapping device UAR register on to it in order to use the same addre= ss > between primary and secondary process. >=20 Series applied to next-net-mlx, thanks.=20 > v4: > * add mlx4_proc_priv_[init|uninit]() to avoid duplicate code > * remove the number of Rx queues from the ppriv size calculation > * move freeing ppriv to mlx4_dev_close() from mlx4_dev_stop() > * rebase on top of "net/mlx4: fix Tx doorbell register unmap" [1] >=20 > v3: > * move UAR table to per-process storage >=20 > v2: > * rebase on the latest branch tip > * fix a bug >=20 > [1] http://patches.dpdk.org/patch/52435/ >=20 > Yongseok Koh (4): > net/mlx5: fix recursive inclusion of header file > net/mlx5: remove redundant queue index > net/mlx5: remove device register remap > net/mlx4: remove device register remap >=20 > drivers/net/mlx4/mlx4.c | 255 +++++++++----------------------= ------ > drivers/net/mlx4/mlx4.h | 15 ++- > drivers/net/mlx4/mlx4_prm.h | 3 +- > drivers/net/mlx4/mlx4_rxtx.c | 2 +- > drivers/net/mlx4/mlx4_rxtx.h | 6 +- > drivers/net/mlx4/mlx4_txq.c | 170 +++++++++++++++---------- > drivers/net/mlx5/mlx5.c | 228 ++++++++-----------------------= -- > drivers/net/mlx5/mlx5.h | 17 ++- > drivers/net/mlx5/mlx5_ethdev.c | 3 + > drivers/net/mlx5/mlx5_flow.c | 5 +- > drivers/net/mlx5/mlx5_flow_dv.c | 4 +- > drivers/net/mlx5/mlx5_flow_verbs.c | 5 +- > drivers/net/mlx5/mlx5_rxq.c | 29 ++--- > drivers/net/mlx5/mlx5_rxtx.h | 21 +-- > drivers/net/mlx5/mlx5_stats.c | 15 +-- > drivers/net/mlx5/mlx5_trigger.c | 8 +- > drivers/net/mlx5/mlx5_txq.c | 199 +++++++++++++++++------------ > drivers/net/mlx5/mlx5_vlan.c | 3 +- > 18 files changed, 413 insertions(+), 575 deletions(-) >=20 > -- > 2.11.0