From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A381DA04BA; Wed, 7 Oct 2020 23:21:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E1E1A1B677; Wed, 7 Oct 2020 23:21:30 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id F168A1B673 for ; Wed, 7 Oct 2020 23:21:28 +0200 (CEST) IronPort-SDR: VAF36IGrgh2nYcq0J+phZk6PP0iiFcFw5FGOKCjv2einJs2rVrMVROGVztcp6OEcF/rRQSvqhh 3XtTbCxi90gg== X-IronPort-AV: E=McAfee;i="6000,8403,9767"; a="164361730" X-IronPort-AV: E=Sophos;i="5.77,348,1596524400"; d="scan'208";a="164361730" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2020 14:21:27 -0700 IronPort-SDR: RL6SJk8oyzWE4eepnR4Ax6zjAiaPppHr8wtW05o/Lqjr1XJfJoVwaIEDl9W6S+OuiWzXiWFGIe nCq2qZUh8Vpw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,348,1596524400"; d="scan'208";a="349201980" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga002.fm.intel.com with ESMTP; 07 Oct 2020 14:21:27 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 7 Oct 2020 14:21:26 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 7 Oct 2020 14:21:26 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 7 Oct 2020 14:21:26 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.103) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 7 Oct 2020 14:21:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZWeUbXn2aeyselO5a4o53kfEPe17UhHHrcZuwUj1juOekKH+suXg4d2sFMKfB3AixCEuhwcsBl6FUrOZySIXcBmG1xW8Tjie0HJF1ZUtnT+C9lBZNRzautTvIBPOT+Eih+L0wnlLKvjw6d5TZk0sQOBrkdYd0Hs6Czu8lLUkuZY+GP1L0Ye8NMYYrXO0QMj8Ecms9i06V5YnhtpA6WmwpUQ6xbHI1GD9DU4cYxXvuVtYrXwRa09irYdEmDvyuKPDm538ju0K1asfDSV9kO4aqXSZfGPH8q5BdCh4gC4xfHca6sjQ4l5rwZUQYcWqQpvvYAPWnc5amRhkFXJeWvYj9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j1RPk/3xP0tFapfXV5KnP+XNqIXJO1e/92z0ho1Jsjg=; b=LJc9vTe/CRraaSwFdvcoVZ8VQqyzWZ19iSnukAzVnxZy7S+em/ZJ7mdrKraVu375+tyZ9nzDW5vbyfV/rXbAFup9yh085KoD/HD5x0M8CpXhu2VglRy82uKvicJpnA611IwXC+WvGUwzh7wGELcQoVDL9I2ZXJ+0I/wm9y537p+NkgM/RrGjigVUFdz6x0bbHvC6l5HkJPOlsKHPdCaXiJVjL2fopHQvpWNzygzS+ehz4X7GIhs/+xM16tByz/SkXd82YBmxpuyEWS84kWG2LUtzTKNaXFunU0oqw5OSN2wUlteEKuA5+PFooQs3BolEZoLTiJrT7LqDZrrUysIEbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j1RPk/3xP0tFapfXV5KnP+XNqIXJO1e/92z0ho1Jsjg=; b=Dbzkh6MiKj8bubvvMWQxu+fZr2uqiijbpZd7tYczwiC0DuCNJVpAe8C8Bk9gpAVApFfhgxHNCGoaadg42Q2OHF6bzMwtMDBxz1PsDScsaQHWJAMmsfvhDq8e/f6/YyxclYnbIbAkrpGGKu5kPNsKBq1LwpWQbf3g29LeI4qsNJ4= Received: from SN6PR11MB2574.namprd11.prod.outlook.com (2603:10b6:805:59::14) by SN6PR11MB2575.namprd11.prod.outlook.com (2603:10b6:805:57::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22; Wed, 7 Oct 2020 21:21:22 +0000 Received: from SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::902d:8f85:ea05:a7a]) by SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::902d:8f85:ea05:a7a%4]) with mapi id 15.20.3455.021; Wed, 7 Oct 2020 21:21:22 +0000 From: "Eads, Gage" To: "McDaniel, Timothy" CC: "dev@dpdk.org" , "Carrillo, Erik G" , "Van Haaren, Harry" , "jerinj@marvell.com" Thread-Topic: [PATCH 17/22] event/dlb2: add eventdev stop and close Thread-Index: AQHWiHpg25wQdNzlhkyQGmufq5kvG6mMze8w Date: Wed, 7 Oct 2020 21:21:22 +0000 Message-ID: References: <1599855987-25976-1-git-send-email-timothy.mcdaniel@intel.com> <1599855987-25976-18-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1599855987-25976-18-git-send-email-timothy.mcdaniel@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [68.203.30.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7d2004b6-cfa4-4204-2061-08d86b06f08e x-ms-traffictypediagnostic: SN6PR11MB2575: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KgfHUbs3M5N3JyApa2hf4uA0DM0YnGKbUz/yQzA8Sz+u/OyEcxUqnpAxBNtdxRSo+Hzl85an/DoE7OdzNbPwnkZjFdDxbOD161nsMpIYBEByBAnQhU+FOVgeay7eE08ZIY1mLc6III2VNswhHHnBUewk1KuwRe7xweKxQRcON/EXMBVeRb8hKQl5DInZWQ3r8cvL3cULq5pRZvpYi7dlkc46isnw8iai8dGjvtGsQEFwLlH1O30TB/dyo9RzeYX2V0EN1Xy99HX9aAqsCFH8YWj2apVqShmA7WR2E9s/InT5KFnJ9j1iPZS7sllHUwan x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2574.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(396003)(376002)(39860400002)(9686003)(54906003)(316002)(186003)(4326008)(6862004)(71200400001)(33656002)(83380400001)(4744005)(26005)(6506007)(55016002)(478600001)(66556008)(64756008)(2906002)(86362001)(6636002)(66446008)(5660300002)(76116006)(7696005)(52536014)(8676002)(8936002)(66946007)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: SsQCz5r7YxISGzx9kg5u9C/J3Ku9WsbQ57+LCurQtg1Wsg82MTmWf1g835rZhkyu7JblSvLaHSJSLwNhbN/aCPYq9lhroOz5e9sD1qGpNsRWphg7iBsAp/phPlLKHM5cH1iM5ZetMRu35/xcom+OfPGrDT8x5CmItZCBKduWxUlm+YLc2QtcHKCxZFOzNzKGbLeNEfNrpnoEAPNj/aLLy0+RErM+5Sd7bgZ9ifwYYeYj+nv9PdRMHYa3xxm0QWDwtLgt9HTzrbnRC2aKeEiDdZfgGX0lbHn51cJJYVAjHGUNyoODLpJnoNKEipKhz1DJae+5uAGyjai89nz5A3kCXaMe7Qm6V5uhiSs2QH56B4huS/KL1iNR0RLjK6DteQd/meruKI9ZbZj2jkMcU9SYj0UpXxxXBumWvURV5CtzXcUe00FT8EiXKk6x+uOGL/eY2zKDNUSf+mrF5UTgUCu/8N95iyrTg/yhzkrMicXi2Kj9ojFvCJ+S65Qt+re3Y/yFKpJpGgVou6KYYs1evP7l0WXqKyjvxAvYY2VKabN1/MQJvqZEoox9AoihMX2vr2srXQW+XBBwKo5LFsBTxCtVOB6DjT7zy2n2TkZvbc87OiTZdpgk/U0cxAIqOwFjlPBTQiZBtNG2Lj51dCyxGbobSQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2574.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d2004b6-cfa4-4204-2061-08d86b06f08e X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2020 21:21:22.1258 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EWOAaGjQW6IyujvCSEtbgbGQi0pz/aEaYYvzkBiDJ66x8ZSXxUE+EsixOiAKD4RtXtbibKJ5OAnqFX1WvlLyEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2575 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 17/22] event/dlb2: add eventdev stop and close 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > +static void > +dlb2_eventdev_stop(struct rte_eventdev *dev) > +{ > + /* FIXME: Handle the case that app threads are waiting in > + * rte_event_dequeue_burst() (either blocked on interrupt or in umwait, > + * or waiting with a timeout). Looking into proposing a new function to > + * wake blocked threads that the app must call before stopping a device= . > + */ Leftover FIXME -- otherwise looks good. Thanks, Gage