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 3FE29A0C54; Fri, 3 Sep 2021 18:12:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2386D410D7; Fri, 3 Sep 2021 18:12:04 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id EDE7740E78 for ; Fri, 3 Sep 2021 18:12:01 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10096"; a="199001311" X-IronPort-AV: E=Sophos;i="5.85,265,1624345200"; d="scan'208";a="199001311" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2021 09:11:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,265,1624345200"; d="scan'208";a="429717233" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga003.jf.intel.com with ESMTP; 03 Sep 2021 09:11:53 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 3 Sep 2021 09:11:53 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 3 Sep 2021 09:11:53 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Fri, 3 Sep 2021 09:11:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EEqw8qLOa/0ITkJfg+QZId2Dl1A7ALh2k14LC0IB76hIncCFygueFHt4CflMcI8Jo5agwfMVJ16Q3EZiG+G/Lf7v7v85oAocPSuMuoQmukHsqhvjBzcpG4TADau0Zgrqb/Vl2xasQD2moC/XxP4IS+NQ4Lhi8CN7U7uOte1wRjdGpQ5POrZ1VNJaltwViqo/9LukgLDB3G+FPop7pYJFFnt5sCghrTrq+N97GrXHdtBHIzfQbeqLBEpCZjC5LeSFR1vNEudjjgV4cVGCYqpwTvuNEN1/i7Lm9+1CfpChxpDmM/WKK5MkIXJKar99T3xABTU8WHDyJmx1MOg5nKDjcA== 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=aOGhPICKbQSK6tnpaJC1MgQXIhuPaKET8rnRMr7Puck=; b=SqvgPkBC/09FFTvqG8gnOXMcNlOVNejSkyfQaZ84hnbTTwfIyyrZhyITW0q0Uy8Xr1OsiM2QYX8DExbir2cgmWS/JjQELZL7jnI+d0NUEeSHomgXJ/pKeZCOO0HW/fC4EziGk8wglHNMFfa4Q5o8R/8u7eau4vD+3PYKFGb2o1x7N49wdGqnXQ8Qo8HWxBUT1p8yGTjdMGVkG0gTLGPuVTclzdKqga9r0QVHLvAuBkWBlgmxL2cZpLn229maTB6SSZiNdBvd8KPAuZ3RFLxhfgQa+9V/fV0/PRszH/WsotKAzsgi7ShjraOPwYBC9LxRFbcXvzTnU/hCU9+2DG/OsA== 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=aOGhPICKbQSK6tnpaJC1MgQXIhuPaKET8rnRMr7Puck=; b=dgIiloPcSqKCvAhp4fmdqcP6WSq4Cq0ZNdnOvwLjwEaclttpPxBu13ZcvVIIMU9xoddgjUjP/RQgcb39ioL3MDQWGWWynX66KMT/g1fAEuBhGn5kvaHkgq1k/8JNyI3TsWeCF31DwqwrKKHNJoaIw3nI/7JYrXaKAXldIrKYJqc= 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 BY5PR11MB3864.namprd11.prod.outlook.com (2603:10b6:a03:18f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Fri, 3 Sep 2021 16:11:50 +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.022; Fri, 3 Sep 2021 16:11:50 +0000 To: Bruce Richardson , CC: , , References: <20210826183301.333442-1-bruce.richardson@intel.com> <20210901163216.120087-1-bruce.richardson@intel.com> <20210901163216.120087-5-bruce.richardson@intel.com> From: Kevin Laatz Message-ID: Date: Fri, 3 Sep 2021 17:11:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <20210901163216.120087-5-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: DB6P192CA0009.EURP192.PROD.OUTLOOK.COM (2603:10a6:4:b8::19) To SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) MIME-Version: 1.0 Received: from [192.168.1.15] (109.79.29.175) by DB6P192CA0009.EURP192.PROD.OUTLOOK.COM (2603:10a6:4:b8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.20 via Frontend Transport; Fri, 3 Sep 2021 16:11:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 86e382fc-d926-4864-ae08-08d96ef58992 X-MS-TrafficTypeDiagnostic: BY5PR11MB3864: 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:3513; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q2kTiIzeALFip/5nI/oEaDhqIVe65cgeBf/uPuFowlV416/N3KOrw2wgmr7apADHY8KRUAoA9PMjldsKRKGKVhhmkMABC50M0qL3hEIwxfA4c7N0fzTYtoOFA9/Kx3upiqkXsN+3A86BNPmkrR6J/ymUW/uuvtsmMKmAqoELBbMr2GRqgXQQ2NPr92C1zTJq6M7w1h2Hcj55XIX3hmKwhrDk2FiBUCgNgBWQLqcMvI13jjRyjlqN5P0Vw2UiBX4XAA7wUBp/drj3nzi0yYfTGN/rVQ2YvpKRyBZTGfFWIxHtAKwYaEKWsZmAZFrfO4nZdy2guvCYEeO+nYHGpqLo9gFVqbAyfAJGilahAWttZpET20Sr2k0ArQv9l+cCTYlwwekNkMv7ww2IVfAkqzpwHRoVYjt07nGrLWcoqfGLjBtpLcv29nV9UqZn+OALCpGtGYI+67AhKrckx/I6QveKy2VmRlZZaWAmzTyY/dCLf8sXUPGvXszW9cJF3E6gQQSAApYeMu+jL0enAC3cFu9GaG7X5j67EuHtRt++mTiWEv62Ucmnn0AXpHsSY2G3/seR0xrkAuFMZfOq09TJDL1II47za6K7V4/clM8tpwv/jfj5RaqSzBB0dtKsA8EX7c2C3ozCLsHYN7uMWZJ/yE4GG6oz9SQ9rhlUqzTS+f+hR8BerNEDFjAALSqOHQvH99HXJdCn5qCQn8uQRivE4hAQWrTh3XEhCYJJLocXMod7/Zs= 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)(136003)(39860400002)(366004)(396003)(346002)(376002)(186003)(478600001)(31696002)(6666004)(36756003)(66556008)(26005)(4744005)(66476007)(53546011)(31686004)(4326008)(38100700002)(66946007)(16576012)(8676002)(83380400001)(2906002)(44832011)(6486002)(8936002)(2616005)(86362001)(5660300002)(956004)(316002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Yyt5SmdSWlMxdjQvYzlQaWZLNEJteXNXQU9NMGNYbjB2MzV1YU5BSHlkelpH?= =?utf-8?B?ZjRJRHc2dU1pcUNyb2xVZ2NxUVJlVE1BY3QwMXpIRDJqZllUeWdMZy96bWND?= =?utf-8?B?T0hBNXlGWHBCSWp0aHh3cC9ESVFWUk1XVGR4akNzWWdZS3RHYnVrclduaHN0?= =?utf-8?B?K05IMFNiRFdLWWMwNUdnRGxqWE9uVlZSWHdyNmFwWHRkdWlpSmtlU296eUtR?= =?utf-8?B?YmZ1YkZYZWN1MEVFT1RlN0JmKzk3dk5DOU1uWnlsRGdFZVNaZnBsSzJycDVz?= =?utf-8?B?N2pBb25MTFJRV1lyelEwYzdxWnR5ejgxY2liVXlPZWFnU05IS0dBb1NjNzZ5?= =?utf-8?B?b0xhQUZzKzF3Lzh6dmcyRTd1UWZmK0NyaUlhNjMyVG41and6Zjg5WkhMa2Zx?= =?utf-8?B?R0VCK242WUg2R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WRJUDUvcU83MVBSNStxNC9HNXEvcUdPbzZVRjJpcHcrdXVjcUVj?= =?utf-8?B?SFdOYmhtU25MU2lob1JoSkw3UmttVTZ4T2N1Mk5qZnFuSkE3R2dCY1lDczdl?= =?utf-8?B?Y2piSTJlN3dMR2drMGZNaEdibmp5WWZCdlR3SmZVbS8zQTBCVzExcXVuT1M4?= =?utf-8?B?SngyalBPK3NIL002Z2dDMXN0bDdXcVNwa3EvUlF0S01qSEhHN29tcGFvR0ts?= =?utf-8?B?ZDAzZDFtMkk4M1BHbzBFTzNsNS9iTmU2c0VYb2duZk9IbEljTFA1ODkzZjh4?= =?utf-8?B?Q2tCN1ZnSzBoTTh4b1hiZWtBdVN3Nk5ZTkZtTmVsMkRmVHhUZWRNSXYwc3BF?= =?utf-8?B?RC9jeTRySHFEa2FueFJ5QVIxOFhySTI1K3pHZXd1UUhMU3dtZSs5cEprd1g3?= =?utf-8?Q?OQWPgH+sIORtvt1ae9FJ8Xaj7yfqS4TkQ6ov9ZW?= X-MS-Exchange-CrossTenant-Network-Message-Id: 86e382fc-d926-4864-ae08-08d96ef58992 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2021 16:11:50.4775 (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: UQhZQNQc3VP8voSYl1cq5+c8bCyZ8eUd5wLwV2NxEfmhW3SezjyconZNh9jL4BjzfyBNgx8rRhI/ggltitbopw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB3864 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 4/6] app/test: add more comprehensive dmadev copy tests 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 01/09/2021 17:32, Bruce Richardson wrote: > Add unit tests for various combinations of use for dmadev, copying > bursts of packets in various formats, e.g. > > 1. enqueuing two smaller bursts and completing them as one burst > 2. enqueuing one burst and gathering completions in smaller bursts > 3. using completed_status() function to gather completions rather than > just completed() > > Signed-off-by: Bruce Richardson > --- > app/test/test_dmadev.c | 142 ++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 140 insertions(+), 2 deletions(-) > Reviewed-by: Kevin Laatz