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 13E1D432C5; Tue, 7 Nov 2023 10:55:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2CF7402BC; Tue, 7 Nov 2023 10:55:02 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2061.outbound.protection.outlook.com [40.107.243.61]) by mails.dpdk.org (Postfix) with ESMTP id A3A5E4003C for ; Tue, 7 Nov 2023 10:55:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dv4bWmfrKJRpKqzERKw9X/LvK+Qc2VEVrbDD9uTH6q7ZW4dMpKCXfXd7AitaK+N9n+HTrXBNwYolh6+sMDxrMtxMil1I8rgjfQSOPYvpJcl39QGnJJy/Xwh0GxjZHxsD5s302SOwSvxStUNw4RPZ2A8kh57b0U1yVulT2anAmTzPV010kWo2J5r8OWBvzISrOMSyXS1uC4a0DqBZ1PzZr0bw5C/fUkY8KF7ub26ooGASdvH+9hkZV+WrJhun0Nuro8v2tWJAtXuhTVLPRDDjTfA4pnDyitnk3qpZztnh3lZDIKqpxnB1omN1HoZiPEHwAN9TxvMyDxTj62h0zWI+BQ== 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=cCOY62YMol82xciqGn8okMpVNYIG1PG+PMLFwYpfbUk=; b=j/jjryKkOhjd/7pDYbvoLVE9JNRCAuqiulD3hAyQZW5MzDaDFf/oiomnxjFwHolffnptN7SiJ4EQl8kP4J0lhBGpsFemwdv1OIKnM55Mj3ZKL4ZWIcYK+iMYK4SfCnDiZasvWECGSpFjTRLX1Ci7NunlZtV0uV9d5C2ywY16GzLyJ6Rm0yK1MoiFvy/Z9aT3oXOTo+TlcraNObous+yNxhnvSYXK2sBpdXWBbf5Xq9eyBc943dozgOiVuRGsENMKKD7POiVO1VTG+f+2IZ0WrzT1eVEXVaSJsYJRpz8UrW0TuoTeW/PmH1LHE6cVc1Fpveeg98U6tBV+yAjd97wdGw== 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=cCOY62YMol82xciqGn8okMpVNYIG1PG+PMLFwYpfbUk=; b=PH3+4m7mc6nSx1/FaAF3a9VgBE+9QRPnQ3PmnkWGnXcO+yBSDeppwlUGYz4u4Yj7y7ZPn1ACa3ZBCkjmnvvYAeea7AfvFwOaK/F/4QbTwqnD7nWiiaB31GeN8ED+itmSYP+QFdrNtnSjxuwcY4piW+o/fj36UIhLREhgZo5easo= 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 DM4PR12MB6639.namprd12.prod.outlook.com (2603:10b6:8:be::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.29; Tue, 7 Nov 2023 09:54:59 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f%6]) with mapi id 15.20.6954.029; Tue, 7 Nov 2023 09:54:59 +0000 Message-ID: <40b7d639-01a9-4101-aaf6-b78f1962d7c2@amd.com> Date: Tue, 7 Nov 2023 09:54:40 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/2] app/testpmd: fix UDP cksum error for UFO enable Content-Language: en-US To: Huisong Li , dev@dpdk.org Cc: thomas@monjalon.net, aman.deep.singh@intel.com, yuying.zhang@intel.com, zhichaox.zeng@intel.com References: <20230728021310.15970-1-lihuisong@huawei.com> <20231107041117.23285-1-lihuisong@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 AQIeAQIXgAIZARYh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ZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20231107041117.23285-1-lihuisong@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BN0PR04CA0146.namprd04.prod.outlook.com (2603:10b6:408:ed::31) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM4PR12MB6639:EE_ X-MS-Office365-Filtering-Correlation-Id: 38e65059-5064-4d9a-bd86-08dbdf779a8c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X91S78n0qkVh22S5RV1fO9oLj4enaXf1RE75somXxnzb2yygSX9RaMnVuc94rIvaD4unt2lgEK+hJ7mbWUiPClNGmzUteqC9ZxtMoxdaZACEoA40jZmbiEk9zp1vQni0lA4jMYhzRffNmathrmNklF88LNYczl4ZMQm13ucCl5KqsxBM4VkjC4OMAIl5PB86+fSEHtX8YPwmgTstbDUfv4t9DBozStWRSpKxhM2KQp+jMc+hxyd4CkfLhi0ZnTlrSJkb+jsz+2dGNxv379xs0J9VCN2uldh5SeUiyqiGt7kS+tov+4RZccKiWX2ALaBepzGZPQsLfo9ZQFzWpVTOH8fNbpM9hgJOXVd7KDaTcT02vAbsp31wWhi7xmtmGGRKnI1n3k/N6IhlgdTGfl98LTyAIR5QdREui/gCQElGWEGPTfIlH3BFDZhjk4eTDqn96JrdiC8aaqvruG7SVGbPmqSc8zGMeRHeUtVPKrvboNZy+neqiUCbm6rfPpq05P+tV8CT1farx5fLb78ItYBhZ7Ht1VFyIeogj4lt8ww9LTGnyIZU1RsGiPxQ82ZTriAaNnCaxZI6B5rVrVZJB3/EqwaQrJ3gBTXwqgQtlv8TQnYLOLYIO1qksHapjmRn2KxKCL4A+cCM3Y4vt1/rMdWfRw== 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)(366004)(346002)(39860400002)(376002)(136003)(396003)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(31686004)(6486002)(478600001)(36756003)(86362001)(31696002)(83380400001)(38100700002)(6506007)(66556008)(53546011)(2616005)(316002)(6512007)(66476007)(66946007)(6666004)(26005)(44832011)(2906002)(4744005)(5660300002)(8676002)(4326008)(8936002)(41300700001)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N0FoQzdyNElFNmtZZWExb1Q1VmxDRnJ5alF2cWJIZDhITk02RzQ0NGlUTTZ2?= =?utf-8?B?dGw0Q0FiSVpaVVN6c1hHU3FxRlpQMTVHVk9KeVF1ODc5YVdKU1FFcDhWVzcr?= =?utf-8?B?WnkvczZJUlRhSHdHNE1SOWJoSmtUSGFvT3VRbktBTkQxLytIVGtkaFlHekRa?= =?utf-8?B?T0p1b2lFQzRJU0h1OC91VUV4MDVwdXNRVzEzTy93cUZmZ2F2cnBBNE9pakFF?= =?utf-8?B?UUsyak5zYUhwR2JrV3FDYUZSaG1xb3BhU0RxWmljeDZ2MlpXYndZY2JPQVdk?= =?utf-8?B?UDlhbExUNkx5ZnNLWDNTbVh0c0tzV3UzbFFEZi9EUW5VMnRCRlRwNWJpeURN?= =?utf-8?B?dHB3TjQwM203WFpramcrd1R0TUlzbHd1TmRUQzFoQnNEb0tGNWRzaEpYUWk0?= =?utf-8?B?ZjBHaXBKeExjTW0zNkxLMnNmdTJoNitpQlJZc3I3OTNRVURrOXFUYkRNRTJO?= =?utf-8?B?UE9HaWNyeERvSTdKUHN6Q0Q4Nyt1dVI4R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MGFENjdsMWlUQ3ZiN1lmUTg0TkpaNlEzV2hmNDFS?= =?utf-8?B?MzJRWW4wL1RVSFRtRzJERjNyc1BibzBVWFBZK0VYOVpOY1ZKem1GVXYyYjZH?= =?utf-8?B?OVM0MSsyZzQ2YUVNMGh0dEovNHd2Rk1ZWkhVd1FQWTV3MkplUVFzOXpuUUZT?= =?utf-8?B?SUpQb2ZRYTkvTXpPeDc2UjltS3FQWG1RRjV4YVUxUDNkbE13U2tzekZBMmJC?= =?utf-8?B?TnN2RUJOaGpldFNJT0lvbFFDTXUrQ1Y4MVozeTB2S2pUK1JhQnBNTDI0ejdR?= =?utf-8?B?aG5mWGoxSitzWERrc25JdnZTK1BDeEM3bFA4T2xLVzFBZVB0dmxid2xWbFBr?= =?utf-8?B?MGtheDVacUlPM0ZTQlBBK0kxTDVYK3I3RTN2Rm5ETlc2TmJWSzNXMEZ4Q05h?= =?utf-8?B?TlJPaVd5RFBpTGovbUNuT3NOelV3U1E5NmNoNm1ETWhMQWNmSnFwa1cwMWl3?= =?utf-8?B?RThpeE1RakQva001WXYyQTQrbHgxbHdOM2lBeWJ6NUxVSEd0ZjhQNC9KbG9G?= =?utf-8?B?QXRkQ0VGeWhaeFp2cHpTQzBjNFVXcThISlpIb3ovOUNZU0ZLUnVka3JJUGxY?= =?utf-8?B?cGZROXZhaEJHY0lyd3FRRDBkQ2E4bk9aZ3c4RmRwWks3OHRjbDBVbFJpbm80?= =?utf-8?B?M3ZTcGJBSndyeDNZN1JsaFAzNVdrSXp2cm5XZHV5YUU1TkJpWmFTODNtYzVz?= =?utf-8?Q?BPio=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38e65059-5064-4d9a-bd86-08dbdf779a8c X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 09:54:59.3283 (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: ewDRTsBvRjJVc928hMVwJMQHzYuGm5G6DYzMJJpMXsK/o2/YvaZB7qlVHWoFkOSg X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6639 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/7/2023 4:11 AM, Huisong Li wrote: > 1. remove useless code. > 2. fix UDP cksum error for UFO enable. > For detail message, please see the commit log. > > --- > v3: > - separate the useless code from patch v2. > - fix some comments and use 'printf' to replace 'fprintf'. > > v2: add handle for tunnel TSO offload in process_inner_cksums > > Huisong Li (2): > app/testpmd: remove useless code for TSO setting command > app/testpmd: fix UDP cksum error for UFO enable > For series, Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.