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 709A742A3E for ; Tue, 2 May 2023 20:32:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6490D42BC9; Tue, 2 May 2023 20:32:29 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2055.outbound.protection.outlook.com [40.107.93.55]) by mails.dpdk.org (Postfix) with ESMTP id 3B9F440ED8; Tue, 2 May 2023 20:32:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sw3V8gEEVgcDLAB8TCoRLx6/4gCLoQoA1tXE02NcRH5JlWIrh3a/FJp5e0hrIkybdiZdEvelJXehvMvYywsKAAhLDJNlFAohAuRuHwubSA7xeCtSTiFebvFyAvVlYgc7OdBXr8SxxxRpDHRFfHGKtmp+ivASNp9j4a03aw/vaLZGHs169izqAGVw0++lQZlvtu+7XOfiUld0zbBVP4pg5votV9l46bKm8K5FzD9lVoDkXmT4AsTi5MZT5VfJLEcEiXOOqTNV1VSIDxrVAZLToQonlcTEk0+PnnrOH6zGn46gwqBDUAj+9V20Y3DAc/pLbmAVO5omgGp0zCFRMK4QUQ== 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=mzAvsKJ36SbKKDnBvLiO45KgVdXFG5EqsEjb/MdYdNo=; b=mB7YQfOIrIks1ChwAOT8zAE+a+h1KUR80GYQd6D8c757mAwV1EgbK7xa3HPED4U7yaQYVzr1hQl1fgSsXePBRnmJTsNkdb8NVBIse3kO3bUDetm3GeQvwSIYmtwH77VvotXjSa4N+De5xwpFcr5hWmnEIpQalqXOVuWy/nobrVcPWMsFyWrEzd8IOGIalQiTYOHbLbKy6qn0mR8FIae7+Qd+lONupuYZakxOWc4LVW6WQY4ulK2MeB0yi3uPb7ipMcfE0guV3tKn/ijJv/feTcLJ45RmZigCRoNz3khfvELEDszUPHCe0qIaJLd9KdSJ7m3uc5A0sxNIvUn4p//dLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mzAvsKJ36SbKKDnBvLiO45KgVdXFG5EqsEjb/MdYdNo=; b=Q6UbcqaVt1cC6ItiDAkiooSFYc1jG/QseNW/ahfA4dgB3BGPZbkFrtQnymuXfrWdEsW+Or8UbNyS2qu15yBUuWoDDeQ39cR4qmevibvhY2dY+9Ki/cPAzMfCvM4kt9i3jZrGFTEYcdvKRo+MESQ4znHZOrwOolKtpr2IZ+E3HtY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ2PR12MB7920.namprd12.prod.outlook.com (2603:10b6:a03:4cc::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.20; Tue, 2 May 2023 18:32:21 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::e818:77ea:75b5:f8cc]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::e818:77ea:75b5:f8cc%5]) with mapi id 15.20.6340.031; Tue, 2 May 2023 18:32:21 +0000 Message-ID: <974f5555-0617-1c85-d78f-65cb624daacc@amd.com> Date: Tue, 2 May 2023 19:32:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH 1/2] net/mana: avoid unnecessary assignments in data path Content-Language: en-US To: longli@linuxonhyperv.com Cc: dev@dpdk.org, Ajay Sharma , Long Li , stable@dpdk.org References: <1679095964-18532-1-git-send-email-longli@linuxonhyperv.com> From: Ferruh Yigit In-Reply-To: <1679095964-18532-1-git-send-email-longli@linuxonhyperv.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0357.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18d::20) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ2PR12MB7920:EE_ X-MS-Office365-Filtering-Correlation-Id: bfe364b3-b608-42fa-2386-08db4b3b9111 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EXakeJs6n3kwg/waRHeKWkn0Xs1rXJzv0Y/nQLZnUXtazVYcmRA2GkJUREaXpLKry2l/C2Vyhwp0fnPkzi/LJTyoIuQt+cyHb+0AMXO57UGdu5TbzADC7VbYZSLFubRPRDQVSsRirHeod0Vv3glvWYRPVjJmYmUOC/rtOhFSHbIdGa+OeGHFcvXZRn9fbG6QAYl/bg1/v4OHCX9qq5DJUs6Wegnme0igxvPMD5oY7upSWh+5ms63HOYx93q+P8WnIDXMCDdHbmi73AnrHzRR/+s4gW1D4pYL8vhSOWlcWVTTQL+VXyA+zURklmYEUHQVKcoJGTX+dQK42lZ3qHxjjdzIBJ1NFtyOH0xdnzUWacMe6/t5j5hrhYsi8RAsyaUCA8isKb3h85Ktfi8E/lUh+usV6O2kdpCWVonxid9BK6Omrq1h08TlF+i8FmhlsBJHVN6NB4O8jU/MK/QVIe6ILw1z31uUr6SWW+Aj2mStN9quuvedsYW9KbcVJM7YfoeB0iQs1YBBj7jvlut+jSMIU75cCqtDkVU6ZtzCVrwg2TTpg5FdAOWIzdlOsOQzn8VfFUYQ4TaPeVkfnWbqFJGkvfZ7De+KkeDw3jsCO53OdT/FqZplMhNXJXiFlW0zAZYQN17Rj6/Tfkjd66pMyDiMsg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(396003)(376002)(346002)(136003)(366004)(451199021)(2616005)(66946007)(45080400002)(6486002)(53546011)(6506007)(26005)(6512007)(478600001)(54906003)(4744005)(186003)(2906002)(6666004)(5660300002)(31696002)(86362001)(44832011)(36756003)(8676002)(6916009)(66476007)(38100700002)(4326008)(41300700001)(66556008)(316002)(8936002)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RzNCWmxWODFZR1k1cTRlcVd3ZHpvVzZudSswUGZhSHcweTE5blFFK3VlRmNT?= =?utf-8?B?YmZoczRoanhPTEs1QUZkb1gwQ1ozblNQcUFPaUEyTkc0Z3hERTRqZCt6SURm?= =?utf-8?B?RWFrZ3ZIdmh6cjhhYXhVb2VhZE9CNTNFYkQ1TFlCMWt1dmlaSGFzYXBrUEgw?= =?utf-8?B?ME9kaUxwTVZuQWY2RWo5b2U5YTFKNjEwT0pPNis5QnJOZDBHVm5xbjBlKzNo?= =?utf-8?B?N2lGY2l0SnZaU2gwSHNKQ3YxbmhTSW8vYWtmdGhEMjNiS1RzN1FmYmVLOVFl?= =?utf-8?B?ZVREYm1RQ25RWUVidDY4ZEN0RzdmYkkyR1NLSDVPNHQyYzNZSnZmMjhDUUt4?= =?utf-8?B?UmhrWH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X-MS-Exchange-CrossTenant-Network-Message-Id: bfe364b3-b608-42fa-2386-08db4b3b9111 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 18:32:21.5429 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 108mYqLkppFD1hey+Czsa0oZuAQvqlrlOhwtz9iR1AP0SNkQg6eF6zb/kQYxiD1+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB7920 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 3/17/2023 11:32 PM, longli@linuxonhyperv.com wrote: > From: Long Li > > Unnecessary assignments involve memset and waste CPU cycles. > Removing them to reduce CPU usage. > > Fixes: 517ed6e2d590 ("net/mana: add basic driver with build environment") > Cc: stable@dpdk.org > Signed-off-by: Long Li Series applied to dpdk-next-net/main, thanks.