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 338D3A0C56; Wed, 8 Sep 2021 12:50:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 171AD41194; Wed, 8 Sep 2021 12:50:46 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 34E0F41194 for ; Wed, 8 Sep 2021 12:50:44 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10100"; a="220505869" X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="220505869" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2021 03:50:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="648432649" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga005.jf.intel.com with ESMTP; 08 Sep 2021 03:50:43 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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 03:50:42 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) 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 03:50:42 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.49) by edgegateway.intel.com (192.55.55.70) 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 03:50:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LtNwo0x+189pLm5ns+8oXDDyi6Rymzf24xEq1h2JlFqMVM/fKHAuNB+3wDQcuu8TrkxJFwqNVkFV5PeeN2XPesuQr4lCeFhSu8PxXBkY5nlQEtGKZ42Wjrr75k5jUN/iJaVifdiVmkEWVtOwAa1Y2yAlcN3mnnPfDxhgo2miyxFe/P3z3dIvuWw9Gvwr0zTRKXTeCp5EqAApuQtyOvzqUfYz0GkZhfU3S9L4gC7EZsxPOoqUcTfshi3hhwGeQOSRC45EEABxJdSCcwYRxCTc6bSz5AP65LE8Bv/hOpGXTHuh50mzmBqdcaY4fE5giCtsm23nPuQJ648FWk/gsENexg== 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=zyPkAhuIP+PKq58aee/O++Zfz/u0pmNMx0IFVUsWxuI=; b=SOp+4XbBwbFzbxriTjadcnBGuK2DzTgC1sigNJXWKLN53snGZDguDwmVhAhNUn71fL+OwFSC5mHyomX7hEeahrvKS9HZIo3f33E7ohuumFoj14QrzRbo4t+r1gNres9APEbfEvEDC4+fneAXVyXqMsMtKVu1UFg+hA8G/lEJ2/NGS3yyrcWcNzX10qVk/YjjrFc9h46wAyGTGbRtfZAhdsy09WYU7nSPzb/RpSbGp237uket2aujFpQYz3TB64hS1ptM9s1MpZAS7g1GDYnsW3cpCzs0xQJ8Oqy3/nYCEyCfzAyxqqNhNjhiUM0rzi13sjEYbbpiBsNX9KVyXTd2jQ== 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=zyPkAhuIP+PKq58aee/O++Zfz/u0pmNMx0IFVUsWxuI=; b=JvNS/TFvkFfYTxMv4yIbXVWRhRR4UVK3We/xrM6q2zsaleKabGY1S/hY65+K2X5uUWEIDkUQv4slWyBwThRPN0b9Q7jXYXFuUpVXRGGP5dM5uEVVJa8rQEVh0i9aVgzn0XP1xO+mf88misISkpi4SMR7H/sWolBNEwy3Iypri+k= Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by PH0PR11MB5206.namprd11.prod.outlook.com (2603:10b6:510:3f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.21; Wed, 8 Sep 2021 10:50:40 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::c42e:f6ab:d4d6:dc8a]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::c42e:f6ab:d4d6:dc8a%6]) with mapi id 15.20.4478.025; Wed, 8 Sep 2021 10:50:40 +0000 From: "Walsh, Conor" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Laatz, Kevin" , "fengchengwen@huawei.com" , "jerinj@marvell.com" Thread-Topic: [PATCH v3 1/8] dmadev: add channel status check for testing use Thread-Index: AQHXpAhh0Do+EcWtkUSmavCudApc5KuZ9ZoQ Date: Wed, 8 Sep 2021 10:50:40 +0000 Message-ID: References: <20210826183301.333442-1-bruce.richardson@intel.com> <20210907164925.291904-1-bruce.richardson@intel.com> <20210907164925.291904-2-bruce.richardson@intel.com> In-Reply-To: <20210907164925.291904-2-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3ff3277e-287c-4c9b-ef4b-08d972b67fd9 x-ms-traffictypediagnostic: PH0PR11MB5206: 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: TS4LDJHCrXB7WEoKlCzuuIADa2hE2MxdpGrmad0DmPiaRsHv4GN4C3nUG4pk5NM2VPgcyXGNI0g1ST5k5PF4XpmaU0m95Bn8Y42/B0U+TOBzbEssjgLjrPfUKxiCPF/Bw5AUz5kf88IJy2R9zJvy+0rZtATAwio3yPu68/PnMEIoXf0bw2Ty3iFvnMuFQW3JHAiuQHGinEaRzgVAogp787/NCwc947oKEKJYyJ3vW0wqZnRqj1CEMmCsOjw84GczDTo9KLhmWdl/z6fNw/KNdABCWlbrlYGLNSts4fEN2WnVWokXPuvoWsQEElCmkzl7P+TgOsPyDKUtbRifMdd69had3r+3tED1J382R34aWv0zZ5x0rp/X4tVnsKmmme8mf1z4MMojUNvBLP+4lMzQ6jZ5b/jNMQj506PmYPGzgHId7e9/XlwGmMc3hjpViL/SarzgfwMNypOrOo8H2l4mJKt5qJtORfW3YEOaDEhP7scL7GLZRtR4CkdiXTq0hRtyJRxEL2QbSNU6jscrfjktmExuO2IEs1glA/fMzGa9/i9dOPBJDYxvjKaxbf4JaRvaWN29zyriNsK8g3g/WS6wNQuRT9NDzwGCb7xe1cKwZD7VXqVazDLcXdsd6VPenkGaZrvAn3YPO3BTn/Nzjp6R1my1Tz/WM/A/9RdeFunzofy1CoRmMXPPpbzS3vaxnVM0JKG1b+OK71gHER42VZZk2Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(5660300002)(38070700005)(86362001)(71200400001)(4326008)(316002)(4744005)(110136005)(54906003)(9686003)(55016002)(76116006)(8676002)(66946007)(64756008)(6506007)(122000001)(66446008)(66556008)(66476007)(478600001)(7696005)(38100700002)(33656002)(186003)(2906002)(26005)(52536014)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3LELAKsft7qwPqrFSuvwVV4FOIdDyTLI2K2sqSOS1Sc4/qqMvAosfcemoaGm?= =?us-ascii?Q?TGwm3sG0XAnSab3/kpo0TX7w+aNoy9RrYc1CR4HVVHa4QdqC/1t7KqD52DpQ?= =?us-ascii?Q?0uZltj0JP9J86EllhkWs+ILFsq361btlvNBuI+6YqJEgAN/NWTz0s+5C6BHZ?= =?us-ascii?Q?4p95eAVNUO8v9+hLvOJIs9C1kkrTkqJEz7tcU8OWLu2fj8xF/i7s/lFlN7jI?= =?us-ascii?Q?Sr2TepnDhqbSjnj9/V+M5JbF4kr3zsxmnrZ9C0pmn4QvJrGKzo2sD7JP8ASQ?= =?us-ascii?Q?vD6R+PmE3NpPK2h3B3qsK30/OOZWEJ0n34lg9in/2Sxybe5bKcnruCCh91Yx?= =?us-ascii?Q?cIPc7arhoc7KcYZTFRIy8FbSFr3BFo99cC9uhKNfuI1H91vV/yPbgbxjmOLj?= =?us-ascii?Q?3qw8yHTIqiU6V1uYTd68l+Cd1sFq2MDVLwC+Yk3Wv8bZmISwahpxB8Zk09oc?= =?us-ascii?Q?MMbziU5i04H2NCQJekw1AixBEEGgoW+4ELIiBEtyR6I44pozCMTURryU7a4V?= =?us-ascii?Q?U6GZOY2tzzZgjjuDHBeKDPmk7LP+mqjWcNqmpTycEhLaDucVOeeRXv5B+LVE?= =?us-ascii?Q?lcNznOsjH/yCDN9h3h3P0Z/ammmVOXuxL4IAw5SSzV8Ub2fN+mBryNK+PqC4?= =?us-ascii?Q?1xJUONWNGaHg7rlKUO8T1Kdksob881TwHlv6AkfOZXBU4P4pJIoGZxWzYpON?= =?us-ascii?Q?UheHkW6WwralaHnTOtVveB9b3Y2SUBtgwXJOKjoe1Q4vDHTNTVq9K7exF7G5?= =?us-ascii?Q?Z5nlc6lddWJzScxHQnoOZzffD3uP/LU63F87bsKCmPBAOgQI+LKYswaAsCee?= =?us-ascii?Q?6T/RmZjmcy5rzOoW8JokAJKRH45YiQ7NwnVsgU4RECM7IJknhoOGb8313Elz?= =?us-ascii?Q?FEEIihSFYg9HFXlbDP05Ng65c0yufLgvnCswuVNplfjXUj51pBUrSu/R18Ey?= =?us-ascii?Q?skkvX/sUuj0pXhXVU7q9dVQrRKy7ZOUSpSZk9+1F+vIhMINMS1geX0bUmnOu?= =?us-ascii?Q?RD2Kl930lHeW7pZAQI2RTFINDiUpBjD36QF+KZ5a1+BbgWTrF8ypp2yrAbRQ?= =?us-ascii?Q?9pJHnCexsJC7E9woj2DIISKcmsK2nEaS1Kle4jMqj2xedQH1YMJrJ52GNCRW?= =?us-ascii?Q?cfSs+MvFNy/ptEsbP1FCqT8kXC4A0GqFmUf1X3FBmRJnweGQEf67sr+1tUYB?= =?us-ascii?Q?i838iJ6miJ5VQwSDs4KFVg07hZywpMacNc8x3csyQDRF4a+YiXP7TVSLwxQS?= =?us-ascii?Q?20NFfekfSuhWgsVKL3d74dOq2nxGyRXwzfFEgRYZG5SooDwm89kKG6prUvhF?= =?us-ascii?Q?ako=3D?= 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: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ff3277e-287c-4c9b-ef4b-08d972b67fd9 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2021 10:50:40.3333 (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: hlYsTrLqXqNoJg3OS662c+R3wNEHZhZpnRYL5W+R2um3afx6vL84MhjRQIKufPtUOKXCxMSvzaSrAfCS/igs9Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5206 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" > Subject: [PATCH v3 1/8] dmadev: add channel status check for testing use >=20 > 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. >=20 > Signed-off-by: Bruce Richardson Reviewed-by: Conor Walsh