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 E27BF42DE1 for ; Thu, 6 Jul 2023 05:47:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9742141101; Thu, 6 Jul 2023 05:47:32 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 4F84940144 for ; Thu, 6 Jul 2023 05:47:30 +0200 (CEST) Received: from kwepemi100009.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QxMpP33XGzMnl1; Thu, 6 Jul 2023 11:44:13 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by kwepemi100009.china.huawei.com (7.221.188.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 6 Jul 2023 11:47:27 +0800 Received: from dggpeml500020.china.huawei.com ([7.185.36.88]) by dggpeml500020.china.huawei.com ([7.185.36.88]) with mapi id 15.01.2507.027; Thu, 6 Jul 2023 11:47:27 +0800 From: "jiangheng (G)" To: "maxime.coquelin@redhat.com" , "chenbo.xia@intel.com" CC: "users@dpdk.org" Subject: why does virtio not support IPv4 CKSUM? Thread-Topic: why does virtio not support IPv4 CKSUM? Thread-Index: AdmvuxqAKvq8Er9ET6qfcLzNpsfxSg== Date: Thu, 6 Jul 2023 03:47:26 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.136.117.195] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi=20 why does virtio not support IPv4 CKSUM? But support TCP/UDP cksum. If not support ipv4 cksum, when I use GRO, the ip cksum of the packets tran= smitted to ip layer will be incorrect. I have to calculate ip cksum before packet was transmiited to ip layer. So why does virtio not support ipv4 cksum ?=20