From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0060.outbound.protection.outlook.com [104.47.33.60]) by dpdk.org (Postfix) with ESMTP id B2D68378E for ; Thu, 16 Feb 2017 06:53:12 +0100 (CET) Received: from BN6PR03CA0049.namprd03.prod.outlook.com (10.173.137.11) by DM2PR0301MB0735.namprd03.prod.outlook.com (10.160.97.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Thu, 16 Feb 2017 05:53:09 +0000 Received: from BY2FFO11OLC007.protection.gbl (2a01:111:f400:7c0c::103) by BN6PR03CA0049.outlook.office365.com (2603:10b6:404:4c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13 via Frontend Transport; Thu, 16 Feb 2017 05:53:08 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11OLC007.mail.protection.outlook.com (10.1.14.254) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.904.16 via Frontend Transport; Thu, 16 Feb 2017 05:53:07 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v1G5r3Y9012337; Wed, 15 Feb 2017 22:53:04 -0700 To: References: <1485172803-17288-1-git-send-email-hemant.agrawal@nxp.com> <1487205586-6785-1-git-send-email-hemant.agrawal@nxp.com> <1487205586-6785-4-git-send-email-hemant.agrawal@nxp.com> CC: Hemant Agrawal , , , , , From: Shreyansh Jain Message-ID: Date: Thu, 16 Feb 2017 11:27:55 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <1487205586-6785-4-git-send-email-hemant.agrawal@nxp.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131316979880568996; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(336005)(39850400002)(39410400002)(39840400002)(39400400002)(39450400003)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(3190300001)(339900001)(199003)(189002)(51694002)(377454003)(24454002)(2351001)(8936002)(189998001)(50986999)(106466001)(104016004)(76176999)(54356999)(6666003)(64126003)(50466002)(8676002)(105606002)(81156014)(81166006)(97736004)(6916009)(36756003)(229853002)(356003)(31686004)(68736007)(54906002)(53936002)(77096006)(8656002)(305945005)(2950100002)(4001350100001)(6246003)(47776003)(110136004)(33646002)(626004)(65806001)(23746002)(65956001)(83506001)(69596002)(38730400002)(85426001)(230700001)(389900002)(92566002)(86362001)(65826007)(31696002)(2906002)(4326007)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0735; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC007; 1:UTRMp0UWSF62T0RoURN0kf/SDigqYGFUYws7Ng4tq1B1I30FJZUjhfbjiYB+r4LO3eFMmNHG7npoO1RYOEPpvwUCR61Jhyys39vjhJbOJk5/DmvsHqtlkcQo/aqhu1wAVA2tGKRHUUKzH+OCO+efXHcv4nsArmfdNnwuI7G75J8KB4108Smy07t39O4C/tDr8Z48gxj7trmgh6wVsDtmqlAT830zj8YPvf1as6NPsQI9ftsKHvlyADQypaD/coUKHpDtVPoDmDv6GslTPyjgjva3lIVfjCG/37cWPXQ5MSamDbAwQRJqFXJpdnDyiMle+fgOC6LoYqiYXBTsI/xvEOm4yKNO2IeXCpgTNKaFKH1m3ggUpgqoGT5zupcie1qyqByWeqFA0IoMcGq/sXfHVD58HW1k+94NTh9BeCIkmUDqqyjQhT/i0FS2cnN+B45fSGVz6tN1x4dFQkQFF6QfGow0BeJZ1XB1qPh9fA1Iy+hB6pkyd+AIAh5x8jGG5dqNZ2cT9KYELnZQXYMiwcfJg+vjSTnxzS9zJTVTQHStvwmykGEfbogUggJkJsRURmUidrGubm0cTJKH3VMZxfT7vPJmKjDzF8b77zkFVDDTp/J7qN+mQiaPEQ1L8mvO7Lkb X-MS-Office365-Filtering-Correlation-Id: decb3b24-d58c-42ae-28a4-08d456301539 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0301MB0735; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 3:AYgT/8LbeyQ9QQQ+dRDtZhtEMpXPxUmNlffdGXt5GAjCxIGR7tnvuo/alYXXAPSaXc6Wyw8NB5QCNz2IVMkipyNrSvFXQxOAk85lXgCvtNNGvY0JaH1xKbFi9+ARa/tMqXQcPrvxQByflq+2ouP+47HLqV2DJABjGiTVV2kwcCXpEOlUseBMBIDnNfxcD4fPglmJG/okm6nv6C7F2SxZ79AAqNV7HgiZUrhNehtzITZfEUonuHaPwtOPHPxXk54L5gTMhV+Uf3OfZlH2KkeCbwm2vBThutFlxsGC66oL5baSqnepf9mNexceVjMzwEHEGR9O9w7VtrjFrdh5/OoIoKbhdYO75FUgjtGT+wunc9pb0AwRw9WZ+t2K7N9BAvpA; 25:kRMYegSQF5N7NUz4OLJq2+SO6DZ/Z231RymvaIBrXyMutd5sXEGWUlKMRTrkoFaWSKqLQzNV3Yv0F03J7TNx+/dtC9WrJn+T3ZBNCLVADN2EyjzxLAf/pbR561ekbSTZAAayuEStPsAE6wMVbkm7yjzkpBuEf55gW7FaAOWfR2N8l5PeZHJHlA5G3OAH6JKviuZui5rCo6MfuL5oqt8CU/Q4CZzuf830vbnHWkyuXEYuyOPvMlNAoQObkigpzYJ9L648DeX5q13VePWENRwf9UNAM6OAsYONsBYKJ3wuz2mUZOUeGa9KxENEqpldQbjYIwynWVz7YO0EGkzLc/8ROMQw+sBN2uVv3HFFORNKQ8hzLy5lLf/U2RnFCVYmmGh1upyYG9r5HPH/Cdgsd2j+YjO3oRPEVCp0DsZkBDgqRM7wh9TVW5VKr0znrlrO6CD3QwKOSOWMwVDRZNSu8eF0gg== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 31:IVIDLOO+OixbwXnW0HwNV1yFTuNJ3xQxbPEI9dmfMQu0M6usM+awtSQUj2Onkqx5yeCQ/lzTB0YNOmdTjHInR32RF9ztChiLzW2GxHT5ygM9oF7rtr5QuV/Bs/20MV/ispiixc/QdSEuoH/c+hW5hvYtBIwB+BfYVRUqcQR+iU8zytXuGQHTZBe1Yw/3ZnTqaHKVEC+4roBWdHKz/JESib8anD2jtaqIQDtnx7xfvLqt1bSP3PEa5fbFuhlWoO5SCyQznO5CjtUDcAVf+c6ubjVGfFeDjySlb9DwAtmTKTw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(227817650892897)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13015025)(13023025)(13017025)(5005006)(8121501046)(13024025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123563025)(20161123559025)(20161123565025)(20161123556025); SRVR:DM2PR0301MB0735; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0735; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 4:iA8T3iO6V9Hp2hWNErDMu/d3IlYKQBIysQRVV0+ernKD/BnqEUgTcW7/JMcl3GH9V9F1WcnKlw+R5a8Mp8sM4Cua90p9zLbJHeh01HSIebOt7JbfXU8ru1jWdQhRdT6MumkKZGbqJoqmBXj4U/zrtdksyRvYGYOrNYn/DNk5N+etyYLJtVJfu+8tU7Go4euiyo/RAOcUK5dxgS4R80XoQv0i2p9NbrUQRjuOnWX350pDIQuF+aGssckpq1ZyXjEvAhI0vjKkIQ9nCM8mqv6/IoFIw/lEc648LU2FAZFAui2trcSxOuEkT0u2NnA3OzZ3J8WCbh/fFc1T4y1+66ccuHC5kIvLa2dHp68DpUTrJjtDarAgAChQO73kpZe2uNfhkMCNw4JYBDw3wiWonWdVo8xhMnoO/Dbpo+P1585MxPLH5GdxLa/DX4xObB3ySNITgs8zIVrhe9EC1RPHldbatM1kuEyvTZBk3XoTs7DlebquPapz/woATp4C+f4KV0JOOEamhVk5wbOrvDkHlPG+NslVgC/peHhCnMeiPdj2dKZM8dNWNoHhvvCH9YIAdIQgruWSKGqX9jKh4TmlP1wqdmARbpD0chwCwrswzzO4kLLT1VxjkCwNNvWlW//Zzs/zHRMqLFcSNwl0Hsct+k0Z1T5s1x8kODEDsCcPdieELg3yVeI8RjvEzhbK3r/VHAXxj4Jr87VC8IaQUloIlpzQE5YzvUD2FTaKhUg4ryz6XrD9Qm9zq4u6dN9XlbiQxV7AveWho49w+p8azHuvt7DKEy2OGUm/1goWFBO4qHPOgKuioWP5P7nnsGYAacOszbDp X-Forefront-PRVS: 0220D4B98D X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM2PR0301MB0735; 23:WvbQ+6k6HM1Mt+oD/kT50khNz2bxbAM1127?= =?Windows-1252?Q?3efFJuiiNqUZJi3y3rUujmpaPr4RShjE3witjIl/LWohfzXrGmoks2wS?= =?Windows-1252?Q?nlZWG10qMULY79bZkK+cAvnqAfC75uEVv08DbziDnXwMyLPKUaDYHCXp?= =?Windows-1252?Q?K19vyLitA/VQNxzcFEWmsKDxw9VFLApIsl9G3pDQv6PCrRACq1CFpRSn?= =?Windows-1252?Q?wpkKNs4Z/g5sth1FsMaVgldwrM+k8Y6Lx4dHgN4Uo2iAXpibvKQxyuKb?= =?Windows-1252?Q?AZFyGsNczJGWwpX+eZcuTSh6Zdjer292gl/JFdiAFL/dM6z6mBEICmF5?= =?Windows-1252?Q?rEZPWGWZIYs4VeqUTiE8u2AwyihNj2egb6Hn0SksQmptAxJhuHVM0BsJ?= =?Windows-1252?Q?OOIYd4vltKiSf3ZWcwRI0R0TlSou0ippTk5kxBfYtEwMffReKTshoaIn?= =?Windows-1252?Q?yrVbHM4CssUngsS641w4CkOgCSV/0Dqcly6tI8IRohvKcTG6jNR57T+V?= =?Windows-1252?Q?Etdn68/qm9Ts208tCFixX5kQl1nb184iLBbh+9U0c+NqFNl/XmpYgO5O?= =?Windows-1252?Q?65eTL666P408+Php9euFZauo1Mcd549P18K90HadrLDFMVqN6jpQ/gmx?= =?Windows-1252?Q?EbV7PsZZlLKLYoYKL3iU48sXFY/SrbPUJgr5BymPZfFhADGwd+jtFiNz?= =?Windows-1252?Q?wheB2LxZwHzICYgT76tmAmTKicVqJa+5eVd2fJM011Gyg06I/LDvGRB8?= =?Windows-1252?Q?rvhcYH+fbrcY+OYUjuziY1VNO9A1y4hcf34218INxHNLKB+VFgGgMv26?= =?Windows-1252?Q?DSQ82VrODo9cI1dIzyir0HTylFyywqixK48iUYipXXgdXPIulxrATPsa?= =?Windows-1252?Q?TeTCbkS96PTiZ2BALd3PIx/lIrX2nDCg9chO77pGrWApiyO6D4Tgmonr?= =?Windows-1252?Q?/psu84NBvWHmEsu1boyWWio+bsUB915yxV9g5u5JsDli5IIZaIE/VNvw?= =?Windows-1252?Q?6Z4g6DOH/hgEITW6NYUwqGbqchDlEXxDzuNch16FbSECpyTBLUaPfem2?= =?Windows-1252?Q?tTHnBCvhLGgMR+gZU8+GRWH0ceYK0lxWkXvvrCf6entvc9Mk9qi0pNuu?= =?Windows-1252?Q?jsGS/u2QvbHiZe3d99ESvnZmb8rlj3IqaFAvxgOL//BYN0Kd7adMX52e?= =?Windows-1252?Q?oNSJIG2VLYFQ3/edEBl89y8dbKMN8S4DBXFT5f4pQejbbS7CSJTdsY8m?= =?Windows-1252?Q?1H7Iev+txPJT0inOfjWvvOJPaJ99U7hjCaF5bUQ469BnLvb981Q0f4BL?= =?Windows-1252?Q?xf9VjhLE0WvraApPQCib4f75tHzjnjz3HGTWYxerVRcwBS1CgxEthRbj?= =?Windows-1252?Q?BzFFl+F8jSLJ05L+yIhmrSwxvXBbC90yPdLM7V1p5yEx4WsVefBtTHaN?= =?Windows-1252?Q?tR5S5fgSEeAWRc9otDSIyqK4uZCjWUW+iwt7Bjo7AY1yTNKFX3K44GXh?= =?Windows-1252?Q?MNnd9/uRR/JgSmuLN35/+52MlIQqtz76T2ZC5mI6KzQbJE4nC4bA0LIT?= =?Windows-1252?Q?pMy5iASPZe/1kajud5gFyc25Fr8EV3/HlDy0pCxT8bYiR+TlHXXO4Dby?= =?Windows-1252?Q?IADrbiunARdo3bHzYmC7ZeRmaZdLGll33QYAZFAMnRnOVfWXXYuk13b5?= =?Windows-1252?Q?kN2qfS9lykZZib87GqRo3JeqQRd1jlvkX0gsnIJyD4bQ5cY4mVoBjQ/3?= =?Windows-1252?Q?Sh1S8YJ0LR4v4LOTEzWK3NmPzHtx3+N/NYkdjfhKFI5hrtVAPsIiP3Yg?= =?Windows-1252?Q?KKSKI?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 6:Mc6vtpOebdMk9d6a8LGfY10UvTtRp/0exCYYMk0XgYJ8Cp21Qa0kZI79hJb8fFUS7g6PNt0hL8j2JBGJrSR3/sxTGvaHQ9QFUXLmuOgrV9s+/IbfFhvFk0Vlm81TCRiUoa+Gsg5UdRP1fTcsezr/SX3K3YXFyR6r1qDarFEdleJsJwkMsJ3gl22VCN3XJNjPN088uJ/LxBdjXKP6o6x1CH2H7lr5yK5SrFwwWicqmYyIExe0bUgN45OvgHxu7iIujopiTTGl4qDdG7hx2ss000s7gQkeuRy3iDy75uRMFrGYTc8xPi+pdgeivENN77+YEqBjVD5zi7ESCkqXrVYKx/VJg2Ht4B9ZqDOGrxK2N+QWPX2ceK9pkjcW/4lw6RwC2d/WSpyke8xim834KHr2ghEuzWWtifTMOVZYfySq8d8=; 5:JANAplWPhe9Pal9e3/k6JtyYEOOmAGZw2dDDnSJxIWiaURxowtozj1SBHQ3Yb9TPNfPe/yC4dsuQofwybtssZ4A0cQH/DOVZmJT9GvK5hpS3pK/FYsOPraVr0C52V3NW3NkyDxRmcVJKBjcZ7HR7gAfeAfqkB5ofsUt+FyFWMko9UQTOPDgHt1v/Wklw2T7+; 24:FXeqomBvU1gltDzy4+J96yyGc7jjcBZflK8bSdViEIeOrNjR+dElqtBF+7cAmn9ex4b3xM8cz66PffXvRDA/3mQ98jfsQFx28P/hJJ+xHiU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0735; 7:dwDZBy9qWekUPsbSJfNH4nfplwqTzofRZ4tZgM3NoI/qhgQHJZ88vQgMIUqcjClndM3XosiV7vXhmu3FX8MxPdhlARHrEv1fFnX8ZKkZz0VF2doXiohzH4tvwjdtDvZqCZWi5AdOzDZsWjrVAMX31aZOo8tkMPuguR5hP1vOdM1mKo2DOs0x+TyBBalIkFiRn3zYs0Pwynj/7q8HPb9wSisT9xKbP2dgOJW/hL5WkMgQqtcXQ1pRDrBkU6BqSp0ABJSEKJzNOSQWLNnGcZhvcvjJBg452F4DZgdQdOraL2X8xTd19y4paJH9s6RK0QxeZS+QR2xWCzQzJc+fpEvfMw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2017 05:53:07.9165 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0735 Subject: Re: [dpdk-dev] [PATCHv7 03/47] common/dpaa2: adding qbman 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, 16 Feb 2017 05:53:13 -0000 Hello Ferruh, On Thursday 16 February 2017 06:09 AM, Hemant Agrawal wrote: > QBMAN, is a hardware block which interfaces with the other > accelerating hardware blocks (For e.g., WRIOP) on NXP's DPAA2 > SoC for queue, buffer and packet scheduling. > > This patch introduces a userspace driver for interfacing with > the QBMAN hw block. > > The qbman-portal component provides APIs to do the low level > hardware bit twiddling for operations such as: > -initializing Qman software portals > -building and sending portal commands > -portal interrupt configuration and processing > > This same/similar code is used in kernel and compat file is used > to make it working in user space. > > Signed-off-by: Geoff Thorpe > Signed-off-by: Roy Pledge > Signed-off-by: Hemant Agrawal > --- [snip] > diff --git a/drivers/common/dpaa2/qbman/rte_common_dpaa2_qbman_version.map b/drivers/common/dpaa2/qbman/rte_common_dpaa2_qbman_version.map > new file mode 100644 > index 0000000..f653421 > --- /dev/null > +++ b/drivers/common/dpaa2/qbman/rte_common_dpaa2_qbman_version.map > @@ -0,0 +1,27 @@ > +DPDK_17.02 { > + global: > + > + qbman_check_command_complete; > + qbman_eq_desc_clear; > + qbman_eq_desc_set_fq; > + qbman_eq_desc_set_no_orp; > + qbman_eq_desc_set_qd; > + qbman_eq_desc_set_response; > + qbman_get_version; > + qbman_pull_desc_clear; > + qbman_pull_desc_set_fq; > + qbman_pull_desc_set_numframes; > + qbman_pull_desc_set_storage; > + qbman_release_desc_clear; > + qbman_release_desc_set_bpid; > + qbman_result_DQ_fd; > + qbman_result_DQ_flags; > + qbman_result_has_new_result; > + qbman_swp_acquire; > + qbman_swp_init; > + qbman_swp_pull; > + qbman_swp_release; > + qbman_swp_send_multiple; > + > + local: *; > +}; > Just wanted to highlight that we have not yet changed the exported variable in the v7 post. I have a draft patch (based on yours and Neil's suggestions) which I will share soon. That involves changing source between our internal repo to dpdk - feasibility of this is where are discussions internally stand.