From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0050.outbound.protection.outlook.com [104.47.36.50]) by dpdk.org (Postfix) with ESMTP id 54124FB98 for ; Thu, 30 Mar 2017 14:51:08 +0200 (CEST) Received: from BN3PR0301CA0066.namprd03.prod.outlook.com (10.160.152.162) by CY1PR0301MB1963.namprd03.prod.outlook.com (10.164.1.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Thu, 30 Mar 2017 12:51:06 +0000 Received: from BN1AFFO11FD042.protection.gbl (2a01:111:f400:7c10::111) by BN3PR0301CA0066.outlook.office365.com (2a01:111:e400:401e::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10 via Frontend Transport; Thu, 30 Mar 2017 12:51:06 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD042.mail.protection.outlook.com (10.58.52.253) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1005.5 via Frontend Transport; Thu, 30 Mar 2017 12:51:05 +0000 Received: from [127.0.0.1] (B22586-01.ap.freescale.net [10.232.40.79] (may be forged)) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v2UCosMh018952; Thu, 30 Mar 2017 05:51:01 -0700 To: Ferruh Yigit , Olivier Matz References: <1489754838-1455-1-git-send-email-hemant.agrawal@nxp.com> <1489754838-1455-2-git-send-email-hemant.agrawal@nxp.com> <7d898278-9331-0c72-cabd-9318c6d65f1e@intel.com> <5af16ee7-fdcc-5b03-0897-f0657e8f8e7f@intel.com> <20170324173146.477a5157@platinum> <434e5f68-430b-1676-fed8-3527f25f3081@intel.com> <20170324174246.4d04a21f@platinum> <20170327183052.0fb0614c@platinum> CC: , , From: Hemant Agrawal Message-ID: <31349bbe-0e58-6962-ca41-b231796bd0ba@nxp.com> Date: Thu, 30 Mar 2017 18:20:52 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131353518658393571; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39410400002)(39450400003)(39840400002)(39860400002)(39400400002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(199003)(24454002)(189002)(377454003)(57704003)(9170700003)(4326008)(53546009)(36756003)(83506001)(105606002)(81166006)(6246003)(53376002)(38730400002)(8676002)(85426001)(8936002)(189998001)(33646002)(65956001)(230700001)(47776003)(120886001)(106466001)(50986999)(4001350100001)(76176999)(229853002)(65806001)(31686004)(54356999)(356003)(50466002)(6666003)(305945005)(2950100002)(53936002)(65826007)(6306002)(23746002)(54906002)(966004)(2906002)(64126003)(7126002)(8656002)(77096006)(31696002)(7246003)(86362001)(5660300001)(104016004)(93886004)(42866002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1963; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD042; 1:kgHrTggK2pl85t0nT47cXxpCpG9+Wpzn/qTMlfEsO+cfZcZYbKoniHiGV6bUwsYgiHaor7EgdXUvd8ImJ8WkGAkZ4aDTDCZIdOnzCItWnNmMpEjZlNV6DN5XkXUSrbj9gtr87caYMO4UIgGAIj7FakTP2S9P0amN62u/CKEfjK/MM/K8svL83OelSI6RJb0grtEgBVpFQx7ryFwZ06JoBs/5t8NwOVlkybdecd9CFEhVS0zpYI0EGUC16j5tkJzAWdqOckjUsiFRIOtqYAG3w4KencD553U4LkPQ+lwR8SDGjEXJkwUbwlyypKjEUYNnJI0t6YTZHixUT8eb6JjUIVpXYBUxtwyqGmfFn06v7i6iVmJ99DzzfHEkyUA54TYjoGj2mhKONH/WX454y9RAfj6t2wYHLu5iLdnQY0eXHih/izX/Ci25U3FDLH+4zKSumyeAh5B/oYRKF3UCR2io8K6iomZ0JV30HqR/W7b41G3KybExYtSviGtZKJlK88e3A4o/qDcRtxnFzqjGbAK1pBbgEdNfnxQSvND1EV703eBlqEIosUrOoYdInr5DVTMr95jBYf0x1uLCJrjQkyQ/vD6L6nplycjIfsZavZj3pgpnr9Pt0onPQdW7BFxsTNGHj8c4fI+DvZ7A2ZzdTvzggg== X-MS-Office365-Filtering-Correlation-Id: 76e1fb99-11ce-4780-95e3-08d4776b6e18 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030255075)(201703131430075)(201703131517081); SRVR:CY1PR0301MB1963; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1963; 3:XJOm4NOtQZ6qgJaB9z4E80TUoKURigJB9/SXiUHXfkX/d8RLTVtYL2fZ2pbKTEtKEORFJM80hDsmxZkc0zpwVJSmLbyQs/c6WqG3xCzfXlZpQdLlV6fVjLixkRYtS1JVMHP8JfDWOjP5SGTdOmtKDZXh2OeFUtxyWshtqhKYWOd1Cj/JCxXW1Xyrddohf6nXcP2OOq04MZq4yZ8BWYQa6BvVPD3GWbzdNi9soC+/JdbDxwo+r9/epHpeP1hE5rmPplEdV9xR4hja7KcTuSCwB+f4gPsm0B6D2P2jB7YN6CCK7Xc+Un7JVAEZsBWtB+k7e5bW0TPWQXqY2akeZuzgnlEvbTMe034zL2wd/o1gsqKjtRI/ZhKfHg4LdndGD7CZvtWQXgvh4u+QQHOQEI6LpWtNW/2HXdhhqtBNwO2nXgh1ksTd8xUR9GbU0AtvBjlo/OD6Kz8N6l18X2Nz/LVPyg== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1963; 25:2hlgISvZgZBzUfsZx/n9aM6zFHqfqXNNm05PRA171HJzwe1F0sSMx2k8QWRklrfid4EOgZ14PNKSrUIXy/jLCE+ZdrinPH+uU+d2jznRQUZJGsL2qNuwk1yDcXL2DaNxKYy1ETwnaZkFlkVnb6dKQ0SYMSKW5mGtlep0HUc4xIeCTxakkQwdplm8XVZ2rYYtSc/Fq9oqQTFRGFb4wbmXDmytG/1Sf3o6iJW7xr9OyBFzwwX5gJRflbBJh8uNDWJNLRzVSNTpD1GBbKw2BaqbFAXxZOSHCbqaoc1dOukod9XX+JDoOYldO3M/ApPv0MI+MujNbqcE1didiCsRLIx2crjMxgoT/hupw2/hrB3TrVsDh3naYTRwqQoyb3/FWyqDw+xyMkFyA9hj+58592+EfFQbTnkeRJihwKAtA9AAhXmLW5b1jLZbNS265YQZTaTovkdl/yGRP/CqY2xq485tWQ==; 31:oKFV9z4Lzv6NtF6uK81gAZXLZEK28CHYvvtTDD3BBPwvKWaXoV1A5xBbEfYRNuRqucNM0N0sv9dATZ5HaLj9MUsN9tarn3qiKY+lagb14juE6yaDtwYGBiKn8FG8jXsvEipRgKc23OLuZe8z2ZMxlrokY0Wf9rau6YKQQTIrKQ+6Ho6sUjJE4J3ZWxNqVWhJnx3CR63gt6FVarhmeXiybfMmCGLrlxPmKZRqtuV81QAEa+px9DOFada6mk1ztKTJjBevV873T1JWC8sfAMdutSEpXbt4XSu+7u8JnypQ/x4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(5005006)(13024025)(13023025)(13015025)(8121501046)(13018025)(13017025)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123565025)(20161123556025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259075)(20161123563025); SRVR:CY1PR0301MB1963; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB1963; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1963; 4:xJBJjRlI+KEOAt9ohyl8e7PbUbGSKGNni1wmtCKpVY6dGOVm9B1hxJNVsHgWaY9Ol/WFytdZJINsODl5jSHJx/g56XWnBRJKLaBg9CydzTCcPwEJgxXFuOFrr9h0wqIEpI12hzoE59QTAbVFDlen1+/7hACq7SEgEh4vuHr8On/sYFwxW4bQ4jdBsq5tJEXacyvJw0iJWiI2N8MsCabr+NSXE8wf3jHehGCZ+au7wzv/c/ZDU5jfIitjl5sOLAGJX6YgOeOg1XUJzEPdSRlhpMde/0equUC1caXBH5YHgCyMAQFk+hPVB7iIBzR5iRQmJmpEvy+rE6dLBoip8KMNsf5+dADH/E6dnn4sjV1Mp8LqsoGF0dqrO35WndhuB9duSdAGBe+DLecOtFtSGWKxk933lBkQdPjROag8IViQZUZgm/2B5qf5oZG5AlDbQyTbyBQUeABw5vyl+10KLA4Oc6u5gb3f7Fl7b5Cq1Cnr0gtu+D9s0v2GxIsZFn7PyVr1ypchPGlZGGE5jyOAncVLbIGP74la9BYn+ypJ1pVJTofJIPE9mBRe6DhA+Uog+9UkOtmW0JEuGQsz6kkUwF0Xche8sRWtoj1AouNyt8Zfhet1MXa5hoXZa7Y15Emz/VwZdaJfm1H2k7AbXhP19d96cZYPeuXoXv6ULjtiv2Ph6MfHaNp/CNe3wop+NFnTrYttmHM8AusrXWOjybplKP9Dz8c8n05MVC5K4NR4MxP8jbpyPJbWXV5o+dbE1VHnKQP9xdjdRVTs7iWRCsFQRPb9hpHuAxihVuXrv1IhaPHnyyGRseApM5w0KYaFXk2AqkRgALbAJbPV251dvhD+OBDyuA== X-Forefront-PRVS: 02622CEF0A X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CY1PR0301MB1963; 23:OzcjfRbjBKrf0+ka4vQofC9JJDT6m4FLt55?= =?Windows-1252?Q?dqLp0ZHJPDXF3+C+RXI+E5Dwa5YOb4qCxGWgipSklYiWlGMIf+m6GWcl?= =?Windows-1252?Q?OL8gCSGGrT+F54PyO0weYw6sbbxlrzwztDWvOz5nJmSkNUCN8mmVeSxE?= =?Windows-1252?Q?BT1yquGeqi9qE2t/LZz9xH/wOmvhnzfYydgJ+gjF2YKHE90fKS6OtZ5e?= =?Windows-1252?Q?Ws3rR3gH1eT5Ht/w9uZAoMteA3fae0hHhNBHChsUtZztZXmdwPFjW/Ow?= =?Windows-1252?Q?wtER1CPpuExNOV5mrrT8hbzOM5SRncmqbepXipTqyE1TRRgkquDelmDr?= =?Windows-1252?Q?izd0gl2seuKq/Jmj3ZobBQri9vDJsxn7BEd9nKHvnQ5Vp6h3SguzyVAD?= =?Windows-1252?Q?DFRXG4pu46c1rx9zwNb5ZUuHiKSxwAftFSAHeGcSLtc7/aq/hi8ZbYtE?= =?Windows-1252?Q?s6M4TJrWES/J/soWHs4n3NZJ/eEUQnJRrZZbk1fyuL3V03eKXb7KMABe?= =?Windows-1252?Q?a3VC/J+1fmq/45iJR0XzE+TOLiGH1VEMiQObXdD9aX0ZibtYOk95NKl9?= =?Windows-1252?Q?4Tyq/Hnv7YaoDSMDqqjbj85nogngxC3c7QFSwaO/mUSIA5ZTGqmO2zMm?= =?Windows-1252?Q?rWwSTIS6uK654w+Yfk1dKDM0Tzm+vtr8Sq+dkJj49OKk1QCKh4fwEYUp?= =?Windows-1252?Q?uk7SILVjztqWCiOIN9t1wrb5ZfN+yn6drqijT7CuqS7pz7yNyOyeakWB?= =?Windows-1252?Q?Ci8C+9miZ4dfsRRLO1o5m5D4jr7/QA4O2nkuTNiJ4VQNKpJfI1LAVso0?= =?Windows-1252?Q?Tb/XDZCnj7l3QptLh+e7dcWKbF5L9I+vVbUQxw9Su0gjw4ZShAwvNkHD?= =?Windows-1252?Q?sKL7lYzpje71ZyG0dCAeRdzrpmIZ2/iNMwK0i9bkE5LbbhuIlz0ymMLm?= =?Windows-1252?Q?ziWqpXh7Jw7TnRdBEF3xoRrr2oNRXvq1A3yyDlOcpc8hWMssSE2JBJI7?= =?Windows-1252?Q?mUhrgtTLfRhr2pyVIZTxgICRkfgom0+4VugyiJ8ZXQDDJ9Uouv4GhlyJ?= =?Windows-1252?Q?NJpnBx0JfhKE1mddbv3zZw5T3TNXXxM0wy3wTI452heKCnETFJyj0WR+?= =?Windows-1252?Q?pdEpeI9TTkyx8j8TbJQwPOTGDrWcq7WgJhkXPuDT61WCaTiY4vslBcmr?= =?Windows-1252?Q?2OamOGGHkOcXj0x50kU4ur3hrZ7wuAKtABTUa1A1lclB33iVMz/6ZGsI?= =?Windows-1252?Q?E2HfcfJj0FxQUeSm7J4uZxSsY2MMpAENEZ2FjQRz9q2im4K4N+XDe9/L?= =?Windows-1252?Q?LwTMHHWu2ZdtYTyDbp2sckk9pU0xcLFjmxDYTPVOVTJl4OD/BRHsan31?= =?Windows-1252?Q?JIV/ihz6OTiDVrsUqFMwKlHbFq53AKNdY8C9m6/uOfUF+cxo6fs5ZQ/t?= =?Windows-1252?Q?PMjZWr+b3vNGCauMrbTval5zRh5rw50JgdOkVClgSpwCPU1F1ZcImVVx?= =?Windows-1252?Q?A6DYGHSbQ96mba7oQZvfmwZyUK2OBsVkovwDnT4EwCsLVtnuHEiNvCYw?= =?Windows-1252?Q?ujjLICt6XS/mF5Sn/C4xP+Xf8eY0HI6QxoFtYjcOq8g9OsRoAuviACz6?= =?Windows-1252?Q?fguA6kfGxVosYWhcQ9Qrvi2M7PItSqkvdRsNATXqAwmlQGhvt4TrBsbK?= =?Windows-1252?Q?xmQw0trOMVcDmMRIl9wZV/zOOuqmKS6jhp11W3+fAeqvnM/1bIB0MvjE?= =?Windows-1252?Q?G7NiYVf7cYhVmGM3LNMXlZ52j5XRcgbu+3wHJ604=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1963; 6:+dm4FelIJbyaDJy8yWZ29teuVU3vTTCHnsrIrQk1loSsk5Zd1RQEG0LIJtkm5Q1tcxIVvgTLusWLQUfqKtw2T4nrJu3wvNesqJILGBY8ZyvHXAGL9C5cMUI3VusCZlwQ2HLyaGSKsys6GkSyRAUWQmIOXxcTf363PVacIRmmAMHgd2sxmpYpB+6Mrw/X7Sr+rD12mtK+aGsmRzminyAl2/EU4TN+l86L6WHbOUObPmunZbBgafrkIuiufe08q7o9xedrHJUH37mNDgJnuObAesZ29LSH+bMWG+JhxL10WAfAauZLq9PJjOivZiJOvJD42evhS6Ja7oR/NTJq2iKoEMCsFF+SNf+V3M0cvGvK8q3eI81XOdt7HJqFDN+XThD1KnXM3/dW4wcvrfqU72W/lQ==; 5:chNpuWOJtlme/Gq2tj1IDWeJKHmm4G2FtPOekICWkDnsPurtmJbAB/QCZpynGVo3I4ytotOO9INY40yLzXiirwbo/YOgoL/zyX112nV9FE9VaG9l1N5wSbeE7bM5tTZFShxoEefUEwVxrfho6lW02dwl0h0zYquMVTIvFakMjGks985pa3ONEMFcBJtpU+vr; 24:SFpEp1qthwiAh+fxWO6YLpT+rdtirDUGeQsrCak6aD6pMvArjw+udivxWp+Or2PITKjg2A/CP2rmp1r7OE/HttQF2E55sJBIg/cZPxh+KmU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1963; 7:WdL+2Mknymxcw/gAgaXvNlzBH0RIUEz6HpU2n+K64UPDOVethhlfLqacUR71IbH2F5pw81yfcMIqcDbGSvXWab1qH0hu+MXVIHOD4ve7w+1qh1ujVO2Nle9NwHrpofvDW50yQTbxcuxWISyrLKxldcbR2JxsBvETIJSEJcOIUa9zlN0XVGadqojvuCp3oqR7fCT5GM2iBJj+dkN77ECwX6e1Q4MjHTaZybdIjcorsklLHgwmojltD2j55FSGkfFAPBNAnoIfPRzxlTsY/z1tt8C+967iqUkj4fKI2wfnEa/u7sEyWy8EcGntw1qfRG33UBP2LbQDrYOkmUIAkAUVQg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2017 12:51:05.6209 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1963 Subject: Re: [dpdk-dev] [PATCH v1] mempool/dpaa2: add DPAA2 hardware offloaded mempool 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, 30 Mar 2017 12:51:09 -0000 On 3/30/2017 4:59 PM, Ferruh Yigit wrote: > On 3/28/2017 10:45 AM, Hemant Agrawal wrote: >> Hi Olivier, >> >> On 3/27/2017 10:00 PM, Olivier Matz wrote: >>> Hi Hemant, >>> >>> On Fri, 24 Mar 2017 17:42:46 +0100, Olivier Matz wrote: >>>>>> From high level, I'm still a little puzzled by the amount of references >>>>>> to mbuf in a mempool handler code, which should theorically handle any >>>>>> kind of objects. >>>>>> >>>>>> Is it planned to support other kind of objects? >> >> We do have plan. However, we also have reservations about using hw >> mempools for non-packet objects. They generally give advantage when >> working seamlessly with NICs for rx/tx of packets. >> >>>>>> Does this driver passes the mempool autotest? >> >> We have tested it internally by manually changing the mempool autotest >> (mempool name from "stack" to "dpaa2"). we still need to figure out >> about how to pass the default pool name to autotest. >> >>>>>> Can the user be aware of these limitations? >> >> That opens a new question, Do We need a documentation for >> drivers/mempools as well. >> or, for the time being, we can add this to NXP PMD driver limitations? >> >>> >>> Some more comments. >>> >>> I think the mempool model as it is today in DPDK does not match your >>> driver model. >>> >>> For instance, the fact that the hardware is able return the mbuf in the >>> pool by itself makes me think that the mbuf rework patchset [1] can break >>> your driver. Especially this patch [2], that expects that m->refcnt=1, >>> m->nb_segs=1 and m->next=NULL when allocating from a pool. >>> >> Yes! we will need to give a small patch, once your patch is applied. >> >>> - Can this handler can be used with another driver? >> >> NXP mempool is specific to NXP hw only. It is designed to work with with >> NXP DPAA2 type NICs. There is no limitation in using it with any other >> PCI NIC connected to NXP Board. We do have tested it with ixgbe (82599) >> interworking with DPAA2 interfaces. >> >>> - Can your driver be used with another mempool handler? >> No, NXP DPAA2 PMD need NXP mempool only - at least for RX packets. >> In TX, we can send non-NXP DPAA2 pool packets. (The HW will not free >> them autonomously, but TX confirm will be required.) >> >>> - Is the dpaa driver the only driver that would take advantage of >>> the mempool handler? Will it work with cloned mbufs? >>> >> For now, dpaa driver is the only user. We will be sending cloned-mbuf >> support patches, once the basic driver is up-stream. >> >>> Defining a flag like this in your private code should not be done: >>> >>> #define MEMPOOL_F_HW_PKT_POOL (1 << ((sizeof(int) * 8) - 1)) >>> >>> Nothing prevents to break it if someone touches the generic flags in >>> mempool. And hope that no other driver does the same :) >> >> Yes! I agree. We need to work with you to improve the overall hw mempool >> support infrastructure: >> >> 1. When transmitting packet, the HW need to differentiate between HW >> supported pool vs non-HW supported pool packets. (Application may choose >> to have multiple pools of different type). >> >> 2. Option to use a different default mempool when used with virtio-net >> in VM. You shared your opinion & some possible ways a while back. Now, >> we are seeing hw mempools actually coming to DPDK. So, We need to >> re-start this discussion. >> >>> >>> Maybe you can do the same without flag, for instance by checking if >>> (m->pool == pmd->pool)? >> >> This may not work, if more than one instance of hw mempool is in use. >> >>> >>> >>> I think a new mempool handler should pass the mempool tests, or at least >>> we should add a new API that would describe the capabilities or something >>> like that (for instance: support mbuf pool only, support multiprocess). >>> >> Let me start working on this asap. we will experiment and send some RFCs. >> >>> >>> To conclude, I'm quite reserved. >>> Well, all the code is in driver/, meaning it does not pollute the rest. >> >> Thanks and understood your concerns. > > The discussion is still ongoing for the patch, there are valid concerns, > the patch is already in the next-net tree, but it may not be merged with > ongoing discussion. > > Btw, since dpaa2 net driver depends this one, we are talking about all > dpaa2 code (bus, mempool, net). > > I think we have following options: > > 1) Drop the dpaa2 patches from next-net. > Work on having an agreement. > If all parties agreed, target for this release RC2. > If not, it will slip into next release. > > 2) Since these are drivers, scope is limited, > get PMD as it is for this release, and work for fixes on next release > This has risk of proper fixes may not happen. The dpaa2 hw mempool driver is a a very specific driver and not a general purpose mempool. It will only be used for dpaa2 pmd. It can only work on NXP hardware. We are already working on suggestion to make sure that mempool_autotest work and document the mempool limitation in NXP PMD. The patches will be out shortly. The changes in the common/lib area requires a lot of discussions. Some of the discussion started around the mempool changes for hw support, never reached a conclusion. They can easily be sequential. This driver is not making any changes in the common/lib area. All changes are confined with the NXP specific driver only. If we keep continuing like this, I am afraid that NXP PMD will get stuck indefinitely. > > > I am for doing right at first time, so will pick option 1, but also this > PMD is waiting for some time. So this is a tricky decision, Currently, all our work and planning is pending for the PMD to be integrated in DPDK. Once the basic support is available, we will also be able to contribute to other areas like eventdev, tm and many other items. Even our Crypto device patches are pending subject to PMD being integrated to master. > > Thomas, Hemant, et al, > > Can you please comment? > > Thanks, > ferruh > > >> >>> >>> >>> Regards, >>> Olivier >>> >>> [1] http://dpdk.org/ml/archives/dev/2017-March/059693.html >>> [2] http://dpdk.org/dev/patchwork/patch/21602/ >>> >> >> > >