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 BB0B543A2D; Wed, 7 Feb 2024 19:29:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95F924027D; Wed, 7 Feb 2024 19:29:37 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2081.outbound.protection.outlook.com [40.107.243.81]) by mails.dpdk.org (Postfix) with ESMTP id E4C034026E for ; Wed, 7 Feb 2024 19:29:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fy3CPNnaBb+raa9Zyxkoy5A/Ze5k+7JkbKsjxUDMSgLSaX2IQgSQJQRZhjAAjQas0m8jnzFUrS3cpyGJ8hpFVYHaMKc2gmulQ6lzG7gZRt1C/XU61QWYPwWahtA6dBqISxJqolLVwvMK/oLygwCLqBNMbdfL+7SyGhmTPwlu526ELQ3vYn5oXY4Y6N4O4lA4fGNyUPQ4otgUyOXpNzasdDnrKtsCZkWpRhzRRo+PnIHzoRcPu7y1wKYcu44g6CA7VrLjhKo+MCps7WfeSlp7l+S9H/SlSK1+XFwYoqPcZh4X+2su16vNa2nuF3VDX2SdSk4NWpSvoa5tv1DyqK1NeQ== 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=O2Z4BIHLAdMS9epx6l1/Reh/rMJuPB/U/5xBL+Llv+k=; b=DSOhz6VX2Mz/Nsx05kgplmLCahIqKF9htrhxz4aEBtdA5VblO4YAPOsylYYERbXDvtrWFrmqj9dNNf/+o1/iFZdPWYTHT3p+TAri10VVpaCIjDYWzdVy9PgH5E22v3NtPaKe44MPIoI4UNu0Byqv3viMuc7IKSXCNNEnoj/FPCNnkeacZA2+iSHd526k8ZUBchonlWmsTqs+787G7hQr8ADqzYBDjwCOXzuNi076U03ydt0kC4lQAdOpoYVAkau/NioDB5BDiFDd8jY2wOhKBYKf3RhwR/WxmjrtK/oIUpTckq3qs+z/VLu2Yjp6HDyTkxdE4y2PvXF+SLJzMVbLIw== 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=O2Z4BIHLAdMS9epx6l1/Reh/rMJuPB/U/5xBL+Llv+k=; b=DJ2nR4FmXlefwTld+XrzEJz2duU6eQLLp7Ey4imdzsY+/7dAhrKMncWqqZ5Wkixl/0yv/ofbn6bI5Yl3ikAlPr8mWCT3+cTZgTv4AxcQ/IFNg5XLaQSBbnhJE8g+BDs+FKpdpL1K4Xy6vz6l/H1TerfEjUNKQJzwMvFCsY38aXU= 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 SN7PR12MB6837.namprd12.prod.outlook.com (2603:10b6:806:267::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.16; Wed, 7 Feb 2024 18:29:35 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f%4]) with mapi id 15.20.7270.016; Wed, 7 Feb 2024 18:29:34 +0000 Message-ID: Date: Wed, 7 Feb 2024 18:29:29 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/hns3: support power monitor Content-Language: en-US To: Jie Hai , dev@dpdk.org Cc: lihuisong@huawei.com, fengchengwen@huawei.com, liuyonglong@huawei.com, huangdengdui@huawei.com References: <20240205083521.3782951-1-haijie1@huawei.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/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KuyO 8Zk= In-Reply-To: <20240205083521.3782951-1-haijie1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO6P265CA0030.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ff::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_|SN7PR12MB6837:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b0f03b4-bf3a-4f20-61fc-08dc280abbcb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GglK7vlSeMRDkm98922HnT4E3mRG4EmoG5udxeBze7IK7Gqpt8/AAXWEFRRV9LQf9NTE7eeMzydOHvkTVsVB3rLbiXuj6N90Nfp8/yrQHdhSEktdiM8Sfoh0YrCkXifk3nHxyyH3+TOnYYiUUGT0UAOLqPE8yOwD8GlgEHVUoMTFmRs8ZX1+o/o/Ubc/rvs0nHbbWLDdsWazeaDCbxuuTOqbxmSvggXahCWy18rt3uM2nI3wyP1I36ByuA1L3Rdnxc/jDPnIth9Um2yVwjio9/x/RsyCK2WKaG42NJUC7o6eI/4+UwworqEg1Q6LejRgc64pKKZVGvbnM5DgaK1wZk63QENEVAy/XJacPVDJgQKt/8JTaaSKb6yFwkWHOxRjAW6ez8wyf4xXfcEV28VMNflyVbEbk87DWYcDAzK9LaskTTUhmbM7pZHkbPBYzie9V7/bZJpy1crKDlQaF5nxmvMnuH5o9SuKnnEipGgajHo27yuOfw/+c8IDMFuwUveATPscOhoQmJHIZCoTEuq/YYYbhVJq25MIjoiiG3Vx5GAgpuzqS+dcwm17/a2tzW9+VVCzTPbV7HHI2RG7s47dPSAeUjT6CL2PGhS5vNNiTN6YTzuvZY4Y6Cfh7PNdpuTU8d2UoMAGduSDcnl4p0li7g== 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:(13230031)(346002)(396003)(39860400002)(376002)(366004)(136003)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(31696002)(26005)(66556008)(66476007)(41300700001)(2616005)(5660300002)(38100700002)(8676002)(4744005)(66946007)(44832011)(316002)(2906002)(8936002)(6506007)(4326008)(478600001)(53546011)(6512007)(6666004)(86362001)(6486002)(36756003)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Sld1OFhObDk3T2YvSi9TUFBQSkVOU1MwYTdMK1JKQkt0bXhRMEtDNmkwVm1p?= =?utf-8?B?NFdmMDZCN3BhODNUcEJyUlpWbi9weVBpTVE4QkFrbExVNTBodGFEUktKOHBz?= =?utf-8?B?bDVQci9kaC9EVzZCVURQTVV1TEtzSEl3RXlzdStqSXhRbDhlOVZxSzRta1o4?= =?utf-8?B?WGtxc0NaTFJTUm5QSUNYZGdsY1l6U0t6eFNYMDN0TGV4KytTNFF6UjdrY0xj?= =?utf-8?B?b1NTNnFlSmVqN0pZV1MzZU9KNjcxUGVjd29WMGRZYWlBK3VUN09SNWRlRk44?= =?utf-8?B?QkczenpjOWI3R1BGU0lXMi9hWU85U0Q5R2YxYW8wWHVtNzBoYlZ4dm5NcVV5?= =?utf-8?B?RllSU1REYnlwNkd6ZE1WZzR6WjVXSVRLVHhGdk5GaXhFRGVoU3luMjlKVUpI?= =?utf-8?B?cmhFSnlHeW50dXNwQlZpKzNYVjdxV2VoMlc1bUY0eDJhMDUxb1NBcEc4b3dn?= =?utf-8?B?aWx5TG94ejhXY1c0ck5ocUx0a2E1SFJHRnpkb1ZWczJhdWtCaldZRkgwZGp5?= =?utf-8?B?V0hMQ2NnUERzdy9DaWY1c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SWpDdDFPMmRhNGJZd1hiT21oSU1hOFFtNnZnNmNQUlhBTzRJ?= =?utf-8?B?ays2TzRJdkcrMVBYZmx2d1l0S05YWEdSNmFmQVhNcytiT0hOcCtBb3JjNjRH?= =?utf-8?B?MmdyYlBpaHRxYVg0NkRUWW1Sd0RCWnJPRFdhZkVCU3dOcW9xd3ZBMjVRTHFM?= =?utf-8?B?R2lVTkZpblZsS2IrdXBra1Q1eXZ6cVgwOWp4dkJKRUF3bUMrQ05mNlNESDNt?= =?utf-8?B?eGllOUZNQUlOaVNJcmgrN0tVY3BOUmQxZk04UGduUW9MenR6MXNCd2tac0xk?= =?utf-8?B?ZWFQWGhhWWNuU3V2ODVnK0pPa0RQdHZUd2NWZU1venhPa1IzRUtsSW5Na1NE?= =?utf-8?B?QTNqZ0JxWTU2eGhuS2tka3FOZWVmcUxZSGhIYVIrM3dLeHZ1dk9Wb1p2MUlu?= =?utf-8?B?M1F6MUNGck5oWE13dlJ6blQrWk9TWCs0Q3RWVEhmSXVqeVJxUnFJV2F6MTNI?= =?utf-8?B?ZE9KVk8rREhiY2cydnVCMURyREdzZ3R4NUlQRGNBL0pUcjFDVnFoVXFhcnFX?= =?utf-8?B?OERZd3hjNkxEc1Fhd0tmZXlpTG5sV01FcmpJLzc2N2VGU01vYXFGcVpHeURh?= =?utf-8?B?cUlwLzg5SjZ6WUJhdENiNEtWTVlOU2x3cmkyeVhpeUt4aUlQbTRhU0tpbTM3?= =?utf-8?Q?XgOL5UXaFOfl8izYn+6mbXtHS?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b0f03b4-bf3a-4f20-61fc-08dc280abbcb X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 18:29:34.8021 (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: cEqTLGLA4EkGnYTAynSU0mmVFB46Jj1nmxGtjAn713gcXiWPJLCv6pV6fdKINqI8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6837 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 2/5/2024 8:35 AM, Jie Hai wrote: > From: Chengwen Feng > > This commit supports power monitor on the Rx queue descriptor of the > next poll. > > Note: Although rte_power_monitor() on the ARM platform does not support > callback, this commit still implements the callback so that it does not > need to be adjusted after the ARM platform supports callback. > > Signed-off-by: Chengwen Feng > Signed-off-by: Jie Hai > Applied to dpdk-next-net/main, thanks.