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 10FC9A0032; Fri, 14 Jan 2022 08:37:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34EFB42768; Fri, 14 Jan 2022 08:37:43 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id D642140DDD for ; Fri, 14 Jan 2022 08:37:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642145862; x=1673681862; h=from:to:cc:subject:date:message-id; bh=GXmEZ/eIC19b+NnaKHiOXPYUfWJuinhzX6Pzkw2v6R4=; b=hqNKtY0KK5xnJhejRwRoBIYFuiw+xrtawxbnfO79nQfY/PY+VMqXlDj0 QSuhTGaN192igOH9Cfbc7d8oB05UDfuiKaq+T6Qg0NrPU206u2R6/vCLR cBcmi9m8LvWiSuObvAt5IOmxreLICSxK27IgNIqYNPPVHREqc34lSo+Li bS3dOSMHpWeRHWxD9YelOGf4HIgsHcYjW5v1TMKTCwJZntyxH4j3tLWbW kVTYGdPtOKfmTTznt8S9fhZNwtDRb2BsDS4EVE+T6xxJfDmCrMj8gSUr0 j4ARHvzN4hmFjA9kzKL4C94Jzxgl3Ui/Osg1aw0deioaPyrvsltS0bEAR A==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="244402014" X-IronPort-AV: E=Sophos;i="5.88,287,1635231600"; d="scan'208";a="244402014" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2022 23:37:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,287,1635231600"; d="scan'208";a="516258990" Received: from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.110.228]) by orsmga007.jf.intel.com with ESMTP; 13 Jan 2022 23:37:28 -0800 From: xuan.ding@intel.com To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, yuanx.wang@intel.com, Xuan Ding Subject: [PATCH 0/2] vhost: fix physical address mapping Date: Fri, 14 Jan 2022 16:11:58 +0000 Message-Id: <20220114161200.114422-1-xuan.ding@intel.com> X-Mailer: git-send-email 2.17.1 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 From: Xuan Ding This patchset fixes the issue of incorrect DMA mapping in PA mode. Due to the ambiguity of host_phys_addr naming in the guest page struct, rename it to host_iova. Xuan Ding (2): vhost: fix physical address mapping vhost: rename field in guest page struct lib/vhost/vhost.h | 11 ++-- lib/vhost/vhost_user.c | 130 ++++++++++++++++++++--------------------- lib/vhost/virtio_net.c | 11 ++-- 3 files changed, 75 insertions(+), 77 deletions(-) -- 2.17.1