From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0074.outbound.protection.outlook.com [104.47.38.74]) by dpdk.org (Postfix) with ESMTP id 5B4DC8E01 for ; Thu, 29 Mar 2018 20:34:21 +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=E5CNqz/KLyAu9cf2yEg+1Qx5rT+gZesC46HTZj6a/IY=; b=SugI7U+sOxwy1J/f1ZnlGsXnkLal6hVbVndKqWaHk+YOhYWhEE6MLZgAzdOBj5wS0uXZu+rydBDyaNgqApunw2bBaltru3nwOF335xbiyapQVUt+eHl176lI/2Gu3TsRQ6ZjHaM9rmAad3we7CgK/u/UUTqYXR+1XO6U1vOXbVg= Received: from jerin (50.233.148.156) by SN2PR07MB2525.namprd07.prod.outlook.com (2603:10b6:804:6::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Thu, 29 Mar 2018 18:34:18 +0000 Date: Fri, 30 Mar 2018 00:04:14 +0530 From: Jerin Jacob To: "Van Haaren, Harry" Cc: "hemant.agrawal@nxp.com" , "Ma, Liang J" , "Eads, Gage" , "Richardson, Bruce" , "santosh.shukla@caviumnetworks.com" , "nipun.gupta@nxp.com" , "dev@dpdk.org" Message-ID: <20180329183413.GA8714@jerin> References: <1521087130-20244-1-git-send-email-gage.eads@intel.com> <1521555187-25710-1-git-send-email-gage.eads@intel.com> <9184057F7FC11744A2107296B6B8EB1E3FA88B42@FMSMSX108.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CO2PR04CA0100.namprd04.prod.outlook.com (2603:10b6:104:6::26) To SN2PR07MB2525.namprd07.prod.outlook.com (2603:10b6:804:6::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7205961f-4c9a-42fd-c59a-08d595a3af1b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:SN2PR07MB2525; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 3:ytBUsrjH2wiDyDMdOUoDmsOGcSH9eBLjLHsd+qGWZStN+/iXWJqf4ty26OmZTyQ7SBzqrEG4PtTb/4727QrvE6niTk+2/DwCqzJHPLE+oBnYBbMo7hkZWKOTnhMHi9lfA+CGO9hPa7bn4hhJbyV5j3kN4HqEsadA/Vx7K5+CpMrPfVBIZThq5zrBv4LOjPsCJj+YAdhAk60agvRH+HxXvQYT4mqcFdxS0DWMazFdehkq16Huswehd6q82kL62/wb; 25:XepsYgaajf7mXz8XMwEFwz609q4qyXeNCb4V6cKKbowhsVH91YVhUDrC9V9GjodErZaUjxFH9kqviXagq7+tKun8BIYqr7SW3j8W7Admu0/McskL/6BpD7L/ZAEzQ9DKvsi2ywh2er8MNNLX80GwyBkmx8fYv4sud52wcPUAtFr5y9lwbQ6tdAW7RjqdJE7WFRmGrvfXgi4PfeMAtA2PCtwOTl8wOENIKAN3a1+qmBShscn1tCtHb7NJ+DQGo948FDSQqrQhsHbZ661te2SWn8dqY4HdP3xfOMmXxMIi8TkhDoMdyUTgCm1WSMWLuwb0vuSrYh85mmHGKnuz2+SKyg==; 31:wC3Sk+UNETxTYnmjE2gLV+TLsCWRYBqyHjtDl9XegZ4HfFcw7sBRfAiSpfmGTyx/KUGHxoJFg1EdFUWSMnA3vZMhpo/JRLVExquHnVgJuCcQbfvgJqqqAqB5aaHF8vcKAs+vwFwZxG5yNghgar/VMfQeEBgPR6OnNtqg9aCbVuJuuDvisidJ9F5JMydozCFNqsnyBwJbEBPNyNA1b9etiOojeP1kYoVf4St1CFr9kpQ= X-MS-TrafficTypeDiagnostic: SN2PR07MB2525: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 20:1btTOrEKkzmye4r4EqA8Vdu/a7k6XhSoaQeJW7de2ajsO8UDADU+GMsOPFZUIc0DXhJWhU0KvAv1plVgT3yH8Zow0IlWPLx4TQ0hhT3OMSonGiY5dn4LuavSohGXQMshXi9F8v97twov2KAI604NF6uk2gaeXKbKmYbXCuIR9e1tzVCgH+bwNH/ZjXjJEPMW1/lWWYDbDdiV4DhDi0S9PniP+q60zuHhQf/DFljQ32vq9OiK9AIfwrgXh8ckKK+QIn1e6fAFr4asUwpXYbxiipDhgcuzc4Px7CziUxMDf9fz5U2FcJAaiG6j8p8CEYlwbHMWkDO9mm83/E3MG518sag4sS6WOnKLsynfVzD86GbR14DmD3MmnQZ2E/Gf42+w1U8q46kLLkQoBB0jCAITDH6f8uvBp/014m6zVNTb2X+RjesAmYZPrH5MoFSVtj3Gm221XkE5QMWv795ehWQJswpeuhFTGhbDb30r0nbaa6rDOnQ4pgkimt1BVsmi45gag6GG6pF++hhEA4R0BuNWjzTtWAGc6d32QcmpvcAhHIbPH+gSxMopEUbtutHpx/0MamtlAkH1Zbkoqa+lL65i4UZ+zO/x3TRcBAG365BxFjo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(3231221)(944501327)(52105095)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:SN2PR07MB2525; BCL:0; PCL:0; RULEID:; SRVR:SN2PR07MB2525; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 4:al5JCFOPM0+1dKHzU8KU0FoqaNe3PFAYIFN0n/bXC8xayrCvk78nL5BIvZxQLlu6dq4Br+NoP6bxeVFNsWWR/rSsIV4PGXZEL8qoM5gTeuwkuAO3sVnPj/dWAo9Pm42B4rFS76f6YOAoQYYhq6iJnDq5YmSkg+fCkkfiT3GgjNljfRoudtHQFRFVEucjaUibfkbfUSTtZfZjCmAiU2GHV+61lFIPX4NVJwouDjwZ3neyyhOtXOpdYyk6mYPx/NWEWV5sWny7GHpI263yQyd719Q9vxX5DTHK9nfYDBhBSjRkR8xGdgJPDNgcog7ssRjnRV9WQo86GSB8jEjm8i6CPlySzy0c/Sw9NLe/OEVdMKw= X-Forefront-PRVS: 0626C21B10 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39860400002)(39380400002)(346002)(376002)(13464003)(189003)(199004)(52116002)(4326008)(9686003)(42882007)(50466002)(23726003)(476003)(6246003)(386003)(11346002)(53936002)(6116002)(3846002)(93886005)(446003)(25786009)(956004)(486005)(486005)(7736002)(8656006)(6496006)(229853002)(305945005)(68736007)(47776003)(1076002)(5660300001)(66066001)(105586002)(81156014)(106356001)(6916009)(478600001)(81166006)(54906003)(8676002)(58126008)(26005)(33656002)(55016002)(33896004)(33716001)(76176011)(316002)(186003)(16526019)(72206003)(8936002)(2906002)(6666003)(16586007)(97736004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2525; H:jerin; 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; SN2PR07MB2525; 23:qfi5c/mppBkkbLlmtu/bVMCsMb1gVIB3jgd5TLqji?= =?us-ascii?Q?GzSo6MQmBxisAbWD5VP6TtPgY+o+njrHTsq7eBU2/e8iYg9VjB+Tr08Ig+Ee?= =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dfNzOe9bhZ7cLp/supjKe6sHbrzHH4ZmUFU+hPRIU?= =?us-ascii?Q?ZknWLSoDtgBJIQ25zppsezdiavgKhVs962cAR7Pzq2i/Ho4qqaDK2R37DBMC?= =?us-ascii?Q?62foNFIops9QjljXiAsoOEZ0JCtU1r7gVze998RoCaNZljV9uL2CoH1hI6eT?= =?us-ascii?Q?R+qkRZig2ASuCbzxXdZPW40csea1E8WZ1pdWCDeT7kVFCKcGT3GAtWHppJ5i?= =?us-ascii?Q?NMWM5DfrkoBmsZIGWZDDAi5/KwFiI6TINO1NK11ubN7daYyCxAO6WJzBGhML?= =?us-ascii?Q?WQS0XJXyGJcDOuKlsYrdVAGGccvOdP0kxATjeTrtdHdqtsoNnILnTXocZjRD?= =?us-ascii?Q?yoXNRkmFW9kjdsy67qSEHV5VdnotWX2P2295fyfNGBDS+QQT857UcO9NQFga?= =?us-ascii?Q?tnapPTGXbPWn9+HOxXhbuGtTi8=3D?= X-Microsoft-Antispam-Message-Info: 3ZtSDXQLgSN02OqDAf0E2avxbgwEGw8CzUUjumVOvArMMZNXyKhVLqlLmAozhz8aqsM4w2yG0+CaWg5D8wVpBs7fFvGIpyCJnhpgLTI5T/zrFvefWAo3KYMYtcoPo8phu1hD/BtFgWl1IkubxA6wUW15yB79oOygyNE8TMXhnzLXGX/AX314hC2JE3a62HZc X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 6:1S2s8180dQYMhfOfliQIAJpo8DG4eybQvHKxxemv6ppIrhYFov34H0SdJnk1ROcuBtGZC4YWH1y00uMWl7rwUJt4bAgqQH0JMZVR0uN6B7UK2RWKnzsxjGKE49GYwhuMYXDpMH3zkVXL7GspxSdJgW/ulyFnVGyJh4QGtyjOcLF3jMH4s6e5zGpYA9TC2rsjoNKyteIgyg9HKDnqXhoYZqOyJ2IhvYUfh8iBXPya5bCEXdy5B0Ht2aF6qgJz+LMA06rL4vVQQ6t7UDLbhpKjaRWJ5pQ3dOPHG2RgcEVHzEk94xQWwJaofXLcOZw8rTgNjU8qYRwqv5AxOyMuWgrhBoXk0QEUEd9oeVe1NFKmz7FX93Z96vO/Cj2KosFQgW6sFYn+gTZ4ZdxyglF3RDWizCugtS0zE4sZ9nTmSml6zesntVDcA49Wuqhjb5fbmDBNHOecP6XmySdP4B8Ucps7gg==; 5:1fmJU8A785QSK9Qhdv51XgDbpWaiie/fJVqBkPUlDBu1SfqwaPeECosTPIHJ/s3b17PyA4T11fkc3/PY9qXGNxa4whIc5hkic4gj0dgArlN548Prs6oNxUDbL5cB0Ec358JOriQuqkPwHnVEVhR+SwiK/ZH34wX3W3+d4/gyG6w=; 24:osh2HslfRt1hjfcMpJAvc7MZDT3bTz63wZkzZ+rY0bzTL6h2QjkkEss4gkzmlg/sg2BmPbN3TdyfhOpKJQhwqDMjKmLC61RlFj8/xT4f9W0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 7:sDPBM2vdofI7sZ1xGHX+TwndXtgl8g4ZM3ckiGLpy4A6VeVeRsf/tuNSEQ1ZSd0Uvc+CI+nyLOnYFQg0MgDt5alF1ypg3W2UGprfWXJBpnbDXc+MxJh+HnDAYIcUP5emIcVuyMCWjh5chdQRdi1NSJJSwkQpuNjpS/QERrCbK0omvK2vS590hDwzKN3U1whrEeJuoI3tGt8AROvnQSJcS1Pepjxo6/MrDGTyCZqfclCx2MEzvQJa465DS06a0jed X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2018 18:34:18.5490 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7205961f-4c9a-42fd-c59a-08d595a3af1b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2525 Subject: Re: [dpdk-dev] [PATCH v4 1/2] eventdev: add device stop flush callback 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: Thu, 29 Mar 2018 18:34:21 -0000 -----Original Message----- > Date: Thu, 29 Mar 2018 11:02:55 +0000 > From: "Van Haaren, Harry" > To: "jerin.jacob@caviumnetworks.com" , > "hemant.agrawal@nxp.com" , "Ma, Liang J" > > CC: "Eads, Gage" , "Richardson, Bruce" > , "santosh.shukla@caviumnetworks.com" > , "nipun.gupta@nxp.com" > , "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH v4 1/2] eventdev: add device stop flush > callback > > (+Liang Ma for OPDL maintainer) > > Ping to maintainers, is the below suggestion acceptable for your PMDs? > > Summary of suggestion: > - After event_dev_stop() dequeue() is no longer allowed on any thread > - All events in the system (queues, ports, intermediary buffers) will be passed to a user-supplied callback for cleaning up events. +1. That's works for octeontx eventdev PMD.