From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0059.outbound.protection.outlook.com [104.47.33.59]) by dpdk.org (Postfix) with ESMTP id ABA672C8 for ; Mon, 19 Jun 2017 15:03:01 +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=FEANYaTZOkXSTjfB5SVoUyDXC4PuApEMbcD/fiQbBtw=; b=V21FpGYDozk4MLZYPORI1Ywp+jD6DP/UTRcXyIVM8fcCeAMYqEiN7U0NfY3f4auCx0OEuZlYKrBbXlAJW/y8aUHHMlVGQrbNuQ7rQF3i9r9Ijz/wgTXbfdt9CSRHfUcbyF5aOjWcMCPyP2AuJrINFNegClI7Om3GZWctf/8Zx/o= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Mon, 19 Jun 2017 13:02:57 +0000 Date: Mon, 19 Jun 2017 18:31:53 +0530 From: Jerin Jacob To: Hemant Agrawal Cc: Santosh Shukla , olivier.matz@6wind.com, dev@dpdk.org Message-ID: <20170619130152.GA29671@jerin> References: <20170601080559.10684-1-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0085.INDPRD01.PROD.OUTLOOK.COM (10.174.144.153) To BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 04a4b8c9-e949-4303-814e-08d4b71382bf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 3:XWefSEVBczWlwsHcbm1sefcv6zmjQ9uFPnCCqoz+UP5NIulmk3gXnmsJyCMd/8qHmlXJX16NmaV3nTburdiyZFtcVSVk/OQuiJIEGZKzilJHUeyC2xQ+rjnrnXprPjgRCX2iRn9+pti5udqRprlF9aRwnY+DEr9nfUgpHWryiXWybMwF6gpjh8/14Vb7+hujz1YP8Jn04fDNcVkq90ZAQ8j08dMNYY/XmznKr3fd5MqFhMNpMn4gk82U91WN+Jb7UC0+4Bh+TQbeguIqlp4EBLCfDY4KpLuHv57AJ68FGc5Ex96OrmQevUWOyZ9IggHNv2QaAJk2ULHkwlBfJwkgDg==; 25:pkiHbacTrfQndTuI6xdUGN8nCHeMWxLRwtxtHn1z1WXOjgn+9sNUDzjjMlk/wDE65DmUCqRAvNxdCn/zckPGPHx//te2vg9KCxk6qJzWtWqaUfJkrLxUWxm4bFL72QrJk00jt8PCHnUYVoMnS8OqmDqJjWlKN5EkrrTZTzPH+LJH/hXX0IzV0WufJVYScvlnSJR4zrIM5/GBTc3A8288Z1JUUcxSME8yBQgaZHGKj9mJAgN4kridNWxT8eYhzlDjVoEfiWdF6zZiU9WDS+a0GHlAuJ6cX6nam26VgXqsMgSpZ2QqmRQqtWMY9flyFEB6P4SWCMz+hxjI5NqjC5rM7pLjb6qwpnQ/v3jwGbKwiweO9baV65KI7lt1TAeD9LRivGIcQCS3P07rn80f9ZGnbOXDul87x0u+Cwq43zVVQlYM9eMOSYyH0ualFMe8mHXOjxLDDbzKXx7imbBTECn71WE/v+cUleTT4luMAwGKSdI= X-MS-TrafficTypeDiagnostic: BY1PR0701MB1721: X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 31:7cNMa7Ox/1l9Lutp5NOQSGUCal1EL0Xx8xe0vcswaDcQWHK1qgCSOpW3c1igrMJhq6cCq/ctODqxJ8zOGlOWF/s6IEZMBw+QrVLnQJl/ZyxjVNi+5f6nhgBVSJhxoCoDBeX+TkjR29oFTQyEmgnlqqdB9h+RyVcZXZZZ75W3WoGwwWrA9IjWMh//GFT7V5KANzRnqwSIagNdP6GYaNLuhAm+SBNY7K4BjGSos8ubSfU=; 20:8thbnKnplCqb0SVq80exjztile2ZWW8bXSCznch/fEw+hLZ5d7yRsnEzKlvUY7Zb5OlVASSh59dVI8zI28v/OiJXf7lQGT6RZpYu8UCCJNmA7KuJLl6xL33+dUFSVoTdIx53BDKFiXqN9g7sTSLJqBFfzHHkswLeFFUWKSI0ACE3tzE6f6D/OX/ybAWdzWWQdJKPryT4NqphqVMYgfCNbX5hB4I+zLkehaUeMbPDkWjtOA8DW28T9HGk4JW8jgrE1InMcUNLAw6XdmYy/h5p1j3bjiVlWQl2MGlfd1zelbClDuNw5mXUcg3OeJW2nTTH+UzTgkg63BdpNLXA7S9ACR2BqIPOBvgctYfZV3DS+6GVHhVOpzmdajUWPcLttFqdA+VPH7WQptBLOck6erRUOpaJjFDjF1uq6rw67pF1eUDNC6XTqwVCAXDQJmw04D6t6FKYicdF+lUh/l/Dpv0QL3rhgzMbW6X60ouw1rsZZHt1xDrr55hG69AvilbjeP19L9x0CL4q2v+Yuhb3dPPLYWOCJdPhr1zWLg1+pDnFp2BcTM3dvdbnmBLyPJ2xKElCeIa7zAxdzwvLpNdW2R30NJPT2zpcP14vsgB7ZJwNx7k= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(6041248)(20161123558100)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0701MB1721; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1721; 4:G+/Zfek7Zui0raLusJYagR2PP5aJirPFn/fr8Dp0?= =?us-ascii?Q?juChV/FUKmANJZsARU8HLqNmnL2JRfCFCDIQLNSr5EWtFkt/KgOMMpQZoHeq?= =?us-ascii?Q?hFqC88fKdHwQcJRLwUDLNYMLiPEnTyJdQ5x7Jq/e4C2YaUfiqN8QBF0ghNgb?= =?us-ascii?Q?32gqwnhiJmdNDHN/lXGril9CMDJ92UL4ckDDzeT2AuSVJ1Vxk/tDeNQH+a75?= =?us-ascii?Q?Rt77srUls9pUQtOlxlGu7JcPOLrKRJbav2RwU4lVWi5gUiGDYkH6hHLoDLjh?= =?us-ascii?Q?DLAgyZl+vDIhVIx94D7gGGC36whtTPC7R0Xja/P4z0mSRvYHZBaL2D8dVJ8a?= =?us-ascii?Q?um0pKMCNxfOmVK1vMWRRLLjJ49q5T8MJ3kcY3BTHoyQ9+PYF1Mlz7b5TE+bA?= =?us-ascii?Q?urvam5z0dW4Hq0ta6hBwcPwTdBIRZtPeydd0+Ea70PufCl7JGd6Mr9l2frG9?= =?us-ascii?Q?OSpWOR+6ITdsF9FTVjrvVHhm9BqLGgU5dTcSKXHuu6cylnFXwtjyUu8GTl2K?= =?us-ascii?Q?vPlaZc0pxPFGYYBaENRAYKLdMrbrh4CuuQtuCgX42afVQR0vIl0tWpNZSWEX?= =?us-ascii?Q?PHI4tbiokGyu1A+EIxBze8vuOKnEspHe5CBIr2ygEk59CU1OdHokGVNWuK3u?= =?us-ascii?Q?iNUcoNknL66k3LVVnRZU8lKYzO1Ydo4CvfWQg1vdN8w1EfMDe6hnUHdcFnmn?= =?us-ascii?Q?ttMsNMxuoAzRIVkXBO1p0LTx1SFC/OS6nkA+PMKash6Aint9+CghkuBDmLHs?= =?us-ascii?Q?8ROWsnoIDkIsx65RbflSny3jH0VYP+hlMQS7gwTltKVFcb5lujqe8m0GpZyF?= =?us-ascii?Q?3KkjxisguowYQ3mgicBQvII+7/UqpHrooSVMcDbCaTvlFJz2jvwZtTMmtF+B?= =?us-ascii?Q?E6lUhc3pHpLRkOc9JLZ+QzQXMQT4/KOCJtMOn9mdz4QcCvFbknfI6fTbEyZK?= =?us-ascii?Q?OaBfTGSJOXKKGHCMekdSGkEvOmtoFYrC53JYzu0LRyMaeXJgBIWp5M1uEsSz?= =?us-ascii?Q?kTnQp9zlljTjpaKsFGahs8plFOHefzn9rqYiDTl4+Uo18Axb7ot2o5RIZROn?= =?us-ascii?Q?qwgnFKT4m9Ft0nLeFhSJLKlHr/vhaZmU/ZfnUIYsYiCJlR6uHYG/QzdPj6kF?= =?us-ascii?Q?cSj3DJKuZRN0bRfI82UwLY6JWSIhEL27YbL3QXYP73LdTROLc84pVA=3D=3D?= X-Forefront-PRVS: 0343AC1D30 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39400400002)(39850400002)(39410400002)(39450400003)(13464003)(24454002)(377454003)(42882006)(6666003)(2950100002)(83506001)(33656002)(189998001)(229853002)(5660300001)(7736002)(5009440100003)(6116002)(3846002)(23726003)(50466002)(72206003)(25786009)(53546009)(2906002)(4326008)(42186005)(9686003)(53936002)(305945005)(8656002)(6306002)(50986999)(4001350100001)(55016002)(66066001)(6246003)(478600001)(8676002)(6496005)(53376002)(33716001)(76176999)(54356999)(47776003)(966005)(81166006)(38730400002)(110136004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1721; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR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69nvgy?= =?us-ascii?Q?1GMXxqaVWiias0Ox8tII4oXcHz/cGs2fqnbGw4C0fLpn/0RhVj1c4ehl820x?= =?us-ascii?Q?ndv2ibbBsUpfScA5BDm5UAbeUd+huNE/o7oupcl3rgZGP+SDHDB2nigx4Yms?= =?us-ascii?Q?3Os/vRQ8RpNAjOLsR70hzFuWqZOkLBrEHler+bkvdLkLpj0WPA2U1OcIHUyC?= =?us-ascii?Q?0T2ZLX/7UtZaxZqXtjLdW44cM9y1IrNFfbqs+mrdo+XF3SC9kdMBQ2wcI+mv?= =?us-ascii?Q?oDJE+J9Om7KW+bp7jbKN0BsnC+R7e9erzVyWyLb9RUP7SOBUX8x5RS8xm5C4?= =?us-ascii?Q?24RzwY7ZsGPFagkTX7H6cfLBHq4b0u+GUOrwNwqkojhAy4010EXP3f2VuG5L?= =?us-ascii?Q?Psx6NwUnMw2rktjoMcY1NivoNxuWJO0WsQqAdnvmTiW9Vi3mz2g9TeUvH7bg?= =?us-ascii?Q?CUw458BSzseMG15JwYThx/M0=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1721; 6:RBB9hLfV3JDJywaWa9p6uHg6CvGp0sRIlfEV6Fd7?= =?us-ascii?Q?JcSCCJdAAXUWknPibi69TW/Xvjb4+UWZoddV922hwiO47IQzzgRQz91EziIJ?= =?us-ascii?Q?VhqYXMz/Fhj/TvS8+Bm8ygoW4wjHPZGXNUybu/h/1D2INlORIg+76MWRbBbB?= =?us-ascii?Q?/I0IgLhESUPbKLs6/rstkunj1gzT7bZZup+4JPoogeVnL5yYp/+GrPb3fqO/?= =?us-ascii?Q?L7KbsM5As3qOtG1+u0eZ59OwxM7B2C8pOzB/ayUXE21M9q78TN9a1VxgnJxw?= =?us-ascii?Q?oSihbmlRw+E+olFSi0cp2SGVkDFTqkiLkhHfUdu/1Na/t3X0jVau+036nZHg?= =?us-ascii?Q?Ymu6mD0ig5rGFygsNmwwHOtAKkd4rlGL+oWw9g6R77d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0X5AxtPjDIPBAl4uZT0TS+uRA5UlDHakzaOudHdu/Ik1T0EGX+K8YMM9h4scpPNa1nfTns/y0uj9Vy7G3D3xrz8NV6MwUvX0jwuC4dkFFvVAeyIzSAudqHY3Dmabyhn/mG2s1u0msTADjvwGZiChR4tR8LjRrlksi9WVNmvtz2d5M= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2017 13:02:57.5212 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1721 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: Mon, 19 Jun 2017 13:03:02 -0000 -----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. > > > The idea is good. it will help the vendors with hw mempool support. > > On a similar line, I also submitted a patch to check the existence of a > mempool instance. > http://dpdk.org/dev/patchwork/patch/15877/ > > Option 1) requires manual knowledge of underlying NIC and different commands > for different machines. > > Option 2) this will help more as it allows the application to take decision > autonomously. > > In addition to it, we can also extend the overall MEMPOOL_OPS support. > 3) currently we support defining only one "RTE_MBUF_DEFAULT_MEMPOOL_OPS" > this can be supported to publish a priority list of MEMPOOL_OPS in > config. if one is not available, application can try the next one in > priority list as supported by the platform. > > 4) we can also try something, where the existing application can also be > supported. > - default mempool is configured as alias. This is with empty ops. > - based on the mempool detections on the bus, the bus configure the > mempool ops internally with the actual ones. What if both HW are on PCIe bus(That the case for us)? Any scheme to fix that? > > > > Santosh Shukla (2): > > eal: Introducing option to set mempool handle > > ether/ethdev: Allow pmd to advertise preferred pool capability > > > > lib/librte_eal/bsdapp/eal/eal.c | 9 +++++++ > > lib/librte_eal/bsdapp/eal/rte_eal_version.map | 7 +++++ > > lib/librte_eal/common/eal_common_options.c | 3 +++ > > lib/librte_eal/common/eal_internal_cfg.h | 2 ++ > > lib/librte_eal/common/eal_options.h | 2 ++ > > lib/librte_eal/common/include/rte_eal.h | 9 +++++++ > > lib/librte_eal/linuxapp/eal/eal.c | 36 +++++++++++++++++++++++++ > > lib/librte_eal/linuxapp/eal/rte_eal_version.map | 7 +++++ > > lib/librte_ether/rte_ethdev.c | 16 +++++++++++ > > lib/librte_ether/rte_ethdev.h | 21 +++++++++++++++ > > lib/librte_ether/rte_ether_version.map | 7 +++++ > > lib/librte_mbuf/rte_mbuf.c | 8 ++++-- > > 12 files changed, 125 insertions(+), 2 deletions(-) > > > >