From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0063.outbound.protection.outlook.com [104.47.32.63]) by dpdk.org (Postfix) with ESMTP id C19731BECC for ; Fri, 6 Jul 2018 07:19:35 +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:X-MS-Exchange-SenderADCheck; bh=8ZEHRnd+FstMDiEzn8fFYzc5lLBzGRKzqGJPSSd8lzM=; b=B9KyE55MjK8+KA7a0oNhtJ+FvRtGebF9BEfeWjJ0DxhAW16aW4QrW44iNBLEO0+m956AA51IT2+5zedWKZvPv9y8KDZF8ULw1sYkZS1XBd0j4/UtdG3Q/6XHiAsOv2YoZ8UQDSvdMQ3E2yUgyrcPd92nrJEUrUANUNyfJYpg624= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (50.233.148.155) by BN3PR07MB2514.namprd07.prod.outlook.com (2a01:111:e400:7bbf::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.18; Fri, 6 Jul 2018 05:19:32 +0000 Date: Fri, 6 Jul 2018 10:49:24 +0530 From: Jerin Jacob To: Nikhil Rao Cc: dev@dpdk.org Message-ID: <20180706051923.GA6922@jerin> References: <1530522674-167754-1-git-send-email-nikhil.rao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530522674-167754-1-git-send-email-nikhil.rao@intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [50.233.148.155] X-ClientProxiedBy: CO1PR15CA0091.namprd15.prod.outlook.com (2603:10b6:101:21::11) To BN3PR07MB2514.namprd07.prod.outlook.com (2a01:111:e400:7bbf::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5778ea22-a233-4e4a-7ceb-08d5e3000f36 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 3:Jc7NXa/drcEtE9BxuuwSfbwqmEspQIlh+OmlRQ3fEqGhUa8GdQ7ECa+OBmoopMEox/xXnqv+f22bp/h2R3gd/83MO7KmWtBG2EqKhl0xRDrFitpmM507+ChPVvCuOiCMuIqX/cg8U4klzAvp+TJGa6Ed4DOFm6puKgezgCdQqG3R1ky0Cfo8QrG0LTDbo5ywDsBy4uJSniswt6XS0R7joXLoAw0+ptnHgjoH9G2AT1OewXG42gaOno8OUbacJgB0; 25:WuS39uoiPJkHMtn9cudSHepsXJuQTG34FnIB6tCeQSzRibaJBzwf2i2CagcD+H7s75dpDcYImYG4Pd3F9RVCZ5SmPLZmWxTkH68WlD2RK9ZTqCc2rGirFy3IGyjBaFELYa8dyywJcPwORcMQlqsjgaWEXRNMJsDrg/Q7jJqxczd1dI4603VeXQVki2GH0D8RY3nptv9tjCo+aUC5zbe5chvgP1G8sy/bSaRfpUkTsisIrK8fUASg3BarxFeLV6r7/Fep6j1NjMO7yr5ZKWqe24VHJhT6pebf/zBFLbe2KzgCGiVmjPKYCwYTm19ZXJ4riHwe6B1spGv+AC4kXG35Uw==; 31:XfPwn17Ny+5Qq7vDsES4reyG0WRP1eT8wZMGYic43l5P3DhzSm9BAa+SsVgVWLx6tMn7BpmKzZnWDNjK3adeBIZNtOuv+ETVqazaBHo90GcxPyLFg132jrYCNBvAkEIyJUI/s0r9bNXJB7rBKs9eLWdGQMw4yadpkPT4sXEhGxGTtKcvQiNskU63/Wc7HBRQRJjEcCG6HjbK6utyJHle316xeyQYxs1O8rvqJ6tRAVg= X-MS-TrafficTypeDiagnostic: BN3PR07MB2514: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 20:Lq5bUjIDSjVSmABJZ5CLUehnvS94irrHwgBfGoOJQ+t/ZsTWGr47R0B2W9qFY8uMgm17t9MCt45pUE6YLAvBmfzRIKm/FeOf1L9eOAQUNyTD8/p4rVQYtNtUMbu5g9rw9qb0IHXyKETwy/f18KmjNAeA5+ugd/6VhMPBoIubkkp5bqd5bVUTnrpSwuYC8eGviyGl53p62yR0pL5d5ByNuCL+vw6WYSyIa6pIW5kP2QBJLU3WJFr+LXEkojCIUaUDsvhB7Ai2b1dD742wWguBCKE0yulYhcWYThKG/Mgg/5BTr43MlEGRekzaaSLRcgJBNfnCGCV88Jd7efTT7/6qjsCJ8/o1vVlZRgeJoMOvc1skxiBXCnQlByM3zo/m8RbS0GNWGIR6PjF1JTV6JTmPc2ye7I2xM00lRiWOm5Fm7wkdiYFGr84LHGTzDBvVGeF+UGlXUVplBr4Mgac5budPP5aQj1H0kRtwBKIsz9MrN5/8vGPJ9Klrxl7dnsTnTw1r4zUpW3HDHaCpSBq+CjZCfjEl9HysunkVTqY5Netx1asjzFiHkqpoW/ftxeSUaRgwfkAQjKECiyot4srWLGACDoTTbSkgGbtgXowvOrsehvs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231291)(944501410)(52105095)(3002001)(10201501046)(93006095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:BN3PR07MB2514; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 4:Igk1mnxeyh3xH4Ea6hskJtQVqLnUZDhGAsGWoBJP0+T+EOb1o0uCK9RJcI/N0FZt3XYmil1qkEgryake2Nk7Drlghj5y125+LpkV9zQWfLaDLk2Vsw/rYkdbgv/ezzjhH1dZ8rWJnXQsCtm72njrE5oWVBeMOi5gG8RaXambHDza2eJTL07l/4LXB/A9odf4g2VF12WN+9atp8dbi0nGH/Qf6UzrlbNfPzptB3GvsR5NUoLS+EXL4RQHPR1swgGpg4d3kVLpNiVEmuzHrCxO+X9TZ89EPzDb9MVgaa1T1dnJpT1NsAf7SKGuekH+5TNsN5vyRnMlKK5ErHaR8IQ3/w== X-Forefront-PRVS: 0725D9E8D0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(136003)(346002)(39860400002)(376002)(199004)(189003)(13464003)(54534003)(81156014)(106356001)(8936002)(105586002)(8676002)(81166006)(26005)(478600001)(72206003)(446003)(33896004)(76176011)(42882007)(16526019)(186003)(386003)(6246003)(11346002)(4326008)(97736004)(53936002)(14444005)(476003)(486006)(25786009)(7736002)(305945005)(33656002)(44832011)(5660300001)(956004)(6916009)(68736007)(6666003)(1076002)(52116002)(6116002)(47776003)(3846002)(66066001)(229853002)(9686003)(55016002)(16586007)(50466002)(2906002)(316002)(58126008)(33716001)(6496006)(23726003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2514; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2514; 23:CsSreMV9jFZ36+tHP1CLXHqu6OJVadpiuDFeByW3l?= =?us-ascii?Q?aLjuMRfDXolNTzxXwAXWcNXUsnGXiUfXdY72XYMu4TMSE9vTx6ogQ76sEU6i?= =?us-ascii?Q?FhmLF+AygVYa5G+OYzys5533SqEbQE9E+3ZYavwmbIC31MSiJy51i1kuaTQk?= =?us-ascii?Q?HSH7ne9pTH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d05UNr7A874BU0fTqbb5PKbX/JDtIGNVQ4zDEE8FBAuLqeANlFn3wy9jZdTze0DfpmR/oYEVTH4Rkipaq4MgBqmkBoRDgIleYHk6karHkiq1cRAXK7X2O35P4vzgA7rn1CBe2SP0AwqH95lRE5+lKYfDiLL08YlLBNq2X2MvDtNjNqlkRaR5VkNX2S8Fcr02BefkQ5EcM8+Sjgk9xxiFA4km0x/pc7rg==; 5:sV+T1G5nbclELV6kCGdX9AJwjJUpxyq6A5BMoS+/+CCjX8Th5oZOWJWF138/Y85JWVVb8b9C/XRAVwMsRDlgiuZGrZu5RLKrELCtZcaP588ENMhJLF4QrjxSAJD1uXBfsjKiaa2Wx8OQ983cnM5up1GxUXp3hNsep0+7CMMl7u8=; 24:jA8MtjSWBS4uqwO+69neHdwpZiUmgAxzTCFKHGDLUghX1Meo5mxoPh6c7xzuhzXPNHbGfZHaNzQKonkwEBbneAv8kGvfXgjUKkZExVIEF3U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 7:ysw1VKzNElRx671WOXHue1/P80mltgZyY5Dwbx67yAOgLdw95gnHR4+EtUJ30JDpZeUK0qaD0KEV7I5qUCkBg52ezOUfxyrfH+SjDu4SKImwReTTLIrtYpk0VX1XIpEMZio38LRcd0w3M1Ok8ra3JEbyExpFZFHO9UwtquUk0OiTlGBaJiqO7jzXl/iNvwkoPJpNtQIJvvOgxupImQIaiEo7o+ivTBUSPFQ780e8dQMzlSwdP8WlQtnTRn6v2dEJ X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2018 05:19:32.0382 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5778ea22-a233-4e4a-7ceb-08d5e3000f36 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2514 Subject: Re: [dpdk-dev] [PATCH v5 0/5] eventdev: add interrupt driven queues to Rx adapter 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: Fri, 06 Jul 2018 05:19:36 -0000 -----Original Message----- > Date: Mon, 2 Jul 2018 14:41:09 +0530 > From: Nikhil Rao > To: jerin.jacob@caviumnetworks.com > CC: nikhil.rao@intel.com, dev@dpdk.org > Subject: [PATCH v5 0/5] eventdev: add interrupt driven queues to Rx adapter > X-Mailer: git-send-email 1.8.3.1 > > External Email > > This patch series adds support for interrupt driven queues to the > ethernet Rx adapter, the first 3 patches prepare the code to > handle both poll and interrupt driven Rx queues, the 4th patch > patch has code changes specific to interrupt driven queues and > the final patch has test code. > > Changelog: Applied this series to dpdk-next-eventdev/master. Thanks. > > v4->v5: > * Fix meson build breakage > > v3->v4: > > * Fix FreeBSD build breakage. > > v2->v3: > > * Fix shared build breakage. > > * Fix FreeBSD build breakage. > > * Reduce epoll maxevents parameter by 1, since thread wakeup > uses pthread_cancel as opposed to an exit message through a > file monitored by epoll_wait(). > > * Check intr_handle before access, it is NULL when zero Rx queue > interrupts are configured. > > * Remove thread_stop flag, in the event of a pthread_cancel, it is > not possible to check this flag thread stack is unwound without > returning to rxa_intr_thread. > > v1->v2: > > * Move rte_service_component_runstate_set such that it > is called only when cap & RTE__EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT > is false. (Jerin Jacob) > > * Fix meson build. (Jerin Jacob) > > * Replace calls to pthread_* with rte_ctrl_thread_create(). > (Jerin Jacob) > > * Move adapter test code to separate patch. (Jerin Jacob) > > Note: I haven't removed the note about devices created > rte_event_eth_rx_adapter_create, will fix in a separate patch. > > Nikhil Rao (5): > eventdev: standardize Rx adapter internal function names > eventdev: improve err handling for Rx adapter queue add/del > eventdev: move Rx adapter eth Rx to separate function > eventdev: add interrupt driven queues to Rx adapter > eventdev: add Rx adapter tests for interrupt driven queues > > config/rte_config.h | 1 + > lib/librte_eventdev/rte_event_eth_rx_adapter.h | 5 +- > lib/librte_eventdev/rte_event_eth_rx_adapter.c | 1526 +++++++++++++++++--- > test/test/test_event_eth_rx_adapter.c | 261 +++- > .../prog_guide/event_ethernet_rx_adapter.rst | 24 + > config/common_base | 1 + > lib/librte_eventdev/Makefile | 9 +- > lib/librte_eventdev/meson.build | 9 +- > 8 files changed, 1596 insertions(+), 240 deletions(-) > > -- > 1.8.3.1 >