From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC6B7A0C56; Wed, 8 Sep 2021 15:21:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64C1341140; Wed, 8 Sep 2021 15:21:12 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id CB42540E25 for ; Wed, 8 Sep 2021 15:21:09 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10100"; a="207712677" X-IronPort-AV: E=Sophos;i="5.85,278,1624345200"; d="scan'208";a="207712677" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2021 06:21:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,278,1624345200"; d="scan'208";a="538733391" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP; 08 Sep 2021 06:21:08 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 8 Sep 2021 06:21:08 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 8 Sep 2021 06:21:08 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 8 Sep 2021 06:21:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NxAsKf8ZlYVNJkxtmshYiZvTuTUwrRVeK+fyC9sr6hCkPJnJj/QZcGuBvrNMdbW+yiNIdiJEuh7uHZHxQuIDicbjF74UJW9x0BGHpx3vn+9Y/hlsbcamh0XzDoD+YcJM4ItoDVzCHtVt0b5OqEzykVP9PAr7qsgMevbCTgQVMpnWktmRTRnD6Coer8u43TlDlDMkqPYopcFNpnkrytJeCrIYaPaV82M3quIgVmx5gxTV64d4obhgQY73/vNCdiBz4jEuxLb14/nCYBln82ovWilWrpgWn56TFmbkpo+YMMw+eHJgUTStGO5J9pTW8VmIxeQqwfBISg2HHzvrFIMQkw== 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; bh=t70VcQmxPj0d8/hW6qLr1jCfnxna7ZdN8pHAGtr5j9c=; b=cKGl+O+OxTr9L4aR+RGYwPH/qR/DKyqq8VqDzu73art7st9MH8mir3Z2LthJW7bUhZBWIekxHU89N8O1a7rsGORqivuzVbdT5ygCCUgZmNb5Y2mWUfRUAzuq9v87/nV4UYaFcaDpRosyQJOWEEuyncGjI346XPCZifvbibnv65zkmIqZ9tJdpLpn/VVW9Cna9rtDxHxoMmxpID8xQGqj+KMn23snQJ45Yea6JBUWPgn9JPD3GcU3uxo1v/eiIfOYUEa3c7eq2Z0qA9fnk1aKZLCGMUbeFDLneASI1eFTzHb3XGoMbP8EFyN1nyUL0iHIN7xM6pLcvHY/2rfiCaId2w== 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=t70VcQmxPj0d8/hW6qLr1jCfnxna7ZdN8pHAGtr5j9c=; b=MQnLfGtbI2HeaoGmKpyuOLiIsQyxT2EhX0KlruuBu580bJ9Q+VhRd9ymvQKOoTiYKs2gNcz8K+tn8wrI5VkbulKZfy2ko391cAd2yKIOSa9UtoQ0BBzCqgG0c6afnB3hlx2zV/gAkAdigZaZIW1qS2RGdaS96dPjsbuHeuZfaw8= Authentication-Results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) by SJ0PR11MB5007.namprd11.prod.outlook.com (2603:10b6:a03:2d2::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Wed, 8 Sep 2021 13:21:04 +0000 Received: from SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271]) by SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271%5]) with mapi id 15.20.4478.025; Wed, 8 Sep 2021 13:21:04 +0000 To: Bruce Richardson , CC: , , References: <20210826183301.333442-1-bruce.richardson@intel.com> <20210907164925.291904-1-bruce.richardson@intel.com> <20210907164925.291904-2-bruce.richardson@intel.com> From: Kevin Laatz Message-ID: <97ef3967-baae-1379-a379-48f1cb9dde67@intel.com> Date: Wed, 8 Sep 2021 14:20:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <20210907164925.291904-2-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: DB3PR06CA0020.eurprd06.prod.outlook.com (2603:10a6:8:1::33) To SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) MIME-Version: 1.0 Received: from [192.168.1.15] (78.152.225.166) by DB3PR06CA0020.eurprd06.prod.outlook.com (2603:10a6:8:1::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 13:21:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 774a04e8-ac6e-4e2f-20a1-08d972cb8255 X-MS-TrafficTypeDiagnostic: SJ0PR11MB5007: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RdwZ31gGTIBCWYB1ON1OJjZ3Tt2cHcsYAETrkeosGscLNi/l+shKNVJNiA0f3eb0qbXaSaxGIBG7syICgs3Da1cPaEAOJs7TAxUSBxsdzmc2phC/xP5aAk3jiAyXOuh3kb6Cr8uC0SR5o/kKzjxIPdZqKIzN46tu+wFVh8NQLY2lsBWfKni0/0RTVHbtS+Loet6MtlvBiVzHCe9Ih6B+1PzzBbokM6NDdPzVOK3vPxPii80R7trDi0mI3RSzNbeP1ExRXedl5CJOYuOA3G/7e11YpBqu8Cbml8ayWHK4QsHuBbEDbBKpyO6hUW5bPg79y6yxbWaG+3t4+GMctOIll495pv/0TL1E4yiWIN4/G3GawkZ+lvfOUf+j4i7TgaPz1hscbL2pj+f4nSJrkoYthrlqZtsqzCWeh3QyK8IiiGvtyPjpqD/GvF/gsGb3wysTFkYcRFscBz3pe7LpzG9RstvlpSSD3RINX4Zmlsx6slUHGTSoGZEd0fbb3YLRHANuKsk1l2nB7JBMFU9IoKKVgKbLkzhYLLA+NgrkNZwwyVw+dnTkSOAYiBNsOA3aFV7zxIa9w/1aXAmbUXlJBaiARjtKwxdRjsDkQgjV8psFJGeiIJqkD+uzALdKCOtyKfmzWQrj1Tr6nHFnsth/M9ZRC8tWu8vxw/p+szEwhPKJ53f42gQj3zjq/RAxeD31acFY9pJYsmOAJJ9K/mevNfKp/s/heH9pDkCxxVh97/Ka62I= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5055.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(376002)(396003)(136003)(39860400002)(5660300002)(86362001)(478600001)(36756003)(53546011)(956004)(186003)(6486002)(8936002)(316002)(38100700002)(31686004)(4326008)(44832011)(2906002)(66476007)(16576012)(31696002)(6666004)(26005)(8676002)(4744005)(2616005)(66556008)(66946007)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cDJNVGFkN2tnT0hESzhoSUhzcWZXaVpKWFdsNSt3V051ZHc4ekxheTV2M1NU?= =?utf-8?B?RjBZYzJuTFVFM2pCUE1qTlJpWm5rYnkwdVJocS9paWRtWkR6S3gxOTdISjI3?= =?utf-8?B?RXVETkFjMU5VVldzR0t6aDQvMkF5bGdETnZCK25MRXBycDY4dGV4QXRXRjZz?= =?utf-8?B?U2EvVlVmN0dRUStScUJ0ZWZrd0JhbWJTam5YZFd5L0R4R0psbDl3VTJ1ZHZa?= =?utf-8?B?QmJuOUlCelFva3A4MUxTNlY3RFBaT1FjeVJ5SjZvcXBqVzhLS3V5MjY3RjZm?= =?utf-8?B?aE83VEdjekxFWFIreHhPdVUrU3UxRjR3NmlPZXpTZzZmZ2U5aDkwQklTaUxn?= =?utf-8?B?WXc1ajJuaDJWTG1DbDhkTUlYdEdyNGs1dXJDU1BPMjdxTFFnWTNaQUZFdXVO?= =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lXdHhDYVZVS0hpcWV0Q1k4?= =?utf-8?B?WVB0N0ZVQSt3b0FDSVR3M25MN2dQYzFFdHdGOHdGZmFOaTJ0bHdDQ1Fad2sw?= =?utf-8?B?OCtkSnlBcnl0bFZXMmJpWFhxc05lR1F6Zmw3VzlvMGtBNElOZW5pMzgxaFFY?= =?utf-8?B?OEdEbm0zbHJlTU9ENHRhTnRQajBsbFpOOXpqaENibHRXa3YycUxSODlOMU5J?= =?utf-8?B?Ty9sZkNyQWlyQjlZOWdxQmJrQmFnWFBuQ2ZqUi9QRlk1NU43bWh6aVcySXVv?= =?utf-8?B?ZDE2Q25xbEdjM01Mb08vK2J3RlcxMXVBNllEdjl0bHUwSnBoWE5kckNGNkhk?= =?utf-8?B?VlZPWjVXZUxtbHp6ME9EVUVoOE9PcWdDd0tTWE5KMkM1MHhhZlZiK21kUnlY?= =?utf-8?B?TmxSV25OMURoOVZLUWErWkdnQzA3YVpEa1hCZXNJUkVzZ3ZjN2JRTzJIZmtD?= =?utf-8?Q?hBQbpW3QSa8BZE4xIyOqT1PHmBSvJgFmcpMXaoj?= X-MS-Exchange-CrossTenant-Network-Message-Id: 774a04e8-ac6e-4e2f-20a1-08d972cb8255 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2021 13:21:04.1882 (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: ijX55ohlNLHCGreLkVNvQ7yIsbC5e7W3c3rS1V2euXcQ56Tfjk/5lmc5p3Fvbusz4f95OivhqaDBCycolaFDMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5007 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/8] dmadev: add channel status check for testing use X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On 07/09/2021 17:49, Bruce Richardson wrote: > Add in a function to check if a device or vchan has completed all jobs > assigned to it, without gathering in the results. This is primarily for > use in testing, to allow the hardware to be in a known-state prior to > gathering completions. > > Signed-off-by: Bruce Richardson > --- > lib/dmadev/rte_dmadev.c | 16 ++++++++++++++++ > lib/dmadev/rte_dmadev.h | 33 +++++++++++++++++++++++++++++++++ > lib/dmadev/rte_dmadev_core.h | 6 ++++++ > lib/dmadev/version.map | 1 + > 4 files changed, 56 insertions(+) > Reviewed-by: Kevin Laatz