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 AC26245CDF; Mon, 11 Nov 2024 01:21:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9043640A71; Mon, 11 Nov 2024 01:21:07 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2087.outbound.protection.outlook.com [40.107.223.87]) by mails.dpdk.org (Postfix) with ESMTP id E16E940151 for ; Mon, 11 Nov 2024 01:21:05 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eMVC97o78OnlxHDOVmpM/wOy/4feeV6aevpQ6Ck/tTm9ZvPQGZRVqpXYgv8mRDcRcMxfXVsehjxyu3wb0x4lTJDNhWPm1ALBwIADSXGNpGOE0t2BwqxGp/kuDeoo4slI6sfF/lI/JhHrVe2Y3cctCFzoXlMi5TdzeMYDeKHyMSrmJWTPyYv0ZKwBLEQ353WNqDlQFbidkArFYHDr3qyooOyEAyib8u+txK57tGmPaBrDQRO7hh59tbJIOQYY6+yhCfhXbq7Q/EQdP8Fa/RbW4cobZbPeoOHnihXl2GT5MPCcEh4VOcIFQCoVn+iSk3pJG2sNGjwT1So3GNVx0eC4Nw== 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=m1VWioHoi6DM9LXlKm4fj17JvGsxPhwllkv28EqkXAI=; b=Ekt3DckYonGShKctSbIHrkcEK0HeqNNfXoYFCAICc3KeHYDysl1/3UA4nCMWDj/WVE5TdeFh/G7K0/akhGvdWu7/Bojc4pMWXxUBQVGzIePmhl0pBSo9lSwOBypKGLMGSGUe1NXw0Qg0kH1mbbqJcGuC2IZrXLCILMbTbpaNvCF5c9f1lpDI6j9jWFwtdgr8pU5SuOcUtI46J3V3pd/yPur1y1Gm9Ln48l/VccpzAqhSXqEAaCuN6W64dq9tnWiX7gGzvpyNkCdbuThDlzFEa3KY6hLIKvYqSGwkpatlOaAToVm2TUzPIHRmFrja4qnZOEP+BBecsZalsDrbgDsqWg== 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=m1VWioHoi6DM9LXlKm4fj17JvGsxPhwllkv28EqkXAI=; b=guewoLqwukD0bJZTSfdhf5KxiUmv8R8ByBqVPavfmrFjI5EjPhPDMn+RzLjlWi1iNCXGz9j0I59SgKLxMFqRuEEPnrNHLc/qG2vQON/8wj+URj+EGB6u4MWeXb0zJh8HgFa8aPNAjKx3V7meMKkqhnqQMpr+TGW4RktpDVdKapc= 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 LV8PR12MB9264.namprd12.prod.outlook.com (2603:10b6:408:1e8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.26; Mon, 11 Nov 2024 00:21:03 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%3]) with mapi id 15.20.8137.027; Mon, 11 Nov 2024 00:21:03 +0000 Message-ID: Date: Mon, 11 Nov 2024 00:20:59 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 12/17] net/r8169: implement Tx path To: Howard Wang , dev@dpdk.org Cc: pro_nic_dpdk@realtek.com References: <20241108121123.248797-1-howard_wang@realsil.com.cn> <20241108121123.248797-13-howard_wang@realsil.com.cn> Content-Language: en-US From: Ferruh Yigit In-Reply-To: <20241108121123.248797-13-howard_wang@realsil.com.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0671.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:351::11) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|LV8PR12MB9264:EE_ X-MS-Office365-Filtering-Correlation-Id: c55bbad4-0bc4-4a52-03b6-08dd01e6ba28 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dU92b0JQcFlqcjBsMVJhd3JMTUp3RU9Day9zKzFCS3hDOC9OYStzNmZPbm9B?= =?utf-8?B?cWZGSnMyYzJrTFliSjlPblUxTy9INlRXb3NkdjV6d01KSkFIY1h2VGM0bkNH?= =?utf-8?B?OFc3QUdXMHdHTmhOWEtXeUZUaW9DNUQ3MUsxSXNLbXVZdmFMUGpoZktpV0U4?= =?utf-8?B?bzM0V2NCZ1dMaFNtSmtTdWY5UTNTeUNjRDJrYThZcDNYdDJGdGxaU1o1MUlv?= =?utf-8?B?ZHVUZ2g5L01haUFCWVk4Sk1TRWZUcGtoZjNvaTFhSW96cFJzZjlKeVFYL1ZN?= =?utf-8?B?NEwyKzcvSWR4d21KNVlEMmVUNkdETmxQT1lsQ3p5UFdoa0R2V3FMdmtLN3dk?= =?utf-8?B?amR6ZHNyQ0xhbi9xWk10eGhobVVLSndmc1ZwS3F3RVlYN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QnJyK2NXSFM5K3Rm?= =?utf-8?B?RTBTK2FsL0F3bWJPejdsVEgrU1g3YXhNUDhqUnB6b2hGTTU4MU5PVFBZYlQ5?= =?utf-8?B?NGs5eXBzeFNZSjZuWjl2UUJ3QncrZjVVT25EMGxNMmYwVERnS1pKdE41WTRq?= =?utf-8?B?WW5BV1R2WGRZUjVmeG4wOEYzY0NKSCtvV05aUGpBR1RmcloxRXhQQjVxU2k4?= =?utf-8?B?ZVpMMExRcU9kQnZScDFKaHBsaC9MaHhQSnArcXg1VHZWS0N5L1g4dXFIbzNY?= =?utf-8?B?MjZUYnBIQTE2QTYvVWhycFR2NkttVVJXY2YyMU1jY2JuZ2ZFaGNERE1vREl5?= =?utf-8?B?K0R3RHhJVGlvMkNyZS9KWE10NCtDTEViNjdCZGFDN1ZabzIvbmtDNXA5WUtQ?= =?utf-8?B?ZmhBSTV6VUk3elJlanlvWmlBcmROYU43MUFleG81aFp6M1lCTldpSks2U1ZJ?= =?utf-8?Q?eE4WsWETPdTtga1f+8O7qnPn8gcM/zov8JxDhQ6?= 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)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V1UwSklPbEhFQmNneE1sTkZMb3dNZkFQYTlWZ1Q1L1Z1T1dWYnFPZ2ZRZkNa?= =?utf-8?B?QXJmRkliRlROVWhyNEgxS253UkM3WjJuenVubjRBR1BTcUVWaTh5bWkzK1N1?= =?utf-8?B?ZWEzOWFudW9EdnZuRkdlVFhUeldQemY1UTFtTjdOZDZtRlB0ZktGTGRCbkVr?= =?utf-8?B?ZjBUb3ZEWnJnT2NCdy9xTTVDMnhaYTNHYkFDdlF2ZEphSThScU50NXAv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OUR1VU5vVzU5N1VWWXh5Y2lkTmFaVjI0Z3VGc0VOT2E1?= =?utf-8?B?elFjQWVwSnlxZFpHQWJOWEpqTDlWK3IzWDdLS3RUNHdOaFI0ODEyQjc0dGtU?= =?utf-8?Q?81K3GzF9ZjVza1ztrEsn/Fpy2?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c55bbad4-0bc4-4a52-03b6-08dd01e6ba28 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 00:21:03.5874 (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: w688kz+VNYc+AuWEGxusj60XgcdlzIAqTkAs2bJ5HPFbVBvgQThpSEcyWm7KD50Z X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9264 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 11/8/2024 12:11 PM, Howard Wang wrote: > Add implementation for TX datapath. > > Signed-off-by: Howard Wang > --- > doc/guides/nics/features/r8169.ini | 6 +- > doc/guides/nics/r8169.rst | 1 + > drivers/net/r8169/r8169_ethdev.c | 6 + > drivers/net/r8169/r8169_ethdev.h | 11 + > drivers/net/r8169/r8169_rxtx.c | 682 ++++++++++++++++++++++++++++- > 5 files changed, 686 insertions(+), 20 deletions(-) > > diff --git a/doc/guides/nics/features/r8169.ini b/doc/guides/nics/features/r8169.ini > index 1095b038d8..f36b912c53 100644 > --- a/doc/guides/nics/features/r8169.ini > +++ b/doc/guides/nics/features/r8169.ini > @@ -9,16 +9,14 @@ Link speed configuration = Y > Link status = Y > Link status event = Y > Scattered Rx = Y > +TSO = Y > Flow control = Y > CRC offload = Y > L3 checksum offload = Y > L4 checksum offload = Y > Packet type parsing = Y > Rx descriptor status = Y > -Basic stats = Y > -Extended stats = Y > -Stats per queue = Y > -FW version = Y > +Tx descriptor status = Y > Tx descriptor status requires 'tx_descriptor_status' dev ops which seems not implemented in the driver.