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 22723A0096 for ; Thu, 11 Apr 2019 10:41:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E50F5B26; Thu, 11 Apr 2019 10:40:58 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130079.outbound.protection.outlook.com [40.107.13.79]) by dpdk.org (Postfix) with ESMTP id 1C40C5B20 for ; Thu, 11 Apr 2019 10:40:57 +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=AXjZ9XeKeJ0XGcinREaNFGMpW7L/Rogezj8/mc9ACjg=; b=yM3hRR7xiUSXt2mG0Ox0AgBX48yqpDfKSIb0PNIl4VBoXV2KoCALdLEjVZ6faJoLAh9WXfPkmNpgnkMoLfxNfuSKDdugLpsEuEP/paQXovNh3hN2qd44RiHzmNGMx6JUvXrpMP9lnXgUUkL6eprRRzSrKZawOyxIbu+iam+HMIs= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB4017.eurprd05.prod.outlook.com (52.133.40.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.19; Thu, 11 Apr 2019 08:40: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; Thu, 11 Apr 2019 08:40:55 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 0/4] net/mlx: remove device register remap Thread-Index: AQHU780Dc4KIi7M5UEebtM6Wf2W+46Y2pMyg Date: Thu, 11 Apr 2019 08:40:55 +0000 Message-ID: References: <20190325193627.19726-1-yskoh@mellanox.com> <20190410184118.39727-1-yskoh@mellanox.com> In-Reply-To: <20190410184118.39727-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: e0f2e556-cefd-4cba-5974-08d6be59699e 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:AM0PR0502MB4017; x-ms-traffictypediagnostic: AM0PR0502MB4017: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 00046D390F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(136003)(39860400002)(366004)(189003)(199004)(71200400001)(11346002)(446003)(6862004)(966005)(476003)(305945005)(6246003)(6306002)(486006)(14444005)(106356001)(76176011)(7736002)(33656002)(9686003)(256004)(74316002)(99286004)(105586002)(66066001)(6116002)(6636002)(55016002)(3846002)(2906002)(68736007)(7696005)(86362001)(6436002)(478600001)(26005)(8676002)(81166006)(81156014)(102836004)(53936002)(4326008)(229853002)(5660300002)(52536014)(14454004)(71190400001)(6506007)(186003)(45080400002)(316002)(25786009)(8936002)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4017; 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: kBamvL/7ZbNT4NzpYYda6ripqBxpTHRmeSUT6KuJZPQ5iVj06dnKlHcLL2O0U6Arv4amYUIInT/HcZvwpuUQqrO8qXtbFhruQ5z8OCymKie8SMeNGCGu67xsd2U+wO1QCfeBAPzf9leCflzNRa66USZNW/7ux2SgtPLOvpE3Md4n2hIqG9XGK91tV6YkP8jUiZ4vNALu57L3MVTQ1mPwbh5jF9KZpRzP7SzAEpzG6+BZrwpRjfWrvZr+LJWZM6WR8HTzNcopyjrXo3HXcT6ldXKW+xCglwX84Th7xS5wGzr8Bkbpey2BvfJZV6yDfEXqaDGrD8qFOFtKcOtE5pWxJ08Vwc2dE/m3hXTOiPo7BshW8K4WW1hFjINU3/WkHa3ylHk21wIcnvB9Pf1G5Tl0IKO936LEKq7gePi47cTXOtI= 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: e0f2e556-cefd-4cba-5974-08d6be59699e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2019 08:40:55.1565 (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: AM0PR0502MB4017 Subject: Re: [dpdk-dev] [PATCH v5 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: <20190411084055.oSmK4jMPdpCsCeTbTfa_IoWvTHnfyU87_5odSVEiV60@z> Wednesday, April 10, 2019 9:41 PM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v5 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 Applied to next-net-mlx and replaced with the previos v4. Sorry for that. Thanks.=20 > v5: > * fix 32-bit build issue > * remove MLX[4|5]_UAR_SIZE and MLX[4|5]_UAR_OFFSET >=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] > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F52435%2F&data=3D02%7C01%7Cshahafs%40mel > lanox.com%7C8399415a5e5540a23b8608d6bde424e5%7Ca652971c7d2e4d9ba > 6a4d149256f461b%7C0%7C0%7C636905184909290125&sdata=3DtyL7dnToo > KnkgSQzoFIhpSsBVcVevMbBHcZ%2BeWlXLiA%3D&reserved=3D0 >=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 | 25 ++-- > 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_defs.h | 10 -- > 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 | 200 +++++++++++++++++------------ > drivers/net/mlx5/mlx5_vlan.c | 3 +- > 19 files changed, 414 insertions(+), 595 deletions(-) >=20 > -- > 2.11.0