Cover Detail
Show a cover letter.
GET /api/covers/63844/?format=api
http://patches.dpdk.org/api/covers/63844/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20191213141322.32730-1-maxime.coquelin@redhat.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20191213141322.32730-1-maxime.coquelin@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191213141322.32730-1-maxime.coquelin@redhat.com", "date": "2019-12-13T14:13:18", "name": "[0/4] Add external contiguous memory support to Virtio-user", "submitter": { "id": 512, "url": "http://patches.dpdk.org/api/people/512/?format=api", "name": "Maxime Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20191213141322.32730-1-maxime.coquelin@redhat.com/mbox/", "series": [ { "id": 7824, "url": "http://patches.dpdk.org/api/series/7824/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7824", "date": "2019-12-13T14:13:18", "name": "Add external contiguous memory support to Virtio-user", "version": 1, "mbox": "http://patches.dpdk.org/series/7824/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/63844/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 46431A04F1;\n\tFri, 13 Dec 2019 15:13:36 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 986331BF82;\n\tFri, 13 Dec 2019 15:13:35 +0100 (CET)", "from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com\n [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 690E61BF7F\n for <dev@dpdk.org>; Fri, 13 Dec 2019 15:13:34 +0100 (CET)", "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-146-3QrCcLBAMZeg2qQr2tltMQ-1; Fri, 13 Dec 2019 09:13:30 -0500", "from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com\n [10.5.11.12])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ECE758D9FAB;\n Fri, 13 Dec 2019 14:13:28 +0000 (UTC)", "from localhost.localdomain (ovpn-112-19.ams2.redhat.com\n [10.36.112.19])\n by smtp.corp.redhat.com (Postfix) with ESMTP id EEB1160C05;\n Fri, 13 Dec 2019 14:13:24 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1576246413;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=zZLyVPZ6xrsYbAe5yaIqZPD30A6d/fRw8Hct9eEYhiI=;\n b=SXxX/9kQLESuMDo8B3oPpb8jUMTSaL9trDdevtJ90+hibAes20IO7Aez2F+dO/lhl4Pp13\n 9O9ufGMhcBD8k1vGRLajnXBUbuRhAcB4fcIsdsJHEF01neknck+lWH5BFxYieUEae6x76t\n LJGI159s8r9kO5DBNNfD5/MCSJgf/bs=", "From": "Maxime Coquelin <maxime.coquelin@redhat.com>", "To": "dev@dpdk.org, tiwei.bie@intel.com, zhihong.wang@intel.com,\n anatoly.burakov@intel.com", "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>", "Date": "Fri, 13 Dec 2019 15:13:18 +0100", "Message-Id": "<20191213141322.32730-1-maxime.coquelin@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12", "X-MC-Unique": "3QrCcLBAMZeg2qQr2tltMQ-1", "X-Mimecast-Spam-Score": "0", "Content-Type": "text/plain; charset=US-ASCII", "Content-Transfer-Encoding": "quoted-printable", "Subject": "[dpdk-dev] [PATCH 0/4] Add external contiguous memory support to\n\tVirtio-user", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Somme applications/frameworks using DPDK allocate their own memory\nfor its buffers. This is the case of Seastar, and also VPP.\n\nIt is currently not possible to use Virtio-user PMD with these\napplications because Virtio-user requires file descriptor for this\nmemory to be shared with the vhost-user backend (vDPA in our case [0]).\n\nThis series introduces a new API in EAL to register external memory\nthat is contiguous in both the VA and the IOVA space.\n\nIt also enables VDEVs to implement the DMA map/unmap callback, and\nimplement it in Virtio-user PMD.\n\nPlease note that extmem unit tests are missing. I'm working on it\nand it will be in v2. Just share this v1 for early reviews.\n\nMaxime Coquelin (4):\n eal: add new API to register contiguous external memory\n eal: allow getting memory segment FD with external memory\n bus/vdev: add DMA mapping supprt\n net/virtio: add DMA mapping callback to virtio-user\n\n drivers/bus/vdev/rte_bus_vdev.h | 24 +++++\n drivers/bus/vdev/vdev.c | 50 +++++++++++\n .../net/virtio/virtio_user/virtio_user_dev.c | 10 +--\n .../net/virtio/virtio_user/virtio_user_dev.h | 3 +\n drivers/net/virtio/virtio_user_ethdev.c | 58 +++++++++++++\n lib/librte_eal/common/eal_common_memory.c | 87 ++++++++++++++++---\n lib/librte_eal/common/include/rte_memory.h | 46 ++++++++++\n lib/librte_eal/common/malloc_heap.c | 17 +++-\n lib/librte_eal/common/malloc_heap.h | 2 +-\n lib/librte_eal/common/rte_malloc.c | 2 +-\n lib/librte_eal/rte_eal_version.map | 3 +\n 11 files changed, 278 insertions(+), 24 deletions(-)" }{ "id": 63844, "url": "