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 B1E3A41C96; Tue, 14 Feb 2023 17:06:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE5B942FAE; Tue, 14 Feb 2023 17:06:04 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 8D8B442FAE for ; Tue, 14 Feb 2023 17:06:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676390762; x=1707926762; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=uv4TA94hnawYnrK1YD0X//NJCW3ZA6P0M9rOcEAQ6ss=; b=CAykwUDh6bSdldioqObKceupfv0YayX3oT7befFH2df6MSuv25tHZq8L 1xvvWp7UNkcmbEVUdy4UnkGQr24JHixXyqC4DR7pOlm1BczFAFLvyx9jP LsUrcsKHQUQll4JV7WO35gL9kHgYxOkmQC4UY2jc6H9chw0DzFnEj1Hm8 IqOSSAy0fRpHgozG4k6ulUJorf4m6kF7ekznOTvSl57h+KWrD8NcnIjAw 5sMhgAxeWoIXHIlmHyS2I/SayfLZsudVpBWXJaIrfYbB/JikKFm31H02o xAPnj2OsTsKGAogbOpPHgjuH4I2KG5dbMdut7JIPe4rlpLq53ncUcmCh8 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10621"; a="319224232" X-IronPort-AV: E=Sophos;i="5.97,297,1669104000"; d="scan'208";a="319224232" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2023 08:04:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10621"; a="662580547" X-IronPort-AV: E=Sophos;i="5.97,297,1669104000"; d="scan'208";a="662580547" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP; 14 Feb 2023 08:04:45 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 14 Feb 2023 08:04:45 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 14 Feb 2023 08:04:44 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Tue, 14 Feb 2023 08:04:44 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) 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.2507.16; Tue, 14 Feb 2023 08:04:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YZ2eWioaM9C6XttIY/LLQIrqFiBD6WNQZjdrWJWfBcoCHxqwy8Uy1U1kSnASjLTvX9rJNo0oHO3VCvtDa2CM2IF8tBc5aftefmgeZYmNsdXVhQKu5dYxufPAbeLdIwquq8JpmrEhVxIfPwuyT5uGsCDykk+0JvkfhUtAuzTttqZv0MPvLYFqGiYBPj68jjP2wjeYnR1zZmuRRIsV2xwYqV7APVxgSfKSDjljkp2OKJyMoMy4p5Vqs3PXZ8y+I1diPXDmZhDZxNkIYbMBkY2iB364q4HOx4UWPfh4CVok5e25QY4pDSKRj9Mub9HSbOjGL3HhuYk6cNSsCO6F+bp4cg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aazri4TRzFJv7H43oDo1RlUIvQCG/AeVkWh9F53EusE=; b=MY9XVmLP25DV2tOTrmCwB9OH7Q3lmgzFVaAz4OrLLt+diq/+SdHxhnW99y1eYHJe9bS3nQeERJL+UkaOdz+Z96oyFd8cujkoC4QDhCqxGMC4T54O58wcLqy1yljRTD4/98YKh91IdD2EB87+tqtUi9xSDqGGOPNTgAST3pSlvTlTn3pOmoUBbBJvAgCy/KOfL62csOWHwV0BSt9DfnnIJGoLWRXFrqdJP0GT6FWf/GU2YJTO2M4klJ0Hdh+vzImTJ53RPAI1jjEkPgJuKDJbnDYGrCFvuGWjSb4CCqgU5sKCrzP+17G7Ta2+xwBYssakfO5SO6hImaJYHYQGK7/0Ow== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CH3PR11MB7894.namprd11.prod.outlook.com (2603:10b6:610:12c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Tue, 14 Feb 2023 16:04:42 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::96f4:ad8:3fb9:b60d]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::96f4:ad8:3fb9:b60d%9]) with mapi id 15.20.6086.023; Tue, 14 Feb 2023 16:04:42 +0000 Message-ID: Date: Tue, 14 Feb 2023 16:04:37 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 5/6] test/dmadev: create separate function for single copy test Content-Language: en-US To: Bruce Richardson , CC: Chengwen Feng References: <20230116153714.554470-1-bruce.richardson@intel.com> <20230116173738.562322-1-bruce.richardson@intel.com> <20230116173738.562322-6-bruce.richardson@intel.com> From: Kevin Laatz In-Reply-To: <20230116173738.562322-6-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0001.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ad::14) To MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR11MB5872:EE_|CH3PR11MB7894:EE_ X-MS-Office365-Filtering-Correlation-Id: cc08b159-5fbd-40f1-6faa-08db0ea52eaf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D/dcjA+s+5OQmT/gsQkbymT1ypuCqk68tnpzA0oR2Z1RPwjcvXHcb8IhGdkTQJ40UqJQA/XbXgNUQugRxO2+OAjVEXMOgiHqiJjHQwPjFEgXjS2KUQNQti+xZpTaQeRYXbjUtIw1BClg5bUbxfkKI5Lv09cAudZGjldftutftS5cW2WcPh55f3lWAAEmpHybNKZN7P9LmvvBoDREwOY0irfVMChDb/0VqjYFkizdKuRYHeSG4voxXaXQfJxLE5OCvyK1Geoq5hPBV3qSQvguQVZAe3yk6SYvidDNI6ywVYpNXKUjaKE5FEw5XmHwXYSq+06AkvRgRQLVqTQyapHAR5hXBW7tKoaATz8M7xcrF6r/7D59jYGNDnVvBxIYTPvqFzpwWlFbziEGklGaIx8KwH1U+eMSE3NqkHkQfC0qXEMzWflJ9zeAQ2vrdoLk32CEPNAqgEFrXl+HCQa8HjAChr8BgV7me6rXbXA3sZb9jePiZyVKBg2zGobwyFw8x4dEI0+/mjpi3EKBt2ja/jGMeBsBcIFAWJIeSshQ/EqhnPBkDbvJ9t6SU1MkeDr74LoZvDDDET1eotWQFb/24zjRhYGGmfQPJ0Xz8mx/qn6VfUGDYiNNhaHceedcslx7HsfxTVioz+pureCoS1ulwpzpzzzC2X59imQegXJ6PMb6rIM2UXB1bLu5BhAZarAQ2Y5oAfCSv3JuTBK3Zse7UPPiTOeEuY7+ZLE/90NZ/hBQRG4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(366004)(376002)(346002)(396003)(39860400002)(136003)(451199018)(38100700002)(53546011)(44832011)(8936002)(5660300002)(31686004)(82960400001)(4744005)(41300700001)(186003)(26005)(6506007)(6512007)(6666004)(66946007)(66556008)(8676002)(66476007)(478600001)(31696002)(83380400001)(4326008)(86362001)(2906002)(2616005)(316002)(6486002)(36756003)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RVlLZ04vUzFiMVlraTk5S0h4WUNld0RZQ0pRK3V6MDVDaWlqR2lnRDV2NnZ5?= =?utf-8?B?d0ZHTW9TbVZNaTN6L3VITFFPcGJQSHZ5aEI4RkZKVUJMSHBGR256MTVNVDVT?= =?utf-8?B?a2F3R2VVbitkeU5YQmV3ZjBDWXN4eVB0akhNRXFPNU5iYld3dlBqem9TYjcr?= =?utf-8?B?aDU0V3dLQkc2V1laU3lEcXN2TXlTWFBEeWFydmVIY2R6a2ViRkx3QWJmVWw3?= =?utf-8?B?NDNhWnBlUnBp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3dCbEx0bzhS?= =?utf-8?B?MW5IbUl5cHRaYUYzaTRxZFhhY28yTjZpdnM4elVod1BLVDlvM2VITFV1aXBV?= =?utf-8?B?cnQya1prQnRrb3dmMnp1NnY1Z2x6Y1JpcHczN1QzVHNOVnVPQ1ZmYjlpOUFE?= =?utf-8?B?ZXc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: cc08b159-5fbd-40f1-6faa-08db0ea52eaf X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2023 16:04:42.2917 (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: d/3txt78wpLD9k0eOif+YusT/uElbjM6KY5c6Pd5EJugygjN/roMMW2LVDS6UK+u+mmb8w11PuKdtu52ws90wg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB7894 X-OriginatorOrg: intel.com 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 On 16/01/2023 17:37, Bruce Richardson wrote: > The copy tests for dmadev had separate blocks in the test function for > single copy and burst copies. Separate out the single-copy block to its > own function so that it can be re-used if necessary. > > Signed-off-by: Bruce Richardson > --- > app/test/test_dmadev.c | 120 ++++++++++++++++++++++------------------- > 1 file changed, 64 insertions(+), 56 deletions(-) > Acked-by: Kevin Laatz