From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0079.outbound.protection.outlook.com [104.47.37.79]) by dpdk.org (Postfix) with ESMTP id BBF14271 for ; Tue, 4 Jul 2017 14:26:13 +0200 (CEST) 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=bzCb0vlsxYcnVHQnCyphZrypPoGyXKyuxt75OFtO2kU=; b=IKS74oAHVJezPrVFfuTdYkVvulH6x9XzCxL6p4G9lk2tIjnCY7HpibrHxgVjorHg/4jAQ082RfvpuGjwYqJcR5Mp88LUillP0UhyMkQO1xjmJmt+5WcAASREoI9rIXNRPBwYplCV57VfB+CBBFVNPUoR6Frd0PQtvZ6BPYbVfJk= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from [192.168.1.101] (106.209.135.7) by MWHPR07MB3103.namprd07.prod.outlook.com (10.172.95.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 12:26:10 +0000 To: Olivier Matz , Jerin Jacob References: <20170601080559.10684-1-santosh.shukla@caviumnetworks.com> <20170619130152.GA29671@jerin> <2e78b067-0a4d-a40d-799e-6137972bd7a9@nxp.com> <20170620140413.GA16157@jerin> <20170630161246.2af345e0@platinum> Cc: Hemant Agrawal , dev@dpdk.org From: santosh Message-ID: <16812056-cfa9-066a-6323-aa0ac7dbd9cb@caviumnetworks.com> Date: Tue, 4 Jul 2017 17:55:54 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170630161246.2af345e0@platinum> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [106.209.135.7] X-ClientProxiedBy: MA1PR01CA0087.INDPRD01.PROD.OUTLOOK.COM (10.174.56.27) To MWHPR07MB3103.namprd07.prod.outlook.com (10.172.95.9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e83827fc-3a26-4379-b265-08d4c2d7db54 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3103; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3103; 3:tkTGWTtCr4g0Diyo4O2sJ1QdDFZ6m8FfDpwIAVEgbSL3YaafbGCdwKnfTdjUlzvLCaJel7RD+nVonek3MXV9OjeJDQHdfNArGiK9zPphKv8sRlzsMjWaCrhRS4NoNq7t/eBIubrwOFC9wZTKm0z63989arPIWN/bKDxhOktOvNnOCM1fJVki9rRQhIQWs9RHXqwd3l0NYp8JCaGlwfZ47lsP/y63IPIGMLF9eD4RiWagzD7vfoDV4eD8hYDVxGjJzQjQpNS1q8waAg2N3UGQk7OZyb9OnhU/gZCUSJa+NbPhKI2icxBmEscQnB7ArVhzYGp17UFf018FvnKYUL9LwvD35c4HU/dOMfrdcHuYfxMQn+oSqt0JJe4WzDvjVK8RdOFLAETv4jdCqBvHJJ9Oi+hpa0H+WDaahzDvLbIagnTVhliUD1buoR7XjbMd6yCnZ8jyXbo4SEIrprXNdJEyK+R1ZeRZQs3SEZIyPHIrlSp0cyThqI/kz2WU70QdPYpUf6YduYtd4oZ03LObON7s1VcyH2hef0uQa27POERwXqkGppX/rpG60jBIsuTAD8yAez3KJkDooRwiAtT6W8Ksjhl4v5vmmieR9MZoN4mUdhUQCBBv/A+WEhmbWUYKkIvR7cMlcs9bcLCnQyvfEmmGP0FUNOWgznty/+zTiDb4Nq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Q2RchcVU4JCMSOM7i0ZciRe1iYrBrazL928KTgYLLldMvdzvVoNtXfkuZZULGlBMNgl3L+16Deh0obWDunvD8+/I3y2XYXFo+1D9So6Lwt1tnUsTJJ+OFL4l85Yco/2W6LS6wuPBRxTQXZu1p7rKtNrUHLLAQQdveQeLq78c7BrA7y66tfB9mhENOdRel6vIwMSf6FXDB/8PASZTLr1mQ8spFrO1eY5cfoLCNu48H7bS5EuXtxoUDdW5UxWD05Kg55VRKzEaXAc2I1WIZhBFNYgYRwYYL2cWYkC0oFzo+EbxfoFcjnwjG7GGpy8SGC8tAoaL0C+LASMA5buwM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(185117386973197)(48057245064654)(148574349560750)(247924648384137)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123564025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3103; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3103; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; MWHPR07MB3103; 4:xfCR0Gn8KXYjzdc9Ng6A0IRudEiFtxAyDgzcKY?= =?Windows-1252?Q?p5QCi6h8nZB4Ur7Ch9FnuczaSM7l4ZXHI9uXGvOzZVnLTrg1z/pvQ2HP?= =?Windows-1252?Q?9T91dVNHOjvrW6945Ysh0Xn+cjJZnVKJ7Cekf9d2Pb89TGV65wQP/soO?= =?Windows-1252?Q?flur/I6xsSs+9cRVJKKH6DAcJBWqCG2GFFwmzzz0yIUiRDLKjd9inzA/?= =?Windows-1252?Q?dhObqQZ5xrBi5QBLcxi1TkJZMTXSb4ka7Cxd348q3tjmfMphwqF9mTCg?= =?Windows-1252?Q?7oNEsDg3k0CLqyg+W2P8gf4cChswR4laoOINIAaO/iRY6CuicZnengv8?= =?Windows-1252?Q?L21NgZvGS0Nmlp3mdME9Pd44qN6oCCzsCmS/uxYx5SK1wUHOGoxmlaz4?= =?Windows-1252?Q?nm34QWN/BeaHriK+SSX1EhRscdhyUOGGik0AzMqz1lh7oNaUjVNCEnx6?= =?Windows-1252?Q?Fj8724OWdhi8dTc/nhJuAdp62dg6YaSxpvhngoXnBNObT4TeecVeuJMB?= =?Windows-1252?Q?Wxz771q42LYk3NQlAfkQSPFL4ne9tyrH4dE/zWwoIaSu+XLPTlXj9KVy?= =?Windows-1252?Q?GOJ9byYj0k/el7Zn5CO+m68hqJUJXZyYI8PwaA1UD+YLCb7XP2OZ8FBM?= =?Windows-1252?Q?FityTJywTOLjpsiaUdXskAMH/cUS7hG7T5LLROUYrXQaSlyxoR0RoE5f?= =?Windows-1252?Q?B/6brC3s9UGd6gwjIWu5RAqQ2TTT/gyYVDSd2m2utzSD5ttiX/XbAV7z?= =?Windows-1252?Q?sxoslPcsD6Q4a1Kb6+hI0mI2+sNUq9WydJwuow+BCMIPJs/2idrvbGdV?= =?Windows-1252?Q?d/sgT51KsQ5J0TgJ/wts6cKZRJi5Q41r2NUCLN9njoPkUUb3ZC6IHJ4I?= =?Windows-1252?Q?qkJLqvtS9uPIL8mNyijsEFBd9ZladWBvBX3p/xZ5+Qknb1TgL09yD8v/?= =?Windows-1252?Q?KJ1HDeMFNfXZjcYuoK9tIJ/OKDUmj/d+EvUa4+XnmsYG0tXFqXoIQFkd?= =?Windows-1252?Q?oplXDfTIKAQp2od0eSTwZJ9uXfu6Wj38IYZhx+q5Aiheb1YGNdNaTcPa?= =?Windows-1252?Q?+aw4DBhLU2CAIDtuxc+i+32nCtCqx3erAHz2qEI8P7pCfw1VC9oTqPzr?= =?Windows-1252?Q?KW8cOKjyrdqSiRyMvNbMlhhB9KNGiCqnHLJQ9ZdD/tj57zkMRvLPjtA1?= =?Windows-1252?Q?xqPV2lfQ6ALNdWl+XvgkLMZ/dHLG3f1ZG6M4Zd8L5NuInac0k9mp9lWR?= =?Windows-1252?Q?xZguS6zW3leO1s22mmHQuy7io6nNQn8ykYa3XmxuuHpd3JAO/YKeEn/R?= =?Windows-1252?Q?xHV5QVV4zSOXsDdGjULFhCRYcvq9XRyfBDjURqz/+zq7MaNx+L1FoEIf?= =?Windows-1252?Q?3QlwGVNjkNjDmTMOixvVWW6no8uTe7k+q/pXg4xpwI1aSG4aSQ5lwNWR?= =?Windows-1252?Q?OnfXDLbDsQgP83ev8erXsrPRDViXI6iXlloqbllSFgSKOuNQ23dYZEgQ?= =?Windows-1252?Q?SQo5A=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(39400400002)(39850400002)(39410400002)(39450400003)(39840400002)(13464003)(24454002)(377454003)(42186005)(31686004)(4326008)(117156002)(53546010)(6246003)(66066001)(478600001)(38730400002)(72206003)(33646002)(2906002)(23746002)(8656002)(86152003)(53936002)(50466002)(189998001)(8676002)(54356999)(230700001)(6116002)(305945005)(50986999)(3846002)(76176999)(6486002)(5660300001)(81166006)(5009440100003)(65826007)(77096006)(2950100002)(47776003)(42882006)(25786009)(7736002)(6666003)(6636002)(93886004)(4001350100001)(36756003)(31696002)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3103; H:[192.168.1.101]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; MWHPR07MB3103; 23:rPOqBma83cH0E7lfa+ULswjeqnGAqE8NKy2Jo?= =?Windows-1252?Q?Kex2hhn3oa5kuGWhkrAEDtqiM1TxjCrDK14hYnoN4yNpCv888YYe916L?= =?Windows-1252?Q?rhw5Ri/ga5bKeqsKnQreaFkufuP1jimYhuPaplnST5B7gK9armFMB5V6?= =?Windows-1252?Q?lQ+iHqXudqaq/OkE/xRy+rdSuY0DwVlhnrg+RXUgjMtMrigDBK2PHMFy?= =?Windows-1252?Q?gFA/RhYPRzZVsO7Ran3L7qNYb9Exb2IbdbT5yXo7mdH70EqAv+kWPAG/?= =?Windows-1252?Q?9R+uPj5xC6KYR5y1G7OsLX0E/YDAuqQ3NiXPgjCGKd3sLNLtVBd6I7MU?= =?Windows-1252?Q?ughjWVe7V/fQCwXku6SxwNDcTAQTT4ETmIiQisx2RtgSEDhLPmQISEFh?= =?Windows-1252?Q?PYg1mcdU/3Y4Jj5tp4ceJFZ6MWGzGWLSf0vqoA/IVrDpZ7pZg0gcS599?= =?Windows-1252?Q?uvDS20eTNU63NIzOY3WtseSpZY1qij6r0mWlAnrCsX72roAKvLcswMrV?= =?Windows-1252?Q?aLEKAn0DSdswNg2/1Q2mfiTGyTEgi3LOdGxGaUq086PodmLrX4Tw0L5h?= =?Windows-1252?Q?ZlgTu6L2sIRjllKWqzkDeUamgbJPy8pjRh4kIjgdaJdm054n5mFQew/t?= =?Windows-1252?Q?Ia7/YwmXRvMtW9lj1oHtllIGoEsScLTRf24LPOmm5wGbP1zAlDjXhVXB?= =?Windows-1252?Q?hA3bNAWKfftSI+w/kY1FJHZ6fqPEHLRdNtORM61mKL0+IfjjhRQ3cUGe?= =?Windows-1252?Q?+rxshrBhNbkqwbbYHml8U1eBWXhSp0tTCsNo/7edLA3CIcGvQWLYAExG?= =?Windows-1252?Q?CdjMSd6kFkUBhdBBjpIwpBtIqCWBUcfmV+Lw9Yb0AIatt9UxaqBfn13R?= =?Windows-1252?Q?06c3vob/V6Wo/7WrIkMrs/jGCaGtjhPynORCsrKZQSjUkDiVocoWmX6G?= =?Windows-1252?Q?M47Jeh5WfihdDmvFA6Tq7dw/s40axs9QDz5u160YjcXhQRYNtapzUPU7?= =?Windows-1252?Q?IPhQMbSUBTmVrWWZH5XhAq7QMccIvjsXMli8Ngv6UB2l7IHxEHcVWz4Y?= =?Windows-1252?Q?3WeV/AS6OkvDXJTwuCPLfg1QVM2cokoykzH9Psv8ypASNVQd657ibZZf?= =?Windows-1252?Q?drHGAri89T4p6rk+3EXhOlf4ysrzcjIBPmL04QvU0ALb3gI3yLfC3DEE?= =?Windows-1252?Q?nU+OYUkiKX8A67TaC5vpEo/bX4LAQ34WYHst2Nd8lb+llwB+tci2bIwK?= =?Windows-1252?Q?ZddUFy4K43tCN+HVqGxb89Z3Ja+gK5R62MAE4qmQJeBN+UXPwm6sKD3x?= =?Windows-1252?Q?xb+l2OBHGXPfWAVXV9C3Yz2EsnbDhg893aChXQ9wXPdssbX6pCwDZbSe?= =?Windows-1252?Q?hMaVvKAHuFTpOSvT8CJJ9cvGSiQroSDPe7UEZqW4Xej3t8TKd0dqCa7F?= =?Windows-1252?Q?du7xXLundZWQ/57sMmF4kTqBmv/SOdnXLGzRfrE1A=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; MWHPR07MB3103; 6:HVOzeEvSqpz2Tcqfi6IzbOtz+r03PvKUJneQnO?= =?Windows-1252?Q?8oWuBTukdCN/VbpUZ6SLbi8TuBi3Mcn0SJ4kiuo1bmTY83+ZkSUkv6iU?= =?Windows-1252?Q?6CRJ1pU8HHmeJiQMPp70CGUbQyRK7Lx9IdxevRB9lwBygjMsv0Jptrpo?= =?Windows-1252?Q?NyGCTGmWpsZUuoPGw7ta+uPrOl/EJykWthLTsWFRhc98Q1/9O2V5VQCk?= =?Windows-1252?Q?LbcUrOZEhIgyQ0ZQfpgzU7jY2nEG0AwikHhxTImFOg/Kl8QPfU/xi1ap?= =?Windows-1252?Q?2jsjDjgDq48wSUEbYzVjogXIrOZtbYNI3FDEYa73tAtnWsVZTTjrq5hG?= =?Windows-1252?Q?axdIG7WYEnB1IYusYo2a4Ql3jaF/+z0vHTIghAuC+39SQYjgFGBHRK5O?= =?Windows-1252?Q?b4EwVjaGEKSEccICvvwQsvEiqGjmBWqYO4qs/lDUrKSodKbYkiVu5WSG?= =?Windows-1252?Q?bVE35P2XnJGXougPUml5dptKo6Sd8IJBA+6EEE+y8gqwqC8U9B8b3P/l?= =?Windows-1252?Q?r9ShHMWRvke8+t1uCqZLLkFSb1G2a7WbzPhbsx0HEUn4W43vwXKGJ3fJ?= =?Windows-1252?Q?r2/VjkDLKnNxJMSxS6d+gaZuv0xl1gnMBqBJVNsuR2nBTTbhCXFIlftH?= =?Windows-1252?Q?zu4DWLn9hw6SBpkyrub/6ZKjDS2XOTCXNrRfLt1cwWPIbUHWRK0K3J/a?= =?Windows-1252?Q?5DYI6DFQgd5WS4VE5SX8sy3duZ/8J+WeRUDLkMs5vdCNxWtou/aUSNNO?= =?Windows-1252?Q?mKkgiogqvLv7OoijS0bA73nqYglm2E2IMCLRtisXKfP/DInCbfGrivaH?= =?Windows-1252?Q?BL4KfLX42soHck5w5PxidHiIIaFLU/z9F279+N4hcSv3YT1cd/u7Wqyx?= =?Windows-1252?Q?8VmQyNDgxNuh5Q7dnEFljWz806no3brj91z6s3fFQjDKuAwG4CrEOGu+?= =?Windows-1252?Q?e5I6M+4qQO4ULZ0L6ZXPJgxUVrbg7awDz50q0SE3x81/kc8lmbjjiuqh?= =?Windows-1252?Q?XvwbugpGXv69H7H6UsAGHy6I3gZOjVLjOHhCPzWA9K/9GwEeEJ7pOeW3?= =?Windows-1252?Q?kairIuVnUvxhE=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3103; 5:SPODSROFgZ9OswIWwiJdBUKIgqpq98xO/P8l3kcrVlQgDg6YoZ/whMgdWf4BSpKZ8+wb9g9jcnU8YVaiGq6+FmmohTcYxx5eycZok++wwf6CSgFuVOngV1+G8jUi46OMQ3hQdNdt7wDFbJDDKszHNClIqRxtoG06OHQQ/69WqrmnUn13RciipU+Ut6xwi/t/OYebaumikYk9srjVIWZ7qupfJe7REM/4mJif5CN5R+EILaNlJ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ZTxUXtaRDgKbHcmF5EsUe/wxxGjzge8rRLx7xaZocLKJthZcP6Z0vesUugy/x0M8fkU80Cc/LRldIFCeeHB5OQ+3Y2vqVhis0k3x7NWQDwU5OxbhYYRh6CWBhrLZosiIKz6vltlbWiyyeoR0bgpsEMSZNItz6TmI6nIofw6rSqHNaiCtK243LgsiS37k/I= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 12:26:10.3819 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3103 Subject: Re: [dpdk-dev] [PATCH 0/2] Allow application set mempool handle 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: Tue, 04 Jul 2017 12:26:14 -0000 Hi Olivier, On Friday 30 June 2017 07:42 PM, Olivier Matz wrote: > Hi, > > On Tue, 20 Jun 2017 19:34:15 +0530, Jerin Jacob wrote: >> -----Original Message----- >>> Date: Tue, 20 Jun 2017 16:07:17 +0530 >>> From: Hemant Agrawal >>> To: Jerin Jacob >>> CC: Santosh Shukla , >>> olivier.matz@6wind.com, dev@dpdk.org >>> Subject: Re: [PATCH 0/2] Allow application set mempool handle >>> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 >>> Thunderbird/45.8.0 >>> >>> On 6/19/2017 6:31 PM, Jerin Jacob wrote: >>>> -----Original Message----- >>>>> Date: Mon, 19 Jun 2017 17:22:46 +0530 >>>>> From: Hemant Agrawal >>>>> To: Santosh Shukla , >>>>> olivier.matz@6wind.com, dev@dpdk.org >>>>> CC: jerin.jacob@caviumnetworks.com >>>>> Subject: Re: [PATCH 0/2] Allow application set mempool handle >>>>> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 >>>>> Thunderbird/45.8.0 >>>>> >>>>> On 6/1/2017 1:35 PM, Santosh Shukla wrote: >>>>>> Some platform can have two different NICs for example external PCI Intel >>>>>> 40G card and Integrated NIC like vNIC/octeontx/dpaa2. >>>>>> >>>>>> Both NICs like to use their preferred pool e.g. external PCI card/ vNIC's >>>>>> preferred pool would be the ring based pool and octeontx/dpaa2 preferred would >>>>>> be ext-mempools. >>>>>> Right now, Framework doesn't support such case. Only one pool can be >>>>>> used across two different NIC's. For that, user has to statically set >>>>>> CONFIG_RTE_MEMPOOL_DEFAULT_OPS=. >>>>>> >>>>>> So proposing two approaches: >>>>>> Patch 1) Introducing eal option --pkt-mempool= >>>>>> Patch 2) Introducing ethdev API called _get_preferred_pool(), where PMD driver >>>>>> gets a chance to advertise their pool capability to the application. And based >>>>>> on that hint- application creates pools for that driver. >>> If the system is having more than one heterogeneous ethernet device with >>> different mempool, the application has to create different mempool for each >>> of the ethernet device. >>> >>> However, let's take a case >>> As system has a DPAA2 eth device, which only work with dpaa2 mempools. >> dpaa2 ethdev will return dpaa2 mempool as preferred handler. >> >>> System also detect a standard PCI NIC, which can work with any software >>> mempool (e.g ring_mp_mc) or with dpaa2 mempool. Given the preference, PCI >>> NIC will have preferred as software mempool. >>> how the application will choose between these, if it want to create only one >>> mempool? >> We need add some policy in common code to help application to choose >> in case if application interested in creating in one pool for >> heterogeneous cases. It is more of application problem, ethdev can >> return the preferred handler, let application choose interested in one. >> ethdev is depended on the specific mempool not any other object. >> >> We will provide option 1(eal argument based one) as one policy.More sophisticated >> policies we need add in application. >> >> >>> Or, how the scheme will work if the application want to create only one >>> mempool? >> option 1 (eal argument based) or we need to change the application to >> choose from available ethdev count and its preferred mempool handler. > I also think the approach in this patchset is not that bad: > > - The first step is to allow the user to specify the mempool > dynamically (eal arg). > > One thing I don't really like is to have a mempool-related argument > inside eal. It would be better if eal could provide a framework so > that each libraries (ex: mbuf, mempool) can register their argument > that could be changed through the command line or trough an API. > > Without this, it introduces a sort of dependency between eal and > mempool, which I don't think is sane. Yes, eal has no such framework for the non-eal library. IIUC, then are you looking at something like below: - All non-eal library to register their callback function with eal. - EAL iterates through registered callbacks and calls them one by one. - EAL don't do the parsing and those non-eal libs do the parsing. - EAL passes char *string arg as input to those registered callback function. - It is up to those callback function to parse and find out i/p arg is correct or incorrect. - Having said that, then in the mempool case; We need to add new API to list the number of supported mempool handles(by name) and then compare/match i/p string with mempool handle(byname). Are you referring to such framework? did I catch everything alright? > - The second step is to be able to ask to the eth devices which > mempool they prefer. If there is only one kind of port, it's > quite easy. > > As suggested, more complexity could go in the application if > required, or some helpers could be provided in the future. > > > I'm sending some comments as replies to the patches. > If above eal framework approach is meeting your expectation then [1/4] need rework? Or you want to keep [1/4] patch and I'll send v2 patch incorporating your inline review comment, which one you prefer?