Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41859/?format=api
https://patches.dpdk.org/api/patches/41859/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180628215235.106069-12-yong.liu@intel.com/", "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": "<20180628215235.106069-12-yong.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180628215235.106069-12-yong.liu@intel.com", "date": "2018-06-28T21:52:35", "name": "[v3,11/11] doc: add in-order funciton for virtio device", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a93fc7d73e9e9967ba97ddd9e3149560fc9bf6e9", "submitter": { "id": 17, "url": "https://patches.dpdk.org/api/people/17/?format=api", "name": "Marvin Liu", "email": "yong.liu@intel.com" }, "delegate": { "id": 2642, "url": "https://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180628215235.106069-12-yong.liu@intel.com/mbox/", "series": [ { "id": 296, "url": "https://patches.dpdk.org/api/series/296/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=296", "date": "2018-06-28T21:52:24", "name": "support in-order feature", "version": 3, "mbox": "https://patches.dpdk.org/series/296/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/41859/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/41859/checks/", "tags": {}, "related": [], "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 154301B459;\n\tThu, 28 Jun 2018 16:07:15 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id B196B1B3A2\n\tfor <dev@dpdk.org>; Thu, 28 Jun 2018 16:06:58 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Jun 2018 07:06:58 -0700", "from dpdk-test32.sh.intel.com ([10.67.119.193])\n\tby FMSMGA003.fm.intel.com with ESMTP; 28 Jun 2018 07:06:57 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.51,283,1526367600\"; d=\"scan'208\";a=\"60850415\"", "From": "Marvin Liu <yong.liu@intel.com>", "To": "maxime.coquelin@redhat.com,\n\ttiwei.bie@intel.com", "Cc": "zhihong.wang@intel.com,\n\tdev@dpdk.org,\n\tMarvin Liu <yong.liu@intel.com>", "Date": "Fri, 29 Jun 2018 05:52:35 +0800", "Message-Id": "<20180628215235.106069-12-yong.liu@intel.com>", "X-Mailer": "git-send-email 2.17.0", "In-Reply-To": "<20180628215235.106069-1-yong.liu@intel.com>", "References": "<20180628215235.106069-1-yong.liu@intel.com>", "Subject": "[dpdk-dev] [PATCH v3 11/11] doc: add in-order funciton for virtio\n\tdevice", "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": "Signed-off-by: Marvin Liu <yong.liu@intel.com>", "diff": "diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst\nindex 46e292c4d..1b88cec96 100644\n--- a/doc/guides/nics/virtio.rst\n+++ b/doc/guides/nics/virtio.rst\n@@ -201,7 +201,7 @@ The packet transmission flow is:\n Virtio PMD Rx/Tx Callbacks\n --------------------------\n \n-Virtio driver has 3 Rx callbacks and 2 Tx callbacks.\n+Virtio driver has 4 Rx callbacks and 3 Tx callbacks.\n \n Rx callbacks:\n \n@@ -215,6 +215,9 @@ Rx callbacks:\n Vector version without mergeable Rx buffer support, also fixes the available\n ring indexes and uses vector instructions to optimize performance.\n \n+#. ``virtio_recv_mergeable_pkts_inorder``:\n+ In-order version with mergeable Rx buffer support.\n+\n Tx callbacks:\n \n #. ``virtio_xmit_pkts``:\n@@ -223,13 +226,17 @@ Tx callbacks:\n #. ``virtio_xmit_pkts_simple``:\n Vector version fixes the available ring indexes to optimize performance.\n \n+#. ``virtio_xmit_pkts_inorder``:\n+ In-order version.\n \n-By default, the non-vector callbacks are used:\n+By default, the in-order callbacks are used:\n \n * For Rx: If mergeable Rx buffers is disabled then ``virtio_recv_pkts`` is\n- used; otherwise ``virtio_recv_mergeable_pkts``.\n+ used; If in-order is enabled then ``virtio_recv_mergeable_pkts_inirder``;\n+ otherwise ``virtio_recv_mergeable_pkts``.\n \n-* For Tx: ``virtio_xmit_pkts``.\n+* For Tx: If in-order is enabled then ``virtio_xmit_pkts_inorder``;\n+ otherwise ``virtio_xmit_pkts``.\n \n \n Vector callbacks will be used when:\n@@ -242,6 +249,8 @@ Vector callbacks will be used when:\n \n * Mergeable Rx buffers is disabled.\n \n+* In-order is enabled\n+\n The corresponding callbacks are:\n \n * For Rx: ``virtio_recv_pkts_vec``.\n", "prefixes": [ "v3", "11/11" ] }{ "id": 41859, "url": "