From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0067.outbound.protection.outlook.com [104.47.36.67]) by dpdk.org (Postfix) with ESMTP id 6625D10A7 for ; Thu, 15 Dec 2016 07:09:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+nKAde7mJ63Hb79nXuj+0z6/ZGMN3bY7XSjjuiHimTQ=; b=ZccSvYrhOHoagQzS3AtbC3rOhZUVyGeEYeYUdVe0WisQ9z5dHC8cnd25cOVYuKS1WMFngs7NaPGC9c12WXlb9cFKBcuwMznp7v0HwcneKsIt49tRfFFG4Wjs+y6pD2yePQHmxpTmHGNMNwAWV0OU1OqMtU5kxc+2t++Jmpf65ro= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (122.166.153.127) by BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Thu, 15 Dec 2016 06:09:47 +0000 Date: Thu, 15 Dec 2016 11:39:28 +0530 From: Jerin Jacob To: Hemant Agrawal CC: , , , Message-ID: <20161215060927.GB19354@localhost.localdomain> References: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> <1480875447-23680-18-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1480875447-23680-18-git-send-email-hemant.agrawal@nxp.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [122.166.153.127] X-ClientProxiedBy: PN1PR01CA0020.INDPRD01.PROD.OUTLOOK.COM (10.164.137.27) To BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) X-MS-Office365-Filtering-Correlation-Id: 5bd0505f-00ad-4b4d-3a54-08d424b0fa50 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:UuK6W5DjFMgPyycGzEO/EzKkFSofS8wz7dccDwagm1uv0z9TceHXpw2GJUtudA9EjrUOzUvVJ8UkwLd52P6k7zLNk6cSAEhGDiU/jdHA5J1FRKhNFYptkQKCV5g0l7FvcTYPhbvXilw5DiTTePZlfmYrFNuWotoeUqJxkBzgrvtCAGbGfEczetyjUwClFo1MyuCmy0XEaYpMBzuMOK8YWGEolX3CF0grabpuQ6gAlBW6bY0D4ziOOVKXBx26L5FkDPWnKCZtOV9Ydq41xd0KfA== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 25:BwdYRUQE8qPjBl10K9Tyosp4GVwrZsebat/Z7AvsBEgrnlqJwPZwp4v3cGd36j8OncyjxN54iRwDW5mYo6nq0qexwormdD8WfWO3Y1AntumPytwRfl3pPb11Pb8qMV0PAaaH9fSTabqlyefnF6+hienfh3lJ0tpysvsRDqnee+0EX71Ci2E+2ogb9mojMPa7PEIdKItNSBlcloJCzxEis9e8D+xpEqOpegKOXMFu6QHhGEkCSPwPWB6VqeN6208g5Y1PnBNSPfAWoclchy84Hau/U0xHAfRaDd/PJMv+W/Qv5yazzo6FxNJMRWSPWW7dykUx4pftXgd4iu+4vprwbQ0jeRJz5jxs7pJ6FLxICIbhWAkYGBg3lRDGQD1pxzElB9xrwvMRqXOctrjlZKmUwhDpBkEORYFMIynVbSu83q0n0T9CaxrnJUIU1muViDANOivleDmcHvQJzlkPcCwA2xMm3hj3o0qoFG6hoViDS1uOb7IzPJZWXA2ObjCS9xmHliAtIOsuK1SgFtttSXjn5xb/GT9r/5SNC16bjEqknnf4tpej0gPF5aXYuh+YnC1qDw4UPZzK9GvCIAzIvxlBGkSSupIYwQWp76MQNvJM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lgpE/25GWiQf0DtCpoGrBFbnbJZGn/uEOwtEMPZ9QH32y2HjvBGC0pllXise7ph/QZ9qYqM6PQU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:0UIZul6vHqxsAzx0NEpTBcyuvvsJbAyJvGZdVmdSyaFyS5kfUUEIv3ljyoq1xgSXwGE5VNgnnfKU0BW8PcjYEPhkQ4KeHivYhC/vHsc0ICpOQWu6dA6fRrUpKktfoxg2/azqPtlz8ZBKspz7AWaNK7ho9iJa45zr4rUEkOB2heF/cV4XXUWk6vgsUeg5SH090gkhEmETO8xY0hLRSLiXc8d+g81MN/U3RYQ3PVsUdJodBNiiGiEb/sBU/523kOYJZtlBzz55e7NZVkPTMAxAB90VAYOVk0B7zpj8irnJ51618RLlHj+q+W+tpD9X7EzbAMWBfJJxh/V5z7PzVU7l7+T0P5WpgimcSnebq+Pesa3cE53N1gevKUo+4GOwc2k7OKnn4dYhR6hg1yV6FbJxM+3CPc7bdunrrZ9iYQH3Eh74ys11kL+Nt3XYaeFK9UU7w4/BQ208rMXqtkZgziM6TYvnBPVqUquS+h+8m4OK5iA88QzrDndJFHoWcveH+Xr9TEZw9QshNLy0+9uryAA69yZsy+TvFUNQdIcwT5ikLcEZUQRlemsBuoBJxYg3VVDyFNS3U23/kCdALfYlMzaK03ZGw3Moi8Y6WkKaXQuUG4ihA3az8uIn0j3RyHNBkdXR X-Forefront-PRVS: 0157DEB61B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(39840400002)(39410400002)(189002)(24454002)(199003)(6506006)(8666005)(68736007)(6116002)(3846002)(76176999)(66066001)(92566002)(46406003)(54356999)(50986999)(47776003)(4326007)(81156014)(6666003)(110136003)(2906002)(2950100002)(101416001)(42882006)(61506002)(6916009)(23726003)(1076002)(38730400001)(81166006)(105586002)(106356001)(97756001)(5660300001)(229853002)(25786008)(305945005)(42186005)(9686002)(83506001)(4001350100001)(97736004)(50466002)(8676002)(7736002)(189998001)(33656002)(18370500001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1719; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1719; 23:la19OSYLp9vObl0uEm6RsHoR77edQ3z9S72cwHQ?= =?us-ascii?Q?iQkmhszkvI9XP8ySFZkdMBi7sqKejZK2kODSpLxxi0s9mEu6nfMNS4/r42Hl?= =?us-ascii?Q?dOnGWGmDJKNpzvfsWt1kfBAddbmH5WvY4E0Cv3etvsmoiCQvXkpekILjC5E6?= =?us-ascii?Q?St1vx0rCVbMuS9P0yAAso2hfGGb6kEk5jCoGBr+SGUd1884BXUS9OhpHhFxE?= =?us-ascii?Q?pfKE5MjQEsRcag+TJcEWquxztkem4GYO93QKg0L04206hn88JM05hNKtuWT+?= =?us-ascii?Q?wH/0k4ifBQxycWwMnpdw8vxsB1H/hgLxwsQO9zN2UR7ZHyVDFUqqABYTe7u7?= =?us-ascii?Q?qIwmVlqEBJZaYJYQVV8aDRyCjadIHV9vmrFHcHUBdUb+k2UdIOr3ewqlk4/E?= =?us-ascii?Q?ZRvfwFvTuRQKVcdt50mOh5KMLXPZjGHGKWcRH6qkYuruEZYw0KDMKLr93gMt?= =?us-ascii?Q?kXMwhBTR9NvcBcsMzX3/06/axWTaXSZJkUv1Eb/2mpFxWRxvxldUIVESJ7xN?= =?us-ascii?Q?L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Yw35nYsiWpM/4mE1qy9PI5/KNkf/WPzoH8vUFCFAuGlDtvcldKvyg8AotZG8VwhqDpNjaynv39A3MONq452Z8MJCUO8LMQ3pfnS0pzSkE3lSl1zGq1kbN07j9D6bQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2016 06:09:47.9502 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: Re: [dpdk-dev] [PATCH 17/32] net/dpaa2: dpbp based mempool hw offload driver 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, 15 Dec 2016 06:09:53 -0000 On Sun, Dec 04, 2016 at 11:47:12PM +0530, Hemant Agrawal wrote: > DPBP represent a buffer pool instance in DPAA2-QBMAN > HW accelerator. > > All buffers needs to be programmed in the HW accelerator. > > Signed-off-by: Hemant Agrawal > --- > config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 + > drivers/net/dpaa2/Makefile | 2 + > drivers/net/dpaa2/base/dpaa2_hw_dpbp.c | 366 ++++++++++++++++++++++++++++++ > drivers/net/dpaa2/base/dpaa2_hw_dpbp.h | 101 +++++++++ > drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 7 + How about moving the external mempool driver to RTE_SDK/driver/pool. We are planning to push our external mempool driver to driver/pool. > drivers/net/dpaa2/dpaa2_vfio.c | 13 +- > 6 files changed, 493 insertions(+), 1 deletion(-) > create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpbp.c > create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpbp.h >