From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0088.outbound.protection.outlook.com [104.47.34.88]) by dpdk.org (Postfix) with ESMTP id E71C12C24 for ; Sun, 19 Feb 2017 13:38:08 +0100 (CET) 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=rg4qYjD64xp5m6JHd6eo3i+NHhLk4w7UxVUmd9s/qlE=; b=C99q5LtvuhQXmZYlyV8eCjyPuMmpHAGbkGvhDVtbVAvSrMZirTrbb8zZaCRqkPaxIhqACHB6IQ1dRRaIufip7S33tyeI5M84PMRT8YBU20jfS4/DMHyX4Zj9DtljjIycY8DrqUdinG6QldJkdBzqQS9LRC4Ci6IILMopuM6KH9M= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from localhost.localdomain (122.172.181.0) by BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Sun, 19 Feb 2017 12:38:05 +0000 Date: Sun, 19 Feb 2017 18:07:43 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org, Bruce Richardson Message-ID: <20170219123742.GD7400@localhost.localdomain> References: <1485879273-86228-1-git-send-email-harry.van.haaren@intel.com> <1487343252-16092-1-git-send-email-harry.van.haaren@intel.com> <1487343252-16092-6-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1487343252-16092-6-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [122.172.181.0] X-ClientProxiedBy: BM1PR01CA0060.INDPRD01.PROD.OUTLOOK.COM (10.163.199.32) To BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) X-MS-Office365-Filtering-Correlation-Id: f2ab97e5-26fb-4305-ec74-08d458c427b6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 3:RYyUAMNxgIMQlpYQFxeQX3BU57QbtnmFuqbahU6ojyhCiePGf+jLFwxBDAXwGoYuEw7EWz/PhwwBZg49fzWMocaJwzJ6EsjhwIH/rtFRLHp4viOO79lYmSDXU5lHnhsJomI2DjM/ZOTmfVKZdXC1zy/bRAPGzF7rvnxXWM7WibOrOFGF4xtzqXZMfzm/N0k2tfgu2EGy/2q3uVFJwg2s9yOWIbpi4OXezaMQZvGpo1B41DR5P1ed1EbvdE1lZs8Y2DTcIKe9VjfodpjopKDc0g==; 25:wV4yDAg92QgW3t20qI4wK6Gx+aGfzqhK+5DlOC9mIpK/xld1Rr/9lhm0/aSmd6hhvt9bvU73gOpPXNRoXUD3yXCJ/pQNf/w3DxZS5uADjQ+PR+Oodh2WzNDFeqTUX5Izoy4Z7EItkMy9z+sR3JUS5sJmXtsUVusg/bWFrmxzWSKCsywVX6ezoutlrifcR1wWy1gXXO/mkkqAik784DGSLmg9oZYExs01Rn3kmvyB3UAAXVOw5lmO1ss1TVmjlFuuY9ZFsbQsB2Mx1qsH49XPyHHG+TNXb68gKxNTVpQExiho6GX5grpC3nhuG7aHu6i0HRLrUVE+SVWb2fqI1raxgROfSAeqvjL4Elk3cqVIWzE5syaAYwdaLjyfeU4azDBUa1gUe/w852QK1icGoA2S5jz0HBJqCDVzB6kN0ti4thZ9erX1vAR5ZxpPGsWcQF+q9hZc+8EU9iNT7UIWzh/qaQ== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 31:svOxSZsXpJ/wCZwEa/BsdHggBOwayZLoPzx43qABbknIs0fzomUepOK08J3r+ioQQgnspa4bni3IDMruvWdyA5AJ+FuKTtMrY5anwLKvpxPH1CrGxnXXfevNgxL0kdWeCV0DF+jO2870pEbGXpRg4WYAPSumgJAwdHw956jFyjCmbYwHQv81b+t1fkC0fMdru6RUfcKKArrVAINWNVe0oVY4dFkbSRGOLsBd0eG7pFdXlD3OmDAyaSKzHNbbfZPD; 20:MuWAZ7AKKHm/iySmBA6zDBYOmo27TyaIGsFgVkV3vMdSr7665FaVdPu+7c71mnYjVZOASAljcaiOUXc9kd6v4ejLZrF0+MGOXPA4QuPKXCX/LeNlUEYOGNNrDY1JeT+Wp5pX/9Q0nBH1E38fUMIlStIB6keqVVeB26JOyceqsQAKa+SAha0ri3Ff4Tn/Ax2wCxEnii4y3cRZYVQlWmfv2KueITToR/DXA6cSlsm36kQlpi8e0DUuaJFhoCLMjuHE0j3C+N8d42SIMu4h+7VNbScZOTqnJ50cLbEmFjiXW3n4hWT/eS7mrdpGUvcs5Hpy1tb2yVs5BPva0YGmoTY79q2hbgcpSJXHokFr9OlhLzeNVCDxHKidTju4cxXENZCC3lBGRn8mvOpLUdU3Zx0FrQjbl6M2am63oMdTOW9JwIhOXKN0qoTY2KE9ECPKYaM34sN9qMkAoHH/FMe18abce+zviXj7XhRmbgo3Bzct0Qj7ZDDKEJGbIYOBa0/UsL7ATEvnI4ght1HvDY7bDJqTaJpzxeqEutRCalg6Y7hRuDMkDjl7s3dMV/1n33dBpkcx76RH5j+4UBymQtADOFh6bqwzPUga4Fi7pN/ZMxj/mcw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123558025)(20161123560025)(6072148); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 4:+iXCp64i/3QouZoK957Yl/4KiLh/L31Ox9/Wl0rm+ZuHBtGj/AKiyyRRt/WrQYlOjQYrrxwZqYxTb0V81qHdvddx6GLp06QMWpWfeGBm+ptOrozELARZqjiPAYJPUZag1hW+UvYk9ThkrRPPqzWbnYx1IcE4KiMYw5vtu8xoe6qItQNDrOK28XgGWnnAbuEJWQA+0ZAAJW1DrYzUhJ+kZBmcAzY5ZAw8IGxI2mJ+2q3+6qbKXWjBzCHBt1qQjqn84xqboZwFLUgdYZUTaGTMGpGE4wzujRiJpN7qBJPo4o40yoZ0Amruj03UEX8k58QXUyYtbOH4Q8Q1CDk8oiAZR4KR695moF57a91wB5l8VSIU5D2hkGS+Y9pJqLgmzKxULlOpo172ph1sxxzqSsWmyS6aUxANmULh+Q/Xao80GMhJytWuGyIVELqcga4gtNlq9NIZTO8WlbMoBcQRGzn/mNMRu6ctnldByojxx781u3AIzrrHkdDvxVVZryxVXaawBFJBd3fVO+UIMYNSwdgrJ6M24uu6jS7QKy6KcJ5APjE8hM3DBSRSV66Xfv8K7lFxDkWOBqw5hVZYUObE0Ob6BvuXfREvwlcDT2WikqhFpjt+FZVWCJp/AWLiGXi0jnrafOPhQ+TJVE4a6O3a7HIWJw== X-Forefront-PRVS: 02234DBFF6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(189002)(199003)(24454002)(83506001)(9686003)(66066001)(101416001)(4326007)(50986999)(54356999)(2906002)(305945005)(92566002)(189998001)(42186005)(5660300001)(7736002)(76176999)(3846002)(106356001)(42882006)(6116002)(23726003)(6916009)(6246003)(1076002)(105586002)(2950100002)(6666003)(229853002)(53936002)(50466002)(47776003)(33656002)(4001350100001)(6506006)(110136004)(38730400002)(8676002)(61506002)(25786008)(81166006)(68736007)(81156014)(55016002)(97736004)(18370500001)(7756004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1724; 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; BY1PR0701MB1724; 23:D1iagGVrdSFEUFwzZEXRzjujUDb+8aXTkBkr6o8?= =?us-ascii?Q?XgZVP0/wDI/XcnSaEpkTgiIzMWQtl7Kc+VADYpaECmkLl3AgIrenqmc7vA5O?= =?us-ascii?Q?PjjnjvMaH/5gbI+SDX82/sHwCzCqBHrvrF48vPl3+XW+yemhajbzxlwQvVFt?= =?us-ascii?Q?5DmU1jLysXLfLoEOHdfl+m6l9j7MgXYe76YoS3PD9Ep10lwlYd10a+STkK/I?= =?us-ascii?Q?G3PhAs8a/eDPTfiijAeiThprKvbtOa930oa485vs7c5V5oJB2u9V9lN2pwBh?= =?us-ascii?Q?YKnJ3mBrk6pFiEZcq293dU4rTWVTHrHGuj/TenJBRKFHdzUg55jO/Diu+AkC?= =?us-ascii?Q?XHA/hpQ26ijXf/gJfZLD6V4TPUNOtvcyB+C4wQTQFeRQT8HdAZN/h9BI4y8G?= =?us-ascii?Q?zNFJWPJjZ4bzN1TMjE3/8E3QFdxw25QNQ/d7outz8B5tXcixFCCi79YmGwJ4?= =?us-ascii?Q?kPVDh1HVnwkHmpikCgzxFvVUX9vQPjGvrvZop6X0vxp+n6Q7EZm5g9kC7STh?= =?us-ascii?Q?lYh6I86T1D2GNfTyVDDzGI5e5Saa9VXcWmy3F6pzdorfOMUEDE0ZEvuW+SaV?= =?us-ascii?Q?B370bpVijnExvP3yBqFmCUsfoiXn0BtDhG9LNRHroxySzzZAFJwYIPqsRedU?= =?us-ascii?Q?NTcnJapIAgmrQoazO+heEosyNwOB25Xpw0QoF4J6N4nqeSDWHfA14fi6fAtS?= =?us-ascii?Q?NlsBm3KrKy+3dgNWpa4VJFBz+HhaQJi/GnpzvL/JmVO2ZrqA1+XS4wuMWBM3?= =?us-ascii?Q?VObc1BZ9FVKHzLUU5Is6n599+edod5DalcmXR4z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7yQwWn4qxLW99DBTVNIZFN9/ZnFiIMqbllfBDtJL+AFpxr2EYKxrBE6h1YVa2R7XK1zsLvdDdi3tP2iIAz4rK0D/vs17F/ytir6mgaqiCGJLW4I4g==; 24:CmFvdn60qjLSpzBosV0YXeNRphmA6VElTrbRm6nxHYhs6NzXrtOtf30UM308vggBNotAIohvhY74Ee9QNxyLpZAFPFuYi16hmBvYpWvIq1A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 7:7dsMIBi0CAwiKYnttbXYGL6MRDcZ5db6AMvvPpjzrDjqeF1tdSPVxrE/yLap7+nuWbVr6oIrSmJNfQg37w0ZDtnOoQlHWNehfeA2d8+/nUwIe98OSwNacKnc7Ey0cNWZ0P0n6+1YAoOWelwwmKaN3mbn8lXKmp50Y6rKDhwIVKs4yWUUEfqaxaGuTzhQMv7c5DkkthVVKRXPOF8YcUpcTqcgRXzSdP7N5Mghe9uEKC0+ktTr+j/MPw+wi7rJ49nV7ihPCWQzlbTbelWKI710N9oG5+ICgr2NGsSQW3PzWiryFeb73T1hk+InBbVmz32U3TuFCRc/SwUIIhOQYmMLvg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2017 12:38:05.0309 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 Subject: Re: [dpdk-dev] [PATCH v3 05/17] event/sw: add new software-only eventdev driver 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: Sun, 19 Feb 2017 12:38:09 -0000 On Fri, Feb 17, 2017 at 02:54:00PM +0000, Harry van Haaren wrote: > From: Bruce Richardson > > This adds the minimal changes to allow a SW eventdev implementation to > be compiled, linked and created at run time. The eventdev does nothing, > but can be created via vdev on commandline, e.g. > > sudo ./x86_64-native-linuxapp-gcc/app/test --vdev=event_sw0 > ... > PMD: Creating eventdev sw device event_sw0, numa_node=0, sched_quanta=128 > RTE>> > > Signed-off-by: Bruce Richardson > Signed-off-by: Harry van Haaren > --- > config/common_base | 5 + > drivers/event/Makefile | 1 + > drivers/event/sw/Makefile | 66 ++++++++++ > drivers/event/sw/rte_pmd_evdev_sw_version.map | 3 + > drivers/event/sw/sw_evdev.c | 177 ++++++++++++++++++++++++++ > drivers/event/sw/sw_evdev.h | 148 +++++++++++++++++++++ > mk/rte.app.mk | 1 + > 7 files changed, 401 insertions(+) > create mode 100644 drivers/event/sw/Makefile > create mode 100644 drivers/event/sw/rte_pmd_evdev_sw_version.map > create mode 100644 drivers/event/sw/sw_evdev.c > create mode 100644 drivers/event/sw/sw_evdev.h > > diff --git a/config/common_base b/config/common_base > index 2538f4a..1121e56 100644 > --- a/config/common_base > +++ b/config/common_base > @@ -458,6 +458,11 @@ CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y > CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n > > # > +# Compile PMD for software event device > +# > +CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y Missing the CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV_DEBUG=n here