Cover Detail
Show a cover letter.
GET /api/covers/126908/?format=api
http://patchwork.dpdk.org/api/covers/126908/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/168431450017.558450.16680518469610688737.stgit@ebuild.local/", "project": { "id": 1, "url": "http://patchwork.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": "<168431450017.558450.16680518469610688737.stgit@ebuild.local>", "list_archive_url": "https://inbox.dpdk.org/dev/168431450017.558450.16680518469610688737.stgit@ebuild.local", "date": "2023-05-17T09:08:30", "name": "[v3,0/4] vhost: add device op to offload the interrupt kick", "submitter": { "id": 672, "url": "http://patchwork.dpdk.org/api/people/672/?format=api", "name": "Eelco Chaudron", "email": "echaudro@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/168431450017.558450.16680518469610688737.stgit@ebuild.local/mbox/", "series": [ { "id": 28022, "url": "http://patchwork.dpdk.org/api/series/28022/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28022", "date": "2023-05-17T09:08:30", "name": "vhost: add device op to offload the interrupt kick", "version": 3, "mbox": "http://patchwork.dpdk.org/series/28022/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/126908/comments/", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E6BA842B2A;\n\tWed, 17 May 2023 11:08:44 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D586242BDA;\n\tWed, 17 May 2023 11:08:44 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 39AD242B8B\n for <dev@dpdk.org>; Wed, 17 May 2023 11:08:43 +0200 (CEST)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-607-ooT0l0nyOSmLnAd-UIkA8A-1; Wed, 17 May 2023 05:08:40 -0400", "from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com\n [10.11.54.6])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 40C22101A555;\n Wed, 17 May 2023 09:08:40 +0000 (UTC)", "from ebuild.redhat.com (unknown [10.39.195.120])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 79D8F2166B32;\n Wed, 17 May 2023 09:08:32 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1684314522;\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=3rvpRZYzJag1xDpTfz4lFaEks3TwiDocUoDkJCXghYE=;\n b=hH/zfhSanNf7WzW5i93a8wJw81VvypN/VvfcQiYAnTKuaRhzKSF1WqOGKPVVE6gTm5UMze\n vdFlX4uXEhqcVN8/MNK4zje3PKDBCLKvaopfCml1cB0NG5G/0P27dEFxVKd3Cg0GEdW1Ga\n zJlXE7LRtbV4RJyhlwjAO+RWsubZdoo=", "X-MC-Unique": "ooT0l0nyOSmLnAd-UIkA8A-1", "From": "Eelco Chaudron <echaudro@redhat.com>", "To": "maxime.coquelin@redhat.com, chenbo.xia@intel.com,\n david.marchand@redhat.com", "Cc": "dev@dpdk.org", "Subject": "[PATCH v3 0/4] vhost: add device op to offload the interrupt kick", "Date": "Wed, 17 May 2023 11:08:30 +0200", "Message-Id": "<168431450017.558450.16680518469610688737.stgit@ebuild.local>", "User-Agent": "StGit/1.5", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.6", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "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>,\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" }, "content": "This series adds an operation callback which gets called every time the\nlibrary wants to call eventfd_write(). This eventfd_write() call could\nresult in a system call, which could potentially block the PMD thread.\n\nThe callback function can decide whether it's ok to handle the\neventfd_write() now or have the newly introduced function,\nrte_vhost_notify_guest(), called at a later time.\n\nThis can be used by 3rd party applications, like OVS, to avoid system\ncalls being called as part of the PMD threads.\n\nv3:\n - Changed ABI compatibility code to no longer use a boolean\n to avoid having to disable specific GCC warnings.\n - Moved the fd check fix to a separate patch (patch 3/4).\n - Fixed some coding style issues.\n\nv2: - Used vhost_virtqueue->index to find index for operation.\n - Aligned function name to VDUSE RFC patchset.\n - Added error and offload statistics counter.\n - Mark new API as experimental.\n - Change the virtual queue spin lock to read/write spin lock.\n - Made shared counters atomic.\n - Add versioned rte_vhost_driver_callback_register() for\n ABI compliance.\n\nEelco Chaudron (4):\n vhost: change vhost_virtqueue access lock to a read/write one\n vhost: make the guest_notifications statistic counter atomic\n vhost: fix invalid call FD handling\n vhost: add device op to offload the interrupt kick\n\n\n lib/eal/include/generic/rte_rwlock.h | 17 +++++\n lib/vhost/meson.build | 2 +\n lib/vhost/rte_vhost.h | 23 ++++++-\n lib/vhost/socket.c | 63 +++++++++++++++++--\n lib/vhost/version.map | 9 +++\n lib/vhost/vhost.c | 92 +++++++++++++++++++++-------\n lib/vhost/vhost.h | 69 ++++++++++++++-------\n lib/vhost/vhost_user.c | 14 ++---\n lib/vhost/virtio_net.c | 90 +++++++++++++--------------\n 9 files changed, 278 insertions(+), 101 deletions(-)" }{ "id": 126908, "url": "