Message ID | 20240703100353.2243038-1-schalla@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 389E44555B; Wed, 3 Jul 2024 12:04:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28ABD40E7C; Wed, 3 Jul 2024 12:04:01 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6F36E40B99 for <dev@dpdk.org>; Wed, 3 Jul 2024 12:03:59 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4638jgVg004794; Wed, 3 Jul 2024 03:03:58 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=7 crVuz3Bk6Sv+jjGd83Th0rwmsCh/rANHeTBXYTt9jo=; b=LxnT7pvMRChe7/yIR D6ZPxrhaLHUx6SYn8WeEqCFOW4LQLqCm9RmpWnoTU9ms/hAyhOKB4zoWKP0yL4pO bkHv94GmC9pohdo39+zLY/9x1P5hE7KxMf9OBw6LdUaJU4Uy706RHMAWmaHXfp6m rW1NyydfHss46ctErC5u1uwBW/XYIk0IJ5ReZ+9I02zD1u3/nI4OVXC4/tgaWw/J bi0B5KnyE0Xit+Ypagz+iQMC1LMrsIQDCfeblXmiNmO3c7BqUa1f4iLcBB4fJkkM Ydp8G9o8H/NyuIOTMupj3YcfyOOstZVKNBqZwiH/WGoD8nxGEXjmFpeuPF2vrgYC N+CRw== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 4053du8b6x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Jul 2024 03:03:58 -0700 (PDT) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 3 Jul 2024 03:03:57 -0700 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 3 Jul 2024 03:03:57 -0700 Received: from localhost.localdomain (unknown [10.28.36.175]) by maili.marvell.com (Postfix) with ESMTP id A05D85B6921; Wed, 3 Jul 2024 03:03:54 -0700 (PDT) From: Srujana Challa <schalla@marvell.com> To: <dev@dpdk.org>, <maxime.coquelin@redhat.com>, <chenbox@nvidia.com> CC: <jerinj@marvell.com>, <ndabilpuram@marvell.com>, <vattunuru@marvell.com>, <schalla@marvell.com> Subject: [PATCH v3 0/3] net/virtio: support IOVA as PA mode for vDPA backend Date: Wed, 3 Jul 2024 15:33:50 +0530 Message-ID: <20240703100353.2243038-1-schalla@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240229132919.2186118-2-schalla@marvell.com> References: <20240229132919.2186118-2-schalla@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: -6is3o6DxIaC1D64KT-zvZLyX0TbAN7b X-Proofpoint-GUID: -6is3o6DxIaC1D64KT-zvZLyX0TbAN7b X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-03_06,2024-07-02_02,2024-05-17_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
net/virtio: support IOVA as PA mode for vDPA backend
|
|
Message
Srujana Challa
July 3, 2024, 10:03 a.m. UTC
This patch series makes Virtio-user works in IOVA as PA mode for vDPA backend. First patch fixes the issue when having buffer IOVA address in control queue descriptors. Second and third patches helps to share descriptor IOVA address, to the vhost backend. And also disables the use_va flag for VDPA backend type. v1->v2: - Split single patch into three patches. v2->v3: - Addressed the review comment by using rte_mem_iova2virt() for desc address translation. Srujana Challa (3): net/virtio_user: convert cq descriptor IOVA address to Virtual address net/virtio: store desc IOVA address in vring data structure net/virtio_user: support sharing vq descriptor IOVA to the backend drivers/net/virtio/virtio_ring.h | 12 ++-- .../net/virtio/virtio_user/virtio_user_dev.c | 59 ++++++++++++------- drivers/net/virtio/virtio_user_ethdev.c | 10 +++- drivers/net/virtio/virtqueue.c | 4 +- 4 files changed, 57 insertions(+), 28 deletions(-)