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 3A9C4A00C5; Wed, 16 Feb 2022 03:29:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BCD1410F7; Wed, 16 Feb 2022 03:29:02 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 00ACD4013F for ; Wed, 16 Feb 2022 03:28:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644978540; x=1676514540; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=rUqi2pXINQOadlFWNGJY3ZyN0BB5ZairgIrLz7Aqx6Q=; b=BqPdkn3glWeq7oIrFnQjVBuKor6GdNOOL0lAoeKSQ/mYVYunBSa6SBbm WXKUeHwB21bd4/YhkOS6O7H3HsMqOvCHdaSwHYuvg8lp1bsgrMUGodGMH nmJ+LZWPyxcPRFm9ZDuVBSeQfTyVe9QA0Qw/Y9AXvqPAebJwsAlnDgx8P YLPklo4nkRL8aWNGG/H9cfYVutwWZou4ypiI5oyEcxBArb4kx8OaKrvpA ljD+O1pDfKHqcLh54x6lLxG45atW+OOVXidO5CzXYt+aJcFvaOnvgubFx h/B4V+McSuK/Y2cVXscOwTyax+ZeD7YjDC0l4RRli1xYnEDPIUFrK3gHP g==; X-IronPort-AV: E=McAfee;i="6200,9189,10259"; a="237910968" X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="237910968" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 18:28:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="704087789" Received: from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.110.228]) by orsmga005.jf.intel.com with ESMTP; 15 Feb 2022 18:28:56 -0800 From: xuan.ding@intel.com To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, ktraynor@redhat.com, ferruh.yigit@intel.com, jiayu.hu@intel.com, yuanx.wang@intel.com, Xuan Ding Subject: [PATCH v4 0/2] vhost: fix async address mapping Date: Wed, 16 Feb 2022 02:28:52 +0000 Message-Id: <20220216022854.39057-1-xuan.ding@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220114161200.114422-1-xuan.ding@intel.com> References: <20220114161200.114422-1-xuan.ding@intel.com> 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. v4: * Fix the patch timezone. v3: * Fix some format issues. v2: * Change the order of patch. Xuan Ding (2): vhost: fix field naming in guest page struct vhost: fix physical address mapping lib/vhost/vhost.h | 11 ++-- lib/vhost/vhost_user.c | 133 ++++++++++++++++++++--------------------- lib/vhost/virtio_net.c | 11 ++-- 3 files changed, 76 insertions(+), 79 deletions(-) -- 2.17.1