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 0D0964240F; Wed, 18 Jan 2023 16:31:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C13C040223; Wed, 18 Jan 2023 16:31:53 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2086.outbound.protection.outlook.com [40.107.237.86]) by mails.dpdk.org (Postfix) with ESMTP id 085DB400D6 for ; Wed, 18 Jan 2023 16:31:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ffonfwncj8Smp0oa+vr/BU1LPKtxvsmOMwG54Dji3uhbXP/5R8JsxR1vkOZsQegoQC5ObFrMxM4DeEY09PYsUWWPvgAkRWyf20ELCzsO+FJh4hTZ3rqxr5YOWYbP/4Zz3/1hRNXi8S13XRw4mscgeLI/ALmsms7BoCbm/Il3nPs07YXEjnyRASlVfOg6dinjwgKohbiLakuN4rTxbC5hwwqGKiVMdrItGfjSS1LD5cS1XnubnjeO05IOx61QjnJ+YmHJCkJCrYzIaTFFC8TOw3S24nCQ6AfF0mLi4UIdbGDAp4FAhYO9wIOfSaNEtd7V0yy9EPFH30G3MjrhgI22mA== 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=PfsSvLdez3n5QPO0MjUlT036HDfAvsR+X4yQlAT/SqI=; b=ZHAkx3PbWrVENQJhOnHqoBSGlJC502QMI2TiycDRyljsxeioONkC5+0V1nvnfrGpMfPLtWXpGocqb/J0VpAlaC8NBm444SgRL2HhIq2B6W32gvcdCK0wRST1KTMTzOsSp1XyVO7XEyzlPbZDVEk1oM07NuV6JIoBvARobsLLsDPllTxb9+cE61GfhUYY2GBl9JX6dVJkOfTMH2MpflTFr/ZUGfu+zhZ9jtpdNA8eTu8pwkQ/5yhEsfiHe4tPniUC+SF+4etL0FiJCv0WVebJHSfORT7AiJFgfmpAF2SLteQn34ZYDvzmykWGQPCBBRe8dfFV9E/58HMMsyN8soGQ4w== 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=PfsSvLdez3n5QPO0MjUlT036HDfAvsR+X4yQlAT/SqI=; b=bsHNiY1KAETMLS1XqOXxCkfS7nwdJWNMfAUoBWX0xrqwhztMSly6XCFUZrkaIlb1fLKY1iL1ZC/FgXTP5xUYafjqbSM7IiNmqdq4YaUsYCevokoHCX2/ACZjlB1r6sv+6rvrvparLZNpyVsl0WbUCHuNk3tPyg088Pp/6PJ+Am0= 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 SA1PR12MB7410.namprd12.prod.outlook.com (2603:10b6:806:2b4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.23; Wed, 18 Jan 2023 15:31:50 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%8]) with mapi id 15.20.6002.024; Wed, 18 Jan 2023 15:31:49 +0000 Message-ID: Date: Wed, 18 Jan 2023 15:31:43 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Google Virtual NIC (GVE) PMD To: Levend Sayar , Junfeng Guo References: Content-Language: en-US Cc: dev@dpdk.org, Jeroen de Borst , Rushil Gupta , Jordan Kimbrough From: Ferruh Yigit In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LNXP265CA0042.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::30) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA1PR12MB7410:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e9b529c-3a58-4a5f-b547-08daf9691dc8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yEXlcLFT/InikaNiYSLI15grlDpcBMWB5SH7Z9PPmY0/KlmPFxr/+CfzmGOSpBkVZsCs07H0xDqFUbrz7tfdQVAKERQZPAZ6hplWgol+rR+TcIVHtq3O1MwO2K3ortrQw+WpsLLuqs+dT9KSqlcL0XwxwifIEJ/lfPAb6VXp3s+aZfwd94MkMgL/fD8s4PQAzfa5TOZnnzSHFnSq6IBguHNkYQ/oBPL9yUMQ3tbbWdJQbvUy4zATmiNqKj2cjt6W2O3jHkhJo0NoJAjjyMXLCHeK4+BN+Ecbwsf+s1C2fmjkINTJVE0d+pCMo8O7JMhhJqj9No+dvnxcSLlLw8QRbF/vcah2fi7BkcN4EyET6xduFgQ6CwAP49BGMGlZKBwdHmzRg6zPlgva7LfGsC/iMoce67aXct7OIPC6yAO/jg4dW+/ZJLalEbEOCStShyBzsVInbsVezvAhcczjKzJGpd4pADcoJz1nrke6O0WmhDyPFCd+tLSrZIye9ozJVVNHYkcw8cv87W2fgX4Z6QdxROA4DP1t6Z75+zNnhlKLKFM3oYoeQm99OmM8UJV9r2ceuQdljw1jj7ZamsUstb77wJQyOHez64FRgo6DlNAeMsPUyif3oNTvi/w5HBpTRyxHsDy0GPqZC15sfR7JcRn2TM8dLiR9aR/EwI4Vn9cp7k9iDZl37yCfwJ/JixCaZ71CiTyORTFLhfmIO+e8ZBHrqmEkojF7Y+F7VSDFyme6VgK87XHvXcSlsJi8Vg4yI56T 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:(13230022)(4636009)(376002)(366004)(346002)(136003)(39860400002)(396003)(451199015)(31686004)(36756003)(4744005)(8676002)(86362001)(31696002)(66556008)(44832011)(66476007)(4326008)(8936002)(5660300002)(2906002)(83380400001)(38100700002)(66946007)(478600001)(316002)(966005)(110136005)(54906003)(6486002)(6666004)(41300700001)(2616005)(6512007)(186003)(6506007)(26005)(53546011)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QnRNSUJJSWpreG1mb3cxTkJUeEFJVzIvRUxCU0xDc21jNUpjMjh0MVQ4NjdG?= =?utf-8?B?NTRRcXZwZ05nbWNFYUs0TUkxQUlQblNPcmpkWGxRQ1VQUDFyZmlDLys4eS8v?= =?utf-8?B?cXFpY3hBZFE2SWlsOTZOd1RQdmFsWStGNDhpOVVZL3l4NjFGYWZQZnFtZTVP?= =?utf-8?B?dWdTRkZ4L2JEQVZCTjFySnk1a2lHSEwwajlQL2MvREsyZCt2SS8ra2U3aEhK?= =?utf-8?B?ZVZYa3kyWWlkL2lZTmNpQXBsUmhGVjZ4Z2pUcWpITGJpOGVSTGR5aVZsaUNj?= =?utf-8?B?UVFUTUY4eHMyS1k4cmtEMUl0d25SLzVzWGFhSDZYQTZ6Zm5JM3VhdmdUbGpj?= =?utf-8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Udg5XfrNJSb/?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e9b529c-3a58-4a5f-b547-08daf9691dc8 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2023 15:31:49.6825 (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: XzhvTvyq0oVzPlao6A+S0WLOn7OLqU6gEp27PCkpGCj4zs9KVyJ6BqejP95ccYea X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7410 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 1/18/2023 1:47 PM, Levend Sayar wrote: > Hi all. > > PMD for Google Virtual NIC says it is capable of IPV4 TX checksum > offloading. > > https://github.com/DPDK/dpdk/blob/main/drivers/net/gve/gve_ethdev.c#L285 > > > But according to my tests on Google Cloud, it is not doing that ipv4 > checksum tx offload. > I only managed to send a packet via DPDK if I calculate the checksum myself. > > Do you have any idea about that?  > cc'ed gve maintainers.