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 5598443267 for ; Thu, 2 Nov 2023 02:21:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FB4742DE2; Thu, 2 Nov 2023 02:21:12 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2085.outbound.protection.outlook.com [40.107.244.85]) by mails.dpdk.org (Postfix) with ESMTP id 1BC7E40282; Thu, 2 Nov 2023 02:21:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RFogOqliCBwrzJCr9Eobd85UApSC2uf5ludJS6Zm2xfPJ19FvPiqLYE9tHG08kWdvkgC4MorglXjcWV4fUQ1S2O9qbcprBQRhwC/nEqGS1w4qDnLIS8yQ9abMqOabodakR/1djVcFF94ONWZ2KNqwpOKB3R4YBH2CyaPzwMLF2dMJQF8lJ0HMxI+iZ8QHkDD+y4g+QIlT5n0ZHxObHAVX/avg5gx1lbnP6HUKslzqFvqiiIB0NtxBAjasDtHqaNQe7QnoAsy+pw8SPAUh4q4cMraGwI4PLe4hjxPvTToF2LUoHI7q9455841vbOAu7cnawuA14CHqBLmjt1DZLO9OA== 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=tT7E7WTfvdw20GBoptWlVwa2b7SjgedjzZG/73nX08k=; b=Agkoz+jGPZj5PMT1nPvH+TbSTOnP8BmcMx6hMFarIVcLk4TDmqe1uUl41fuy0LcZbGKaY6M/K4PEN0R7diivDzjtEzk8Iubxmjx4RHMON3zYpZvp+fiInqv8FNYihLC1C4n7BX8YbFYSxQOApxhhsDHFPGWkY+X4c/ksgmDf+631dSGNhh7QvbYBgwCLE+C5UAehAr/LSXzIn95qXVB/c24VqBI6x8/4NIMLC1ZSmxiOOTCGtOpcOs9H6nYUe2oXlcA++cIyVKroI4pXuqnki8ZuEBzEQhmpHTp0GbPYC92/UILGYsUUBQwusfX9xuMCg1kGCqHcxf54hJcncqqu1A== 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=tT7E7WTfvdw20GBoptWlVwa2b7SjgedjzZG/73nX08k=; b=1hVZfI16STm5NyqY+6dM5qzsfp5A4wuYegEQkQQVYS091onb83e6TLEelcjT/AFcRuXtMIvBJRET+7k4Nz/swFkOZBA63qdUq1Nxtq9cHSo5TfB6Klk4icm5nORCouGaq9s1b9Ubjs6sneMenQNaDS24w4+F9IcDBzKaDE7aIdU= 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 CH2PR12MB4905.namprd12.prod.outlook.com (2603:10b6:610:64::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Thu, 2 Nov 2023 01:21:08 +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.019; Thu, 2 Nov 2023 01:21:08 +0000 Message-ID: Date: Thu, 2 Nov 2023 01:21:00 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/3] net/tap: fix L4 checksum offloading Content-Language: en-US To: David Marchand , dev@dpdk.org Cc: olivier.matz@6wind.com, stable@dpdk.org, Ales Musil , Thomas Monjalon , Keith Wiles , Raslan Darawsheh , Ophir Munk References: <20230822073244.3751885-1-david.marchand@redhat.com> <20230824071822.337670-1-david.marchand@redhat.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/6BQJkdyEEBQkE3meNAAoJEF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NVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20230824071822.337670-1-david.marchand@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0397.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:cf::13) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH2PR12MB4905:EE_ X-MS-Office365-Filtering-Correlation-Id: f1644bda-dbe8-4c77-3f43-08dbdb41fd8b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4OjR7kYRmwglqIMzUOLo2SxfOb74ADGvB1FL7pGYWOJFMlAmtA9IRic+YFadvAtnq+SOpaH9BtxJk4JmDX7ya2e0mC4nyCM9vi3tNiWj+AwFqAqHGuUb4wg5Cv9LnZkUBu7Xa/ULD+e+MQz7JoUKWo0QJfMkftIj446JVoHZzcKyFxU3nldojh9VLsvfFrLMFc1dehfCv/K5NZM4EvbFU2pI/nHMGIPXa0zqILGS2gdpJyhfhKeKidQEMxoWzNBuF2Di/x4dCkIBi9z59xjpjOfCxxyq+apl1Xa6NXi93ilAVWroGNnBOph27Dqa4Y0FpeneyqBsvdTWNX2cjg4YCy9N1u4Yuj6ML7SYedb8qUMs3tZ5C5H2iVnQpcuEwa6spzHB3yv0T09CyHGZahhGzVV6BZCn9g1yc+fnHWlDeogy2VGJUa5Cx3gS8r2UJ6rgYz6S/4n1o9EB+cD5OPdHEwSq2MsuexgyQnh0fLRY0ZoCII1MCC8O0gFluW/yZKmJG2ZIJ7sb4NZ+YtMhDoql7i3J7c9+SuLfAcA2KTNy0ICemtPOetr1G9z8osOFqPWq/FMc+wczxsqExc8GwM1TVJIyfdpmG32F+B/EhZYP0e+Ed44uZgqWIUcnk1lwonUEM3py0YSuOL3q4UIWntlmJA== 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)(39860400002)(136003)(396003)(346002)(366004)(376002)(230922051799003)(451199024)(1800799009)(64100799003)(186009)(66556008)(54906003)(316002)(66476007)(66946007)(2616005)(6506007)(6666004)(36756003)(53546011)(6512007)(26005)(38100700002)(31696002)(86362001)(478600001)(6486002)(4326008)(8936002)(8676002)(5660300002)(41300700001)(2906002)(44832011)(4744005)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MmtqL2JTdXNYd25JUlVoMjVtb1RWTHNIVUxWOThUWnhndUlKUHBVd3FZdjBm?= =?utf-8?B?d1VLSXFYcDgrbXpGNUEwZEl0eTkwTWhWSzlUdEpmM3ZlbDN5V1A1VDRyb2lp?= =?utf-8?B?YUlUMFUydlI0ZjJHT29naThzQzhiais2WHZBUUUyZklmaDQxTGpEWGtlWE5H?= =?utf-8?B?OW8wb3o4Zkw5enlQdzZjdTlWWWFZZlZpY1ZuRnh6NWtodi9haVhYd0NhWW5q?= =?utf-8?B?WFFkUndrLzA0VG90K09UWldzb1RSbGUvYmRzSkR5ejQ5N1VBVXV1YTFralV0?= =?utf-8?B?UkVNZGJWK1Bnd01nQzBXOFI5V3FDUzREU3o2eTdROEpjNU9wVmxOR2FuaEFs?= =?utf-8?B?YTBDaXFJQURoR1hXYXN3bU9vQTlSYkNaRVVHZjVwUitrd2hVd0VnVnMxQ1NR?= =?utf-8?B?cWs5Q2tySE9Cc3VpUlBSbHUwVW10bi9BV1EwUjZabmZQY0laUWUzaHVLOEZ5?= =?utf-8?B?cS81SmdYbE4xaUlzOWV2b2VCT0hySHhIWkt5dW9vWHVVeWluQ1N1TzZHamVD?= =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NKa0xNMEEz?= =?utf-8?B?Nmd2dWNsWTZLNm0vM3lJV0FtcW9EeVB3T0VIY1lnZ2ROZE1uTlExMDVtZnNJ?= =?utf-8?B?MGVmeFBuMTZVNUtmSTZROWtzTTZwRVNkTm5iMlVXbDBhZ3R3S1BLZ0h2eWtu?= =?utf-8?B?V0NweE44dmZpcTJoUEVIa0hReDJ5UXpub3d6Yk5zcHJFVGtVOXI5eXJKMElZ?= =?utf-8?B?TWliUm9QRXhZcHNLV1lrV09WSU5jaFdIMW51UDBHYVVZVDg4Q3pjSXc2eFhO?= =?utf-8?B?WmhuL3diSWIxUGdZUXFUM294TkFnNUEvYUo0dzRxbXVsRy9rNkRSZDZQVFBW?= =?utf-8?B?eW9QOFAvcWVnZ1VjSGpnTS9OTTR5bkl4VjRhMFhmN2tNbjRSaHpFa3JQVTR2?= =?utf-8?B?RnNRMWVDcU5LQ21tR28xYjhFQlNlWHBjdzZqSjBlTCtFTS9URFFGRmlBQ0hQ?= =?utf-8?B?RHVNQS8xQ3pkN29IQTcxYmN4TEhpdm5MUXB0eFlWcWxNYU5IOEUyNDdaOGFZ?= =?utf-8?B?QXNVOVZma284SytseFRpeXU5U2xEbkFnNm03djZrZlVIcU5vQU5KREJRMUF5?= =?utf-8?B?VnY2ZU4raTZlcXZVbVRzUmZQSmNZZnRNaFVQc0ZpdU90cTd1VUcxVDZ0akRH?= =?utf-8?B?cU1JYjJtOW85bGx1VEgwczUxNHpidEpBZkV0c3gxeEJuUjRjelpkaExqbUdV?= =?utf-8?Q?8+nodI5gwkOE/wR/2Clzj93BQ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1644bda-dbe8-4c77-3f43-08dbdb41fd8b X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2023 01:21:08.0452 (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: SgJRrKRbOKrSj90OP2MQp28vRnrGvuQ9YRkiSPtYD9ig0dT3xz5fWE6yFcAKiPvd X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4905 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 8/24/2023 8:18 AM, David Marchand wrote: > The L4 checksum offloading API does not require l4_len to be set. > Make the driver discover the L4 headers size by itself. > > Fixes: 6546e76056e3 ("net/tap: calculate checksums of multi segs packets") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > Tested-by: Ales Musil > For series, Acked-by: Ferruh Yigit Series applied to dpdk-next-net/main, thanks.