From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 60ACAA0C42
	for <public@inbox.dpdk.org>; Thu, 24 Jun 2021 09:48:39 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4C15841164;
	Thu, 24 Jun 2021 09:48:39 +0200 (CEST)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com
 [64.147.123.21])
 by mails.dpdk.org (Postfix) with ESMTP id B43444003C;
 Thu, 24 Jun 2021 09:48:36 +0200 (CEST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id 34D8C3200657;
 Thu, 24 Jun 2021 03:48:35 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute3.internal (MEProxy); Thu, 24 Jun 2021 03:48:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm1; bh=
 vkYZ2XtVi/k/lFOJHCImrBJaI980dqQ+OeCvNUAcR3Y=; b=Ynf0bzz4RCLC3QJz
 /i68zyxum51EYqYNBk4AI5Q99fu+GhWnf0FmscaA8hx3ogtHyScvWEbeY4yBguoP
 n9XCOk9Qa7OJvFVtXMZoGOOPg1/6EgAIOs4z+97St+11+5puNi8qtDadxU7evJfa
 BQhFYHkFkn98LZannb2hba5oVfaKXiHuSi70E0NrTxMaHgP3FFNy3iW9by9gQCkH
 /xmzaHU071ea7OZnU/rULnGTiCuUVFJj/RqMcw8nb9xAjumYbpGnCb+YVwdYRDhs
 ESMXO2MhmI6X+qActlKVlOeitxrmuzbJBmPCYq5du3oEnlMSqlD59YbKN39FrRiJ
 JrjWfA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; bh=vkYZ2XtVi/k/lFOJHCImrBJaI980dqQ+OeCvNUAcR
 3Y=; b=lvaHRvck1T5aRpkYP0mnE/AIRAzPKVLZ9R4+KFFWCwaOcrqgyJH5NGyx3
 43ESMkGfO8vkRGm4SPJkP/bieveF62zluxgmFcD1EVi6Mwhv1SBSTmBll46QSMzE
 t2iedxxS2jNC3aStVG8wcFJBvPSF64Z3eepD9rpTci+h0IFLpZHdB0wMq2/RcSoX
 qzP+F87eaBurD8GvhzDc/eoo8QI0XK+JU6gLeOireD4mtmW1C6FuvMSBBYWC6JX8
 eLnlmxT+MlyE/nrmbiAHPv5GRdjTV8yZ36CMcydV+uR4ldrvlK0XB96fWxmbB5G0
 ncSOGFFTmQEbm83F9VQG+Bc8Z3pgw==
X-ME-Sender: <xms:0jjUYM20Eyam7T56UxUUWZqhK2UwrDRDtC5scw4brpQ2qlRVtvkdMA>
 <xme:0jjUYHFFxqVbYZyYaHeRfpDFcoRPYnbap_VJyti05yO89vIHDTjSwb6scRyHJGCY4
 JReNkdu3zcVsZWpGw>
X-ME-Received: <xmr:0jjUYE5vW7FSg9FcN_Kzqs3KO39VeldKNMo5_9JEfhqo8xNtUkeCFr6bSHB-ufBU1jl5GxGJvNRuY9auvZbpli3Jiw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeggedguddujecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej
 ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:0jjUYF3kuS6U2bFrV-z17yPp5rboZDoXRgp0ywxVMkBqNBMAoumnRg>
 <xmx:0jjUYPGNUVCXmAue-neygHwWA5qz2kV7wfKMcg9uqYviRyexAn9CIQ>
 <xmx:0jjUYO-RUtHpeYcRKuOFvVvUY2u_vKLCYs7z2zzTqZMlY00x5QaE1A>
 <xmx:0jjUYE7nu0oDvm297Xona7_WP5Vk_G-nZAGSPyJvHqNBlpPoaA6HWA>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 24 Jun 2021 03:48:33 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: stable@dpdk.org, Jerin Jacob <jerinj@marvell.com>,
 Kiran Kumar K <kirankumark@marvell.com>,
 Vamsi Attunuru <vattunuru@marvell.com>, dpdk-dev <dev@dpdk.org>,
 dpdk stable <stable@dpdk.org>, Ajit Khaparde <ajit.khaparde@broadcom.com>
Date: Thu, 24 Jun 2021 09:48:32 +0200
Message-ID: <6179127.TKf24ysEpO@thomas>
In-Reply-To: <CACZ4nhsgnk=tYs41S8WvJugYjqK_dDs0uPyczmkUcux4w2uDbA@mail.gmail.com>
References: <20210622122956.3130231-1-ferruh.yigit@intel.com>
 <CACZ4nhsgnk=tYs41S8WvJugYjqK_dDs0uPyczmkUcux4w2uDbA@mail.gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] kni: fix crash on userspace VA
 for segmented packets
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

24/06/2021 03:57, Ajit Khaparde:
> On Tue, Jun 22, 2021 at 5:39 AM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> >
> > When IOVA=VA, address translation for segmented packets is wrong, it
> > assumes the address in the mbuf->next is physical address, not VA
> > address.
> >
> > Fixing the address translation to work both PA & VA mode.
> >
> > Fixes: e73831dc6c26 ("kni: support userspace VA")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

Applied, thanks