Cover Detail
Show a cover letter.
GET /api/covers/45215/?format=api
https://patches.dpdk.org/api/covers/45215/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/153780242838.17494.4512397995243433980.stgit@T460/", "project": { "id": 1, "url": "https://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": "<153780242838.17494.4512397995243433980.stgit@T460>", "list_archive_url": "https://inbox.dpdk.org/dev/153780242838.17494.4512397995243433980.stgit@T460", "date": "2018-09-24T15:21:10", "name": "[v5,0/5] vhost_user.c code cleanup", "submitter": { "id": 1062, "url": "https://patches.dpdk.org/api/people/1062/?format=api", "name": "Nikolay Nikolaev", "email": "nicknickolaev@gmail.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/153780242838.17494.4512397995243433980.stgit@T460/mbox/", "series": [ { "id": 1468, "url": "https://patches.dpdk.org/api/series/1468/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1468", "date": "2018-09-24T15:21:10", "name": "vhost_user.c code cleanup", "version": 5, "mbox": "https://patches.dpdk.org/series/1468/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/45215/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6E8A258CB;\n\tMon, 24 Sep 2018 17:21:15 +0200 (CEST)", "from mail-wr1-f66.google.com (mail-wr1-f66.google.com\n\t[209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 9474E56A3\n\tfor <dev@dpdk.org>; Mon, 24 Sep 2018 17:21:13 +0200 (CEST)", "by mail-wr1-f66.google.com with SMTP id z14-v6so2603639wrs.10\n\tfor <dev@dpdk.org>; Mon, 24 Sep 2018 08:21:13 -0700 (PDT)", "from [127.0.1.1] ([82.146.27.14]) by smtp.gmail.com with ESMTPSA id\n\tg2-v6sm4103580wmh.16.2018.09.24.08.21.11\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 24 Sep 2018 08:21:12 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:cc:date:message-id:user-agent:mime-version\n\t:content-transfer-encoding;\n\tbh=3bG9pzHMlN7mMlaFZSWqMGfL+ntqGIFU+oKeQ0nGPHY=;\n\tb=f+X//CTRyYDo3dLj0ITFHkaDTzObW7hVpZx9jU9AaWlkBO7AoJj4TountwBoctUGl4\n\tE639CjtvuDx+7/HW7yagsZn/ZT+N72eiM4IsMJFhO9qs23qNXf88Yfw9I8fwSzv29cAb\n\t7yL+cymANpeBRb9+VGMHd0XTW2bZ2PGOIOZjjnZ+U8qFMMlxWoz4KeARJE3nKHQluUdk\n\tagy9SGPX2EtR6DJqlq/Z+Onri4fNLm5hUTWObAd+tF6uUCWhpLHulJVPiWPEKzU19mhI\n\tJkLNeAgXkq/FllYl76wa3YxDWafaykhYlZqknMC/Mf3/n3jIq8MndQ4UXqZ/bkRmvWqA\n\tbueg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:cc:date:message-id:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=3bG9pzHMlN7mMlaFZSWqMGfL+ntqGIFU+oKeQ0nGPHY=;\n\tb=tCqbFo7Sd/ljXJ+oUhUzyCYTwGUp9Cc3fajMsIerhJ5TBRbAmGIYCNlQDqNb7RNrcP\n\tKYjhQzPULqIDMDJrUs+LDe3Pxs2k1RMQpNK+U6EvHYcigFamapZKDskuXYErkpRFssul\n\tb4irCtTg6X+MYoozF4COIApRy8A+HN0dge+2G6sYF4bKnI/nPezeadWLljb4tzXbn+jh\n\tUzxS4KF2utD8jF5txlTKsGZh+aZ5plOEPBO5GW+xGY7lfza60kr7pS6zK/MyfFhrFJWq\n\tW0VxebPNmGvtSdGVqXA3aT6gbGiw8Ufoyg3D+O5QY6SDGe4REbkUa9GDMV1mWM5OlpL3\n\tEe9A==", "X-Gm-Message-State": "ABuFfohCymTm28PISQs6lTVGVL668xwbEq5eZGtVsfTeTA+te7C57nFU\n\tSAPjkmQNSYHiyLthG561Ie2LrYCRPXCUtQ==", "X-Google-Smtp-Source": "ACcGV62hmE3SSOYh369/xNTnsP7JYbP3M7wosXm0n57eLtdnl17uvZpVuDj1L6sbpGTe8q4XS26doA==", "X-Received": "by 2002:adf:e109:: with SMTP id\n\td9-v6mr9348220wri.42.1537802472923; \n\tMon, 24 Sep 2018 08:21:12 -0700 (PDT)", "From": "Nikolay Nikolaev <nicknickolaev@gmail.com>", "To": "maxime.coquelin@redhat.com, anatoly.burakov@intel.com,\n\ttiwei.bie@intel.com, zhihong.wang@intel.com", "Cc": "dev@dpdk.org", "Date": "Mon, 24 Sep 2018 18:21:10 +0300", "Message-ID": "<153780242838.17494.4512397995243433980.stgit@T460>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Subject": "[dpdk-dev] [PATCH v5 0/5] vhost_user.c code cleanup", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "vhost: vhost_user.c code cleanup\n\nThis patchesries introduce a set of code redesigns in vhost_user.c.\n\nThe goal is to unify and simplify vhost-user message handling. The\npatches do not intend to introduce any functional changes.\n\nv5 changes:\n - fixed the usage of struct VhostUserMsg in all patches (Anatoly Burakov)\n\nv4 changes:\n - use struct VhostUserMsg as the coding style guide suggests (Anatoly Burakov)\n - VH_RESULT_FATAL is removed as not needed anymore (Maxime Coquelin)\n\nv3 changes:\n - rebased on top of git://dpdk.org/next/dpdk-next-virtio dead0602\n - introduce VH_RESULT_FATAL (Maxime Coquelin)\n - vhost_user_set_features return VH_RESULT_FATAL on failure.\n This allows keeping the propagate error logic (Ilya Maximets)\n - fixed vhost_user_set_vring_kick and vhost_user_set_protocol_features\n return VH_RESULT_ERR upon failure\n - fixed missing break in case VH_RESULT_ERR (Ilya Maximets)\n - fixed a type on the description of 2/5 patch (Maxime Coquelin)\n\nv2 changes:\n - Fix the comments by Tiwei Bie\n - Keep the old behavior\n - Fall through when the callback returns VH_RESULT_ERR\n - Fall through if the request is out of range\n\n---\n\nNikolay Nikolaev (5):\n vhost: unify struct VhostUserMsg usage\n vhost: make message handling functions prepare the reply\n vhost: handle unsupported message types in functions\n vhost: unify message handling function signature\n vhost: message handling implemented as a callback array\n\n\n lib/librte_vhost/vhost_user.c | 393 ++++++++++++++++++++++-------------------\n 1 file changed, 208 insertions(+), 185 deletions(-)\n\n--\nSignature" }{ "id": 45215, "url": "