From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bn0100.outbound.protection.outlook.com [157.56.110.100]) by dpdk.org (Postfix) with ESMTP id 2AE2E2BD0 for ; Wed, 29 Jun 2016 13:19: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=L5+LU1oPwLxygyZ2+2Q6ThJapRLFk/fuLly1MZLiGBI=; b=Eo8UH9PafKpOkpMTO4Yu26AKRT8H7xwSi8hAxY9nSqXfm3WWUq3NbMoahAN2OXX20URyjhp1i/KxgG0tqqWLN50a7XUf44+nELQlia0oAm1Cac92CQUnLCiPjXwseyn5zsRUKRqQHfqR6AFxQr2aAwmHCYBQzha0n/UGzbUAgXg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (122.167.198.169) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (TLS) id 15.1.528.16; Wed, 29 Jun 2016 11:19:08 +0000 Date: Wed, 29 Jun 2016 16:48:49 +0530 From: Jerin Jacob To: Thomas Monjalon CC: , , , , Message-ID: <20160629111848.GA5301@localhost.localdomain> References: <1467028448-8914-1-git-send-email-jerin.jacob@caviumnetworks.com> <2275187.xVvf3fOqxc@xps13> <20160627144829.GA25422@localhost.localdomain> <3436400.asiby3BQPB@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <3436400.asiby3BQPB@xps13> User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [122.167.198.169] X-ClientProxiedBy: PN1PR01CA0052.INDPRD01.PROD.OUTLOOK.COM (10.164.136.152) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-MS-Office365-Filtering-Correlation-Id: f1b285a2-2fae-4363-b734-08d3a00f31d7 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 2:EXjdyJCJnjw12ZRRFYO0mZusYo67bPhY5KQGjhjxbypKszKiWWYEH/1MjDoBaLnbKFLqrp94L+HlqOJMQ81onOZAngEVlfzUhM004ovTjtWFYQnY3oWSikkcec9YyZdmX0YvMob5LTJ+R5t82fUqGRigas1qFO9yir3sqrM66d0/FK7fZ21Z4TPd1Z7/CUi0; 3:QAzmhL31X51l0igxyPXYxeE6WZDIyv1UCTimpZPHU5Yrahr6rMOgHVT2u7FL0DCOdM9iso1pjkyLgMHMGY99z61mkTJuBW5rsBDdYmoB14Viri88n6XF3PZhr7dm0Ipx X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 25:GHtCikvdpaS/g9LRa74PG/MUUNhOBE7ajh+PVc9XDWdd89sTs6petVpQQAwLBKRTcs2R6cXajO8YuLcyrISLAJckAF7sJ8+1z7cpVVvwhDBTwxmDUXmFwKxSkduN6kGxPxRkWKHtfK+Tucqxo3BH6U7UBuvmpgaiylZx1/Lt/6+BDxpUyPNoFAL8ur4bmwiuzoDl1Ku++xRqrRwM447DqEBjQ4de3LzwKSxWYhI2kPyHU+ymeGVgS5ilyy/MZRtCbBTjWRajG5ASuyslUs5jZsw0dA0gAoknN6ywl8HgswbXFpwbNzHAatPcSVqQkom5b/S0zAgDogmIFHngpCcrBWsCtEd9ITppy16ptm62Ytza4g6gzGDfs1rwJXrlB7fpzQSnDaYUsU+9ZwfDEy00U6VH42lm0vQnVS7U6b99+NwtO/j1chsYUKAvBnj2zkFheX9uCN03m/KIWHH9kqvRvxp+InLFg2HEfmh2Lu+/m6gXOw3w/Ac9fPmlRDn3t8RH4tPLoo7pjnpJ5xWf2E4eZUQRsItHmYSo0J7q3Rj1oh2dBmjqe+FR3fCNed7Bw4vmX45F3GWIV11d+0aF/tD5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-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 4:KdoWV38wRRGpHniobWTQJadO/0VdkpoWW0+9YVhSMP+GjCaiJoM1RK6wWkTz4xDk1LrGlYQhC/fBbKxix37M17dshhtKDTfINRODKPrugxIdumxzj5Du3CD4ykTRA30KjR5nisCoD9qSLJUCZbMSWCtc6DK6VfWoO6JUTbZfd7OYxCLeBJwjIY8nsioTRh8OUvLXcZIFB3XyA8ujT0QIVxvlD0hegYsTZycQB2np5efzznjoweWNWWa6dON4vnBwchoLyMHzVYZblPnbPMkmtlM3a7vYDBQlONG93E8mAgRXOEBonZxJ6SdnzB+njlErAn946fT6r1i8muK9G0ihOC3iWWWQni753xNP7mX92FOnZ/MDjKD/JWdZ5Tz5Gq27 X-Forefront-PRVS: 09888BC01D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(377424004)(199003)(24454002)(2950100001)(42186005)(97756001)(189998001)(4326007)(2906002)(4001350100001)(93886004)(106356001)(23726003)(3846002)(1076002)(6116002)(76176999)(54356999)(97736004)(33656002)(110136002)(50986999)(305945005)(83506001)(586003)(101416001)(105586002)(68736007)(47776003)(7846002)(7736002)(81156014)(77096005)(61506002)(81166006)(9686002)(92566002)(66066001)(8676002)(50466002)(46406003)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; 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; CY1PR0701MB1727; 23:4QizNmFmMVO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GPMViel4hXovw5ZklmTHELUqmuD3tWCWqbogCx9oywhVA4PQe6a1vlacY1pMMtmBfKD+140GOmLPQaX6CRjetXH1Jne5tdj79RVmau+g/wLoPpzTLSgJQmUOovRrxQSM3pLdGzlk2o3rNcwf4Lek0w+nYI SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2016 11:19:08.3911 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: Re: [dpdk-dev] [PATCH 2/4] virtio: introduce RTE_LIBRTE_VIRTIO_INC_VECTOR X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2016 11:19:13 -0000 On Mon, Jun 27, 2016 at 04:59:42PM +0200, Thomas Monjalon wrote: > 2016-06-27 20:18, Jerin Jacob: > > On Mon, Jun 27, 2016 at 04:19:57PM +0200, Thomas Monjalon wrote: > > > 2016-06-27 17:24, Jerin Jacob: > > > > --- a/config/common_base > > > > +++ b/config/common_base > > > > @@ -267,6 +267,7 @@ CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n > > > > CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n > > > > CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=n > > > > CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n > > > > +CONFIG_RTE_LIBRTE_VIRTIO_INC_VECTOR=y > > > > > > I don't remember what means INC_VECTOR? > > > Why a config option is needed for vector implementations? > > > > I thought of adding additional configuration option(INC_VECTOR) _apart_ from > > cpu flag based scheme in the patch because even though if a given platform > > has cpu instruction support, in some platforms scalar version may > > perform well wrt vector version(based on instruction latency, emulation required or not > > etc). So a top level flag INC_VECTOR, can override the vector selection > > for a given platform if required. > > Isn't it a runtime driver option needed to disable vector virtio? > > > Regarding INC_VECTOR(INC in vector configuration name, I have no idea, I > > followed the existing flags) > > $ grep "INC_VECTOR" config/common_base > > CONFIG_RTE_IXGBE_INC_VECTOR=y > > CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y > > CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y > > If the flag is really needed I would suggest VIRTIO_VECTOR. OK I will change to VIRTIO_VECTOR