Cover Detail
Show a cover letter.
GET /api/covers/45173/?format=api
https://patches.dpdk.org/api/covers/45173/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/153765091094.29126.1031571146095035538.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": "<153765091094.29126.1031571146095035538.stgit@T460>", "list_archive_url": "https://inbox.dpdk.org/dev/153765091094.29126.1031571146095035538.stgit@T460", "date": "2018-09-22T21:16:23", "name": "[v4,0/5] vhost: 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/153765091094.29126.1031571146095035538.stgit@T460/mbox/", "series": [ { "id": 1455, "url": "https://patches.dpdk.org/api/series/1455/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1455", "date": "2018-09-22T21:16:23", "name": "vhost: vhost_user.c code cleanup", "version": 4, "mbox": "https://patches.dpdk.org/series/1455/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/45173/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 5ED5DA49;\n\tSat, 22 Sep 2018 23:16:27 +0200 (CEST)", "from mail-wm1-f68.google.com (mail-wm1-f68.google.com\n\t[209.85.128.68]) by dpdk.org (Postfix) with ESMTP id CB26C27D\n\tfor <dev@dpdk.org>; Sat, 22 Sep 2018 23:16:25 +0200 (CEST)", "by mail-wm1-f68.google.com with SMTP id s12-v6so6190483wmc.0\n\tfor <dev@dpdk.org>; Sat, 22 Sep 2018 14:16:25 -0700 (PDT)", "from [127.0.1.1] ([82.146.27.14]) by smtp.gmail.com with ESMTPSA id\n\tt2-v6sm19528527wre.96.2018.09.22.14.16.23\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 22 Sep 2018 14:16:24 -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=L7rYA2p8/9BmKjxihNZnheO6sjfq1i2Fef2zDE5bv0Y=;\n\tb=flcMq/MDQYAN4HmPMTivlzR2P3zcIhLySdIGVcLpoGWyARDTahGTiytpP1JpCHHogf\n\taAHT0J6X42mwEnUhUMOBCsvheqfX1mmrgVRKFHZQMnIxH8dseyUKtbIvaEyJyI7FnJ8I\n\tFx5qS9WgOaNCOEuFsR0TASa6zKKaLiCfiWOIsvYcSkquEamUkedNBU2/0QbZILXCI2UZ\n\t5hMliWFFHr0Z+kWJTURJ6e8bocgkfGLi4dhxvNc3ts2wPehPRYJuC+O4QAAbHsxmlYf6\n\t11d9cBkSr/IYleKy+9v4g5EUr8Xpy5zaZxrn/P9ZC8lqskvZlyBMQ/jtnkiS6EEvRMDC\n\trnfQ==", "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=L7rYA2p8/9BmKjxihNZnheO6sjfq1i2Fef2zDE5bv0Y=;\n\tb=QdFtuAU9FTkJLhu2qbU+xt8OqTR9XrWtfeUKdu6pLcdZ+zTCPG3sb9HNvTygky0a1F\n\tH/KrRPA8pbXGHcf53wBWUziCsTJX2fqMW1bei6mVDdkenC6l9ykSjDqCsmcaIdxQjBBT\n\tECGMWh1Wvp3jJfna3rfuAqm+g+GD/J30B/laQy6otGHUm68H7hgZfsxHCppKzuigJPgf\n\txVWyZ90bvpXa2qo4T37fg8YTExFMwLRO0RyL4RxJ4Mjlju3IDK7asvzZMXaXgGIXGYk8\n\tNuZjV6XdwsKJFZC0J7cBFP/bpWjdPoEs46qUjOstngF3l12vtCSeA3n2ka0guACYfEK/\n\tlgow==", "X-Gm-Message-State": "ABuFfojLot7cdm1UYhH175zvIyxYygldD6GgaHOnkbz2YPx/g73ysmy8\n\t0x9ZWeZg93J5o7dELSfy3Hgee5RA5Lic0w==", "X-Google-Smtp-Source": "ANB0VdYZt7XBB4B4sHRWI63sMdLSx7fQ9eDMo1HsSU4n1l+7f+7nwdg660SPVmskwvXrsjIz1ASxVQ==", "X-Received": "by 2002:a1c:c3:: with SMTP id\n\t186-v6mr2566196wma.126.1537650985090; \n\tSat, 22 Sep 2018 14:16:25 -0700 (PDT)", "From": "Nikolay Nikolaev <nicknickolaev@gmail.com>", "To": "maxime.coquelin@redhat.com, tiwei.bie@intel.com, zhihong.wang@intel.com", "Cc": "dev@dpdk.org", "Date": "Sun, 23 Sep 2018 00:16:23 +0300", "Message-ID": "<153765091094.29126.1031571146095035538.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 v4 0/5] vhost: 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\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": 45173, "url": "