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 35C7DA0C4B; Thu, 21 Oct 2021 14:29:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D145411FB; Thu, 21 Oct 2021 14:29:08 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C685D4117A for ; Thu, 21 Oct 2021 14:29:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634819346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BNw00iajc25UJLxzfNRs4xhX8gjZRiyVrCZubaGLGQA=; b=LxEeaeD4padhnjCPG1kXsUo91sUAA7b5EUsp3ci4D3SrOc8Gy95bhn6nJR+53jq9MDPy+z hAqnNppH5QCbNLvdoloVMtx2U5QtrsextGe+5U3pfrXVAa1BJ7BUefWFMaBFmSv55ub3b4 4Q9iVZl3grocU1Mn2gZ/JmiNePSyH7o= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-450-tstudqq_OkaK5XAUjyJj0w-1; Thu, 21 Oct 2021 08:29:05 -0400 X-MC-Unique: tstudqq_OkaK5XAUjyJj0w-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3D0BABAF80; Thu, 21 Oct 2021 12:29:03 +0000 (UTC) Received: from [10.39.208.27] (unknown [10.39.208.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4110060657; Thu, 21 Oct 2021 12:28:57 +0000 (UTC) Message-ID: <17a8d20b-9d9e-f756-4165-b7bf389aa090@redhat.com> Date: Thu, 21 Oct 2021 14:28:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 To: Ivan Malov , dev@dpdk.org Cc: stable@dpdk.org, Andrew Rybchenko , Chenbo Xia , Yuanhan Liu , Olivier Matz References: <20210830142655.18373-1-ivan.malov@oktetlabs.ru> <20210916184955.2755-1-ivan.malov@oktetlabs.ru> From: Maxime Coquelin In-Reply-To: <20210916184955.2755-1-ivan.malov@oktetlabs.ru> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/virtio: handle Tx checksums correctly for tunnel packets 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 Sender: "dev" On 9/16/21 20:49, Ivan Malov wrote: > Tx prepare method calls rte_net_intel_cksum_prepare(), which > handles tunnel packets correctly, but Tx burst path does not > take tunnel presence into account when computing the offsets. > > Fixes: 58169a9c8153 ("net/virtio: support Tx checksum offload") > Cc: stable@dpdk.org > > Signed-off-by: Ivan Malov > Reviewed-by: Andrew Rybchenko > --- > drivers/net/virtio/virtqueue.h | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > Applied to dpdk-next-virtio/main. Thanks, Maxime