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 8F7ED45C59; Sun, 3 Nov 2024 03:18:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74816402A5; Sun, 3 Nov 2024 03:18:47 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2052.outbound.protection.outlook.com [40.107.223.52]) by mails.dpdk.org (Postfix) with ESMTP id 7AC6A4026B for ; Sun, 3 Nov 2024 03:18:46 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=j4w4aHb9itbxWc9H/xWNZ/8+hsbAajeco+GrNud4pBSmBGZtcNCFa8qtlhjRXl6Ln2kB64uMiTX/fq4f347KeVKjLEDy267ZrUmOOsibnZwQKEGDoAiEyIbkpymnVVY9Xnup0nqpYuPL0UT5U9nZB5VNeIvMgMpItlouamukEZqoaxCmNviCV6f+NjxkawH09v3OaEstwCe10azjGzcabgoTVRgPyzBq1bRTdRh6xAhr1DAj7RL6Kp4No3EmyEjUmXabBJSkBzaXiTHBN08/0BZzxTjLb+F78ak5rgGhLw25x1dI5/ROsYYj3PhagCr3pOhINxiuy+/CRWi/bj4tkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=FpnDiIWDNPxyG0+EvuqKFhuhuQSY5GVYo29+ubv78lg=; b=xRueHeiThaPfQLYlWzZCm3QcboPYv2SKBN4AYWh4pdZw7r7Xs1PBW04V9JFviCxbdxgfsczwFoUla2ywmDqn8wNvspXWcek0UMpsc/toxw9Qbx/+NycBKC3jeSOPeCgxG5TLSKEJajwiWUy8MPcfy2i0q8gFz3O4plJPSlxb7cwK8gTjHB+AbZXMkKoD0w2SzOsQ6U3wb5caPQFnoPnUYfdoEWb+fvAxZHeprQV73NOZVHUqmbjKIozoGvqvrNJBCDCpXhSEPZPwKHSu2CX+EtHgWkQKP60sdOtTW1j3hVB07LokNHNJpEVpjk1q62/VhCE+U7MBAixnCd80RNspnA== 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=FpnDiIWDNPxyG0+EvuqKFhuhuQSY5GVYo29+ubv78lg=; b=v6GaHTGAD9UwhZgR/eNg2oKMfb8ymLfzOQ6DxPCj7S/SCNbL6zs5jYbE8ASpZYmpEZW+0zWuG1s/fVlSQrFWQxEhHDjroC8s9/6ErNogkfUp7gtSefSVkWObkxi595nW4jygaU8VbFGTgkTxLvrTtxnDB7fWP3ErjxyBB7Y7EQU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by SJ2PR12MB8925.namprd12.prod.outlook.com (2603:10b6:a03:542::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.29; Sun, 3 Nov 2024 02:18:44 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8114.015; Sun, 3 Nov 2024 02:18:44 +0000 Message-ID: <9cd3d5b8-dd75-4e5d-889c-51ba8a0eac67@amd.com> Date: Sun, 3 Nov 2024 02:18:38 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 03/18] net/r8169: add hardware registers access routines To: Howard Wang , dev@dpdk.org Cc: pro_nic_dpdk@realtek.com References: <20241028073112.107535-1-howard_wang@realsil.com.cn> <20241028073112.107535-4-howard_wang@realsil.com.cn> Content-Language: en-US From: Ferruh Yigit In-Reply-To: <20241028073112.107535-4-howard_wang@realsil.com.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZPR01CA0273.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b9::14) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|SJ2PR12MB8925:EE_ X-MS-Office365-Filtering-Correlation-Id: 6fbc4d39-26b9-4a86-27ea-08dcfbadd73e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?MUlmc1pBQncxd0phaCtrZjBlcHdSMGdvektENitLRzA4ZmZUYUdzbUFiRUZ6?= =?utf-8?B?QUowcUZTaVR2cFNzTTVyVlVXYU82TG41MDhqaFROcWdTQXl3Q2pFaFpVcWJE?= =?utf-8?B?Nis2VXI4K01RSFk1NTVKR2hzTUtMZ25NOHJ6amtJOU9Mc1VHUFp2TGdObUIy?= =?utf-8?B?ZnkyVE1UZUpLaG9MSXdvTHE5YWlYaGEzcnhibS9tT281TUlaM3hhbzQvYVVC?= =?utf-8?B?Q0NJNVIyay9HVlN0VDk0bktPWmxES2pqbWZlNGpkSzhaMHBSajBZbVF3QjU5?= =?utf-8?B?ZjBxUnlVY012cktjYU55Z01uV1hIU25UZlN3eXhuM1c3NGdxMWErbjZGbURV?= =?utf-8?B?bGZkOVdJTnV1QnlENUF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Z2pHcVN1a1Jxb0FnWVJENG9NcVk3clpkSkdidUpGMmdQMGo0SzE1V1lRQTcy?= =?utf-8?B?NFZHN2diK1RHeVVUeUpTWUpPSkZ3MnlMcUl5dk5JdzIxMXFydFBxd3k5RStl?= =?utf-8?B?SnNQTWl5MzRqVmZFOEdPYUJGUHAxdWYrZDVXeFZzeWdKdEJWbHdQU2Ivd2dv?= =?utf-8?B?b3NDZlRKaDVUQ1Y5R0p4bnc1Vlg5dDZ5Q0RzZnY4Y01HTzNLQmJlUzBJUjhh?= =?utf-8?B?V2ZrTUpFc0xLZkNOVDZVcWdIM0tIS0N2WEtCT3V1T08xQ1libVhwbWhYWEV6?= =?utf-8?B?WXp2bkREM1JqRXpoRVlNZVZjUHhva1ljbVl4dGRmTXFLN2hhd2RnRlJycnR1?= =?utf-8?B?Q1paOWxITVc0bTM1VWZJQkZoWHFRNjhXY1laM2NodGdma044YnhPQXRDYjZV?= =?utf-8?B?MFBuRnhiVVBPdXJXZXJjTmNVTlpjK292ZGhlZnY3NFRzRTRLNndRTnU3YzVz?= =?utf-8?Q?QN1GnClKJyvozMx9uU=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UFVtcGhlVGZKR0NubnFqcjgvYU5iTVY2MzdvcmFVM2s3N1RPUkp2cXY0RVhU?= =?utf-8?B?ajkzWnZkQ3lpMkFFTDZ0cTVMNnlmR0huaXlpTzdtUnIvM01QK2t0bytSMmxS?= =?utf-8?B?MGZvaVpNMUlxYkVPQ3lybUlJSC9GY2cxRi9vekk2aWFLdElHcDZLclhXZVJD?= =?utf-8?B?MDFGUlFqY0ZQbmlYcTNkT3p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?aWhBSGU1ZHI5bUtJTGdBVXc5MGNlOHJiUEIvUVJFUHhGeDhSczlUN0J0TFhB?= =?utf-8?B?NHdranBoejlldEZvVko0c0VzVkVkU3RKKzJKRitLbCtXMEtKMENPVVdSM3Nw?= =?utf-8?Q?H6nMDi2lK6XQqp9x9+mZtsGq/?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6fbc4d39-26b9-4a86-27ea-08dcfbadd73e X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2024 02:18:44.0913 (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: qEE1KHEip7IdwVyW7vo+h2hTJo12SXhgy3lVebBeFt6AkQ4MaHtYllmWD3BQZuj1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8925 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 10/28/2024 7:30 AM, Howard Wang wrote: > Add implementation for hardware registers access routines. > > Signed-off-by: Howard Wang > <...> > diff --git a/drivers/net/r8169/r8169_base.h b/drivers/net/r8169/r8169_base.h > index 6fc84592a6..2fa947b2d7 100644 > --- a/drivers/net/r8169/r8169_base.h > +++ b/drivers/net/r8169/r8169_base.h > @@ -5,11 +5,395 @@ > #ifndef _R8169_BASE_H_ > #define _R8169_BASE_H_ > > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > Please only include used/necessary headers.