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 A10A2427FA for ; Tue, 21 Mar 2023 12:48:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C9484282D; Tue, 21 Mar 2023 12:48:59 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2084.outbound.protection.outlook.com [40.107.243.84]) by mails.dpdk.org (Postfix) with ESMTP id 0B551410DF; Tue, 21 Mar 2023 12:48:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RBRQ+sj7sA91cD+JvtpJMFfetI8ECreTfrrKmM/gxm+56YJYcYNMr7/FAdP9NKscS5AdKCJ/2OU41KjrKey2ujRDkQQYbMbXafs2gHOIpkyQ1G/aJwQepIl4R3nU3vMpt7jZFXCeVpuLgE4Feg3WnoO0PFYg+XkTWv8VJXyHt+mpkQxMJ9LIJR0kAQ3O+E7zHUagYYk6ZVPrZtdMu+yy+ZPNmy92yCHZMcYpSeFi/DAehZIVB7JTcOFKFT+X7xBx/fYOh5JHBHsvgl5LQHpIfIS7IKPWqEmGDLLi75pTcjMFl4yfNymUY5yxz4HBaNdtyK+SaDSKkOdbQFev4Pfmdg== 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=XyBDrG2/KuFq9YyCtwzAMCcDCHEvz0aesw4E1jysVk8=; b=Nlbte+vqxEjfse8L0l+xsFxNXDHU2EOL/wx2vqZcfYlh2Nlh/Fgi2brByZCCNrVZyxuaUxW+57dtjMvS7S168c99u+UfAXSv+THrXhXbhdEHobObwsqfoYon0oPirF1lxly0Postl4YvlUOMeENg75I+/wQBsVf2eYX2k/yQxcaMHRHUCBUS+LeskASgKNXmYXHxEzNxJAScoh/0E9grXHylwIfZXmG8GDMHimmNEMQcGr6keeanIon7CEh5o8+WXeNUuQID/oIypqnwMf9j63wQeKNT8wKiC9WSMfDTfDo5u5DBVXxOX5dob0DLOl0oIT7R1YBslCOQU6rH3yp33g== 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=XyBDrG2/KuFq9YyCtwzAMCcDCHEvz0aesw4E1jysVk8=; b=mdT6NLqWtn6pxfyI+rgQrzqPBuNo4UcgRVszS5PCnzH938HQgTrSP7RFXt+mbFI8CWYEKD266lIW7TUiOQe5bLUA4eK3QtbwoCA59InXER65EQ36DSGkgu/Yl+rQHxp2Lrzf8oZZqd0gObcDV8/au5P3Afm9Jco7cqQUcrT7oJA= 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 MN0PR12MB5883.namprd12.prod.outlook.com (2603:10b6:208:37b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Tue, 21 Mar 2023 11:48:55 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%5]) with mapi id 15.20.6178.037; Tue, 21 Mar 2023 11:48:55 +0000 Message-ID: <8f9028ac-00b4-3ec7-ef71-99aa5e8b866d@amd.com> Date: Tue, 21 Mar 2023 11:48:48 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 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: LO3P123CA0022.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:388::12) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MN0PR12MB5883:EE_ X-MS-Office365-Filtering-Correlation-Id: 29ac04e1-dcfb-4ca3-22db-08db2a023f92 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BlCkG5g0brbXDMcwskcPdsQ4RGf/0qw5D2VWIVlAdyvMKFH79lJom5VNsCpHwf9lJxFfIuTzkh0ieWYEyR86SEB0PJDICW+zxiDj9+x5JyhydEfmutAs3nE/ICXgSClCVhPy+v4QVsUBnMcm824LeGDYGC8G2Yg2NOXiSU6DCap+1TZedr4LAtTGpFonSxRL4k6mmAw83T1XuQJU6DSoPgQGmXWBDnILhLv5XVbn1dkiDxjWdhht7WF1H7RA8Y1phs5Tz9osSy9GG8DlmPMXirqs7ACVHhyy/+n9OU17RlwAmkmgIuIdD7iZ/pSjo9qkJtZdqKkake8ZmpgtbYPHuu0FGgRl3JVbqQEix54u9brAgYqDGwQmXXlqlFcgQrddokU4JCnITEc8SEKOdeMwSSmkJ0ec0/yYeElFQg843b6cFAUHxzOcSN+7hB0covjHQWiraRMuhxxJFLLT+VZ1nU9Uz1xU/TNTAeSti6z63yaiig/gZtMIuQO1dAGp5LL9l04yHiYZMXfJRxqJpnJBzlEgCKGixGuCYCeycr/OJEcX9cl5RJxoyhxGH/DXeyOADB0QHQyblNK2VK33xzhKwmZgDFUUHK62DYdbIJq8uR5ta7LKw/g7f86KMBM/hOCJWrLqDg+KSj4IwhunEHJxfnldJ8I/xHeQdS69+HpLSmZ/cvsZAJsQmA+NLaKUDWA1XVUKXl7zZoYzJF4MhR0ZZVHPI0WXc2xwXHNvYkEc3z0= 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:(13230025)(4636009)(376002)(39860400002)(396003)(346002)(136003)(366004)(451199018)(38100700002)(31696002)(4744005)(54906003)(8676002)(316002)(44832011)(66946007)(66476007)(36756003)(66556008)(5660300002)(8936002)(4326008)(6916009)(41300700001)(2906002)(478600001)(45080400002)(86362001)(6666004)(2616005)(31686004)(186003)(6506007)(26005)(53546011)(6512007)(6486002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?emhUcU05a25BUHl2L2Y1aHJwenIrZHRFMGJOcXhZV21GQ2h0V3RnQnRIRlVv?= =?utf-8?B?c1dYWkQ3NFJxcVRKbm5YSVkrSEU2VjRYOVRZY1VETExLdldmbGxnb2w0MUJj?= =?utf-8?B?TEpyUUJvNDBVblpWMmdNUTFGZDh4RU14Lzk0Ui9TSnJQRW5BTEk0Q1FHczBY?= =?utf-8?B?ZGswdGRKclFuSmtHaVVyUkFtYzVhSFl1NHVqTzFyMVpYeXJHaHk5ZlNUczhy?= =?utf-8?B?c0dhTVNuUDRYSGxDcEhadjNIYlJlK2NobUdpRXdrNkZmOXVqallYWGZlYzhx?= =?utf-8?B?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yWWNKYjQ5ZVBVZGRUWWlU?= =?utf-8?Q?VNiQneZtrCdmF8ME+Qs/sV84g?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29ac04e1-dcfb-4ca3-22db-08db2a023f92 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2023 11:48:55.0868 (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: RsItKwTtFdxxikGPz7Uaa9UeocalSBqobNxoCGcfeD2uX3GxajjFm8pcxhsB7wlq X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5883 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 Hi Long, Is this set for next release, since we are a few days away from the current one?