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 3112BA0352; Wed, 19 Jan 2022 07:36:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7DD440DDB; Wed, 19 Jan 2022 07:36:32 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 7D7964013F for ; Wed, 19 Jan 2022 07:36:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642574191; x=1674110191; h=from:to:cc:subject:date:message-id; bh=5VrXv3jvqSArPIbmJX42I0A+6hm8fKQqIH77v8/8vN0=; b=Xl9IWMtlhv7JrN/TD4zmkkbZu5JIJktjNskBAMnv2Iyd07HqyZtdHSLQ wdBZ73op1m5prFE16q9NdEtFRUQbVW1Y9uo+y4WSej/H5IwH7wt/5DEZk JTKfydNo0J9Zt4TxuZgz4V0+Nkbi4/FOrrlF6TRfytEtsnsOl3XpdpNGG 9IyLuUm6kcuOSQLTiTnLUe34XDFkzPJGqPYJlw2gwqzZ9x1ueBLaSgRnU 5SrC/byj+pBiFBl7UmMnFaESm1wInCSfuXwDmuadVpllbQmlasl2aVVix bND7u6zaIXl9UsUf2Be3vm6VaCWPlLGudU7kXoPPF+PrfDJsQs/SbUJqX w==; X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="305727765" X-IronPort-AV: E=Sophos;i="5.88,299,1635231600"; d="scan'208";a="305727765" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2022 22:36:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,299,1635231600"; d="scan'208";a="518056259" Received: from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.110.228]) by orsmga007.jf.intel.com with ESMTP; 18 Jan 2022 22:36:27 -0800 From: xuan.ding@intel.com To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, yuanx.wang@intel.com, Xuan Ding Subject: [PATCH v2 0/2] vhost: fix async address mapping Date: Wed, 19 Jan 2022 15:10:14 +0000 Message-Id: <20220119151016.9970-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. v2: * Change the order of patch. Xuan Ding (2): vhost: rename field in guest page struct vhost: fix physical address mapping 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