Cover Detail
Show a cover letter.
GET /api/covers/44749/?format=api
http://patches.dpdk.org/api/covers/44749/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/153698873346.23049.10966616323159180622.stgit@T460/", "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": "<153698873346.23049.10966616323159180622.stgit@T460>", "list_archive_url": "https://inbox.dpdk.org/dev/153698873346.23049.10966616323159180622.stgit@T460", "date": "2018-09-15T05:20:19", "name": "[v3,0/5] vhost: vhost_user.c code cleanup", "submitter": { "id": 1062, "url": "http://patches.dpdk.org/api/people/1062/?format=api", "name": "Nikolay Nikolaev", "email": "nicknickolaev@gmail.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/153698873346.23049.10966616323159180622.stgit@T460/mbox/", "series": [ { "id": 1332, "url": "http://patches.dpdk.org/api/series/1332/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1332", "date": "2018-09-15T05:20:19", "name": "vhost: vhost_user.c code cleanup", "version": 3, "mbox": "http://patches.dpdk.org/series/1332/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/44749/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 41CA62BD8;\n\tSat, 15 Sep 2018 07:20:24 +0200 (CEST)", "from mail-wr1-f68.google.com (mail-wr1-f68.google.com\n\t[209.85.221.68]) by dpdk.org (Postfix) with ESMTP id A6B442BD5\n\tfor <dev@dpdk.org>; Sat, 15 Sep 2018 07:20:22 +0200 (CEST)", "by mail-wr1-f68.google.com with SMTP id z96-v6so12387831wrb.8\n\tfor <dev@dpdk.org>; Fri, 14 Sep 2018 22:20:22 -0700 (PDT)", "from [127.0.1.1] ([82.146.27.14]) by smtp.gmail.com with ESMTPSA id\n\th82-v6sm795284wme.11.2018.09.14.22.20.20\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 14 Sep 2018 22:20:21 -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=KtoIyVzEbjlqzpCjB71bKSe5n6FofRPxvg+k6JBkEVE=;\n\tb=S26DJZD/Cy+pjPEPS3nYHFLmyjmEky+1UyKto4RPGUZXlr0OriPFPqYYQjbNaB3kDB\n\tOaBRLVi0JPU9LINqqheQbNwFhcsCWzkaV7NVul6HPy6j+MkInL5K7t6w/VMHypKAbb/l\n\taJLlIFq4LVX5QtgxP9YxFkAq4JZdwmOwSfmxhCZh3LHz/2aElaRf0iKhEO0Z2koJEDza\n\tbRu3+uUtW0n2TU2ejUBMZzyr3Jnto2MdG2WKFu2VhM8nKaxhyL1foDKu/NeA1rhiGUrq\n\ttflEG0HTbQBFngZAXdD5xJb+asqQMkvlOubc6Wr4MuTUNn1wFOgu3lGsI0cofiNlL6LM\n\tyYXw==", "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=KtoIyVzEbjlqzpCjB71bKSe5n6FofRPxvg+k6JBkEVE=;\n\tb=SdRUAtfKh6y8B3cEkhlFpN9ZlCjGff5XDbEp2gIxT03In0eLUNevro4ovntj2vabGv\n\tT7X3fKmSNBtDVNOK3aVSx9Zo5A0RUhPhSXSindBvEoijDPn9Xx6GRxO+bUB8L3MxN+TL\n\tvIp2QUhg8j3fjIZDpTEwRmvXUgNxe3oTtoxTQgTLlPnO3slUgrvtAtIDrQIdnRSG1jIm\n\tW4vZ93uCXcTZ6oDrYow4938wtpSJk6NAIUeuo5zWzW0ZGfZ8uqexYOMLiEW4s6NdBtAb\n\tdU9LrTxmKlflpFYNLT853NqkODZOquE+nGSCgilVZZNZyZloTPm7CeAXq6Edoe5xwafG\n\trfIA==", "X-Gm-Message-State": "APzg51Bl+Y9/DoGMOrjP1AcYz/cbdkMygpOTqKs8IuLoNQFmRJt4jrHV\n\t3xjdOFSrbmlAkEl3FVb64y6bNJgsPyrylQ==", "X-Google-Smtp-Source": "ANB0VdYdHxrGOB2vjMMJaDoZPhQxmD0D+84HK8M+19OYdSPIShxZrgtUgdFPLgx05D5l5TfUegOinw==", "X-Received": "by 2002:adf:f8ca:: with SMTP id\n\tf10-v6mr12633765wrq.237.1536988821858; \n\tFri, 14 Sep 2018 22:20:21 -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": "Sat, 15 Sep 2018 08:20:19 +0300", "Message-ID": "<153698873346.23049.10966616323159180622.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 v3 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 introduces 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 make any functional changes.\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 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 | 402 ++++++++++++++++++++++-------------------\n 1 file changed, 216 insertions(+), 186 deletions(-)\n\n--\nSignature" }{ "id": 44749, "url": "