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 5327C45D3D; Tue, 19 Nov 2024 07:29:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FDC540DCD; Tue, 19 Nov 2024 07:29:46 +0100 (CET) Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by mails.dpdk.org (Postfix) with ESMTP id B7389406B8 for ; Tue, 19 Nov 2024 07:29:43 +0100 (CET) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 4AJ6TZfsC2025596, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=realsil.com.cn; s=dkim; t=1731997776; bh=w5a74fwnyysGjJfftLAq1WRYHx1ngXKoIinnGMh0SGc=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=dp0kOEkafN68FbvE4G6oT266Zobw2L5C5i7ttrqymSOUPGax5e9zS7AQd+JgzQ3UH N4VUXTj3SKzDQw/DhI5OAfJ2pHNp7Zhdjc5Ams8Vi2uTTgA5XqNiKNC4G+6v24l7dv fy4vBWD8AwFDaeOoLyJB/rp0j1U2tzq7pPN2rU7obCvQjRr6eRyAqRNQOQMKV+E38a VR0tduJ0R+q+eeTksWLcSCSAd8Xj4BsIgo0llWhAog1LLrDXrGMgeridr1PJCdVFl6 uavESLuMqSsQDsCZXTV/waBR/oyxs7cgdMimj37yP6ADCQGVSTsJOFrvRXSdTIXTJS L3le69Eq3QGUQ== Received: from RSEXMBS01.realsil.com.cn ([172.29.17.195]) by rtits2.realtek.com.tw (8.15.2/3.06/5.92) with ESMTPS id 4AJ6TZfsC2025596 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Tue, 19 Nov 2024 14:29:36 +0800 Received: from RSEXMBS01.realsil.com.cn (172.29.17.195) by RSEXMBS01.realsil.com.cn (172.29.17.195) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 19 Nov 2024 14:29:36 +0800 Received: from RSEXMBS01.realsil.com.cn ([fe80::cc98:e459:31c:69cb]) by RSEXMBS01.realsil.com.cn ([fe80::cc98:e459:31c:69cb%7]) with mapi id 15.01.2507.035; Tue, 19 Nov 2024 14:29:36 +0800 From: =?utf-8?B?546L6aKi?= To: Thomas Monjalon , "pro_nic_dpdk@realtek.com" CC: "dev@dpdk.org" , Ferruh Yigit Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjggMTIvMTddIG5ldC9yODE2OTogaW1wbGVtZW50?= =?utf-8?Q?_Tx_path?= Thread-Topic: [PATCH v8 12/17] net/r8169: implement Tx path Thread-Index: AQHbNa7u+T7JXCm6JUenEWs9DjTHabK8o0EAgAGHmGA= Date: Tue, 19 Nov 2024 06:29:35 +0000 Message-ID: <6346d08bc2984c99bb0918397fec6962@realsil.com.cn> References: <20241113092854.91445-1-howard_wang@realsil.com.cn> <20241113092854.91445-13-howard_wang@realsil.com.cn> <2706952.BddDVKsqQX@thomas> In-Reply-To: <2706952.BddDVKsqQX@thomas> Accept-Language: zh-CN, en-US Content-Language: zh-CN x-originating-ip: [172.29.17.210] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 RGVhciBUaG9tYXMsDQoNCkFmdGVyIG91ciBkaXNjdXNzaW9uLCB3ZSBjb25jbHVkZWQgdGhhdCB3 ZSBjYW4gbWFrZSB0aGUgZm9sbG93aW5nIGNoYW5nZXMuIFdoYXQgZG8geW91IHRoaW5rPyBBZG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