From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0054.outbound.protection.outlook.com [65.55.169.54]) by dpdk.org (Postfix) with ESMTP id 1D412530A for ; Mon, 27 Jun 2016 16:48:59 +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=Km5dDZNUQlWSLsAz3E0gjfchhp2yflURgNB+ujFoQVI=; b=CiusGW9Kbm0SWq8zyHodJ94vgAF5xLg32Wh8X3IL6/C2uKsbmH+eYo4ABQlA4q1Huwdc3PV1kcnQO0/KWluv2Mro8LXTXSbGbvG441ot4j5wp5MwQxnlK4+jdvpbvgNP3sgaNvhZucr4MttooQ4ySvYv8pZXp9s+vuOGepRPtqs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (111.93.218.67) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (TLS) id 15.1.523.12; Mon, 27 Jun 2016 14:48:51 +0000 Date: Mon, 27 Jun 2016 20:18:31 +0530 From: Jerin Jacob To: Thomas Monjalon CC: , , , , Message-ID: <20160627144829.GA25422@localhost.localdomain> References: <1467028448-8914-1-git-send-email-jerin.jacob@caviumnetworks.com> <1467028448-8914-3-git-send-email-jerin.jacob@caviumnetworks.com> <2275187.xVvf3fOqxc@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <2275187.xVvf3fOqxc@xps13> User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0033.INDPRD01.PROD.OUTLOOK.COM (10.164.137.40) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-Office365-Filtering-Correlation-Id: b2b45917-3349-4bb6-1827-08d39e9a2970 X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 2:OkOgBDuSPDJ2Jo30cd+kTPhjApZzNK0Dfh6mHDSK7eMzDDXNLmN3KgpQ6wknV7QaVTwI7a/kif6OlKy7JzGTsuuDNsxkGPOblqxdgyAjSnQkOzKuOgjtzMFb3DvD8r58Fm4A9THbWzeLTwcvdUzoKAh0ELswyQERG9WBbHf8bYSjegP7AHzAe9bjlyBa18tK; 3:DEBLBju4hBXVAbNaqF69SNN1FZbXQ95KLdPGlyM+bGceKiQ/JVm2JVglY3pSV2vcvnaF0jRPRuYxmANItFefA1oMJ+o/0DT/DGExyThl2u4YSCLFa6oLIT7uJJfsHTQk; 25:YAfs6lAkplt/i06mApTNMz8Dq1kAHOg6P5Txy0poHpVVD2pf5eJaTwE5ntpoGRNuYct0t0DexVlT8NcO8nsC5MxYx3brYiyU8eRoALpG2c8Esf8QZ+d/JnWqHdXOybtFNru7KyboGuvHfdLLPUYbQGUVfVi+gs4uS76EVikR2sU9t5AFXH1FDjZagN5qxnvHDaOtsM9jeqZbwrTdCO3EE8DeFnKmJzwfuFKQ1B0pCE+Qet/3aNZVLom9/vb286sOuw39z47MYfGgaydExCkka6xUDlsnz/F0Pbwy2/UDQ2beVO71D60yF/Bg8iy/avXk+UTo7OJomq9LAUIeomk7sz84Z021p+6RIFg+66oRXBuQI+4pBPHb/9s/4rG8rro0B0tHqwi16Nug5iDs6b15vnNRcY6fkjRf8Lton/Mz+nw= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 20:HoJeG8aSJSjI1U6CFEIi4ZLLNMO4Qvarq1ijvxTMFjN7XM07o1NgJJHHc+hpr8HjLIXoqB83kGrZltyTkd9IiYyZovjQhbi9yvQLUEEXHP3i6uzDuYbdIbl6gQrvXpBCH8t4BQLDR83NMy1NOtLomjs/omaPZ4fbf5//NeJ0B4k1WhjW0LCeuenTHx0S2fDInnV8FxUZWZzDV1V8asNniy3QJTjsyI9lMIpSdJIzobFf55/rSl4tIWckBjcXClQ2L6tjwdqU7q+d9TeiR4D6KqjtZwvI6prp0myZN8mpUe3dfyfyrWzsRYmKUHDKYA4KCYZr5NlJSZwcKeozS3b+F5FvliT55xbTgkr5uikgtizfHdezXnFJKSKs6cLxFZkoBCxr1PLZqaQFQqA3hIXdwR5dCH5GoBi+K/+p0cxp3O6K1maf/HK2woelTAxjjyw4YBB+g8IjKToHZ/SNhRfIU+EWGoFzJ/D/satbvFxsA2iyJpYmpK5dVPtFzbKdP2xCGfJHZ3AhZs9TGZ4Ng9ySWlcNcBuLsovUiP+ujrzc2g6bhTRupHyOOWOsaqCTn2v0BBxiXGQdYxepEQQ70PM7BATXREiLv9mjWn0zpNgMykc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 4:mokvIg+xHkwIfZ7mLw6MYzW9r44MUoNcKRMI8ZTSNQT/aoK+rUuzRoupUcqMucub4SLolYHpEwvZZHRdidoDLRDZeroaVh8e+kl/dB+hPaWdLH4iYfKBG+7j3Bb31m21iJ1ZZDe31OQHEPM3n2C7YyibVFiE7QtARX3Yat4VuYN1mtKYN2dIfJpuIPr8U1BQO/I3LJj4sXF7NY3U6W1y51i/P2t9zbItLPpqeenMfVwWhJJd7ljU8O33liriJpXhas95OSfxJihk6kFXu4VIFyrPcS6fEMGIXfRbrX+qEgwEdYHS97aQsZxIXvpuK8Wz7WVqBi8AS1qcJqcvxATSVgaJDcFn6NIdflmwVQ90l8PjLSTzI70qWygRYgdOuZ2R X-Forefront-PRVS: 09860C2161 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6069001)(6009001)(7916002)(377424004)(24454002)(199003)(189002)(105586002)(92566002)(97756001)(83506001)(305945005)(4001350100001)(106356001)(5009440100003)(97736004)(50466002)(189998001)(2950100001)(61506002)(110136002)(77096005)(101416001)(42186005)(50986999)(76176999)(54356999)(47776003)(7846002)(7736002)(66066001)(81166006)(81156014)(8676002)(2906002)(4326007)(33656002)(9686002)(46406003)(23726003)(586003)(68736007)(6116002)(3846002)(1076002)(7099028)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BLUPR0701MB1716; 23:6KlVGRnWW8XtEuq8wqMk6K4ZIKb4MXEGp4YXaQr?= =?us-ascii?Q?e+RkQiZKLtGDk8Br4/fsBWhX9/NDrYSGQGL6GAr2v7iWXfryDITEx8d2Jrvm?= =?us-ascii?Q?y19GYM2LtIYGtYAJ55+dMRZkEZ1Z7msakQRHt8WDggdX8IjyAuUaCnw0PZnM?= =?us-ascii?Q?ZUftJVO81CfpdR88W0U3HJVy1df5FLwhRvVW33UA1h9/k+G0EYmmW922V8c8?= =?us-ascii?Q?fWT8SRjVcmIjHCUAkLAlDHy1a59VjwunjgwIFtCD2X+paKn8K1zvBhIQYxwY?= =?us-ascii?Q?I78JvF2y7khOMsWGtfiW8dlIniHe8rmQBgx9DYTkGYXcZQAbpHfcNeVEs1pe?= =?us-ascii?Q?Q/N5QR1TD+DnCX/QD7G3Tp3Bhntq3PK59V6oVeFcTpNXC0LsigVJzTz7Jid8?= =?us-ascii?Q?DHC+PlW1vWB80VrT3QoCn+5G5q7+pCzxA0KYraulycwBmH4GjUB/3Ql+KfeX?= =?us-ascii?Q?kFrZ9GK62XnenJMLSzIv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p5DirA8aiY/fgt97IUq7eoXxGBksd5tK3TUP8DFJ9zPHWlJEld8kGWRsa2eW8KpQeudxeAbrmuC5s5JSEHyw0OqketBjtoi0Eslbef+qbcDvYpIduW8r32C5OxLTVMYriOC2Rs5pwrYYI8imPknpAAjCcu1mwwDgsHTAcP7fO29aGSjzEPn5w3TBpBVBzizYARol0OJczPbSkDeObcXJ4mw3+PKf66AhN0N7URr8HsZwbSfvPG/62vb4OPs7c/RJ6OdkWDJY; 5:ew0P1Tu6zQABRLSpfStgAJVF+6N/xDQAIz5iqBeL1S9vpp59XsYzBnLf3vjBildx5KFlgrUv3gb2vLZv7P3buNRRf7Z6iAv4FkHZUb5+ow7JyZqfIImgzog411eRcJ/aP7rnDYgvKeZW9+vq8HiDTQ==; 24:wo8ET1I0u+PTZqJlUcqN14EQdZKASGRC8L+yRVU7P8kHtewOQMnFsVEgY9lHyFRSHD1FfjKA4vmThPDFIqX8/C2BU664WaD6eu6RcTO2SaA=; 7:+FRXM5hC2wKnpTqAHwcs/bsnSfwg3l29Wzy9Tvq2csleSIdS5BeVB+dLdB9o2NQxv80HAWkorH9qMoEscjl4D3wp5AGXBerN23N762i+7L60AY01IM/52lqOwy7eyfRBKoqQeXuLdNpY7JmYtLJu5ydD2NLiLAF+aK0X/dYFZ+j/LrZw8MSA0JNQj8j8ZPfh6uItoJazok+RvcdFjgTKlxTkR+z/0lmE8IP1QqeZ+IL6SRx+SRXKsSA/EMYxg2e78XkHX7BbVmeYO++LKR6PgQ== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2016 14:48:51.3666 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 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: Mon, 27 Jun 2016 14:49:03 -0000 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. 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 Jerin