Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/85968/?format=api
http://patchwork.dpdk.org/api/patches/85968/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210105021502.33158-1-Cheng1.jiang@intel.com/", "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": "<20210105021502.33158-1-Cheng1.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210105021502.33158-1-Cheng1.jiang@intel.com", "date": "2021-01-05T02:15:00", "name": "[v7,0/2] examples/vhost: sample code refactor", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1530, "url": "http://patchwork.dpdk.org/api/people/1530/?format=api", "name": "Jiang, Cheng1", "email": "Cheng1.jiang@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210105021502.33158-1-Cheng1.jiang@intel.com/mbox/", "series": [], "comments": "http://patchwork.dpdk.org/api/patches/85968/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/85968/checks/", "tags": {}, "related": [], "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 (xvm-189-124.dc0.ghst.net [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 30B75A09FF;\n\tTue, 5 Jan 2021 03:24:56 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B1044160784;\n\tTue, 5 Jan 2021 03:24:55 +0100 (CET)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 8CCB8160781\n for <dev@dpdk.org>; Tue, 5 Jan 2021 03:24:54 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Jan 2021 18:24:53 -0800", "from dpdk_jiangcheng.sh.intel.com ([10.67.119.112])\n by orsmga003.jf.intel.com with ESMTP; 04 Jan 2021 18:24:51 -0800" ], "IronPort-SDR": [ "\n N/hrbExxeM0jlHaQTRa4Ov/T/NAj7SbYE1AghmNbhRCMBLhpcPaAeIDEMyNmb8TwaOugINdAda\n 4FPxr782dGWw==", "\n XeQDpw/td+ovrHBznH8zbnkeGpL3u/zdpSnAPoNyxFMry+Z83gNxdAs07TMyEW52WZ2WcMmNWa\n itvpsA2RZfiQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9854\"; a=\"238591100\"", "E=Sophos;i=\"5.78,475,1599548400\"; d=\"scan'208\";a=\"238591100\"", "E=Sophos;i=\"5.78,475,1599548400\"; d=\"scan'208\";a=\"346104305\"" ], "X-ExtLoop1": "1", "From": "Cheng Jiang <Cheng1.jiang@intel.com>", "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com", "Cc": "dev@dpdk.org, Jiayu.Hu@intel.com, YvonneX.Yang@intel.com,\n yinan.wang@intel.com, Cheng Jiang <Cheng1.jiang@intel.com>", "Date": "Tue, 5 Jan 2021 02:15:00 +0000", "Message-Id": "<20210105021502.33158-1-Cheng1.jiang@intel.com>", "X-Mailer": "git-send-email 2.29.2", "In-Reply-To": "<20201218113327.70528-1-Cheng1.jiang@intel.com>", "References": "<20201218113327.70528-1-Cheng1.jiang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v7 0/2] examples/vhost: sample code refactor", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Refactor the vhost sample code. Add ioat ring space count and check\nin ioat callback, optimize vhost data path for batch enqueue, replace\nrte_atomicNN_xxx to atomic_XXX and refactor vhost async data path.\n---\nv7:\n * fixed rte_ioat_completed_ops() fail handler issue\n\nv6:\n * adjusted the value of MAX_ENQUEUED_SIZE in ioat.h\n\nv5:\n * added vhost enqueue buffer free when destroy a vhost device\n * added rte_ioat_completed_ops() fail handler\n * changed the behavior of drain_vhost_table() function\n * changed some variable names\n * changed some variable definition\n * added rte_zmalloc() fail handler\n * added some comments\n * fixed some typos\n\nv4:\n * improved code structure\n * improved vhost enqueue buffer memory allocation\n * cleaned some codes\n\nv3:\n * added some variable initiation\n * cleaned some codes\n\nv2:\n * optimized patch structure\n * optimized git log\n * replaced rte_atomicNN_xxx to atomic_XXX\n\nCheng Jiang (2):\n examples/vhost: add ioat ring space count and check\n examples/vhost: refactor vhost data path\n\n examples/vhost/ioat.c | 24 ++---\n examples/vhost/ioat.h | 2 +-\n examples/vhost/main.c | 214 ++++++++++++++++++++++++++++++++----------\n examples/vhost/main.h | 7 +-\n 4 files changed, 180 insertions(+), 67 deletions(-)\n\n--\n2.29.2", "diff": null, "prefixes": [ "v7", "0/2" ] }{ "id": 85968, "url": "