Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/67272/?format=api
https://patches.dpdk.org/api/patches/67272/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200327165412.87359-8-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": "<20200327165412.87359-8-yong.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200327165412.87359-8-yong.liu@intel.com", "date": "2020-03-27T16:54:12", "name": "[v2,7/7] doc: add packed vectorized datapath", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "afcaeb295948e85aa2eeeea4f7d8023317811967", "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/20200327165412.87359-8-yong.liu@intel.com/mbox/", "series": [ { "id": 9075, "url": "https://patches.dpdk.org/api/series/9075/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9075", "date": "2020-03-27T16:54:05", "name": "add packed ring vectorized datapath", "version": 2, "mbox": "https://patches.dpdk.org/series/9075/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/67272/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/67272/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id EC547A0589;\n\tFri, 27 Mar 2020 10:19:19 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 71DDB1C10F;\n\tFri, 27 Mar 2020 10:18:31 +0100 (CET)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 36FC01C0CC\n for <dev@dpdk.org>; Fri, 27 Mar 2020 10:18:20 +0100 (CET)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Mar 2020 02:18:19 -0700", "from npg-dpdk-virtual-marvin-dev.sh.intel.com ([10.67.119.58])\n by fmsmga004.fm.intel.com with ESMTP; 27 Mar 2020 02:18:18 -0700" ], "IronPort-SDR": [ "\n o98hIVcBG2ikIsdgqA9v91y8KOaMsW86HHjXGiHdGzkp8KL8VSe8nE+yYaAgSF+zsoYzd1jH5Y\n tSTQ5JE2XyZw==", "\n m0RGtlw4YWmJUE0PZboll/42CfAIFgAgdVoTJuDFes3jdtziC20jB7t96DaW/dyjLaywUoC+0k\n m43xMBEirPYQ==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.72,311,1580803200\"; d=\"scan'208\";a=\"271508037\"", "From": "Marvin Liu <yong.liu@intel.com>", "To": "maxime.coquelin@redhat.com, xiaolong.ye@intel.com, zhihong.wang@intel.com", "Cc": "dev@dpdk.org,\n\tMarvin Liu <yong.liu@intel.com>", "Date": "Sat, 28 Mar 2020 00:54:12 +0800", "Message-Id": "<20200327165412.87359-8-yong.liu@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200327165412.87359-1-yong.liu@intel.com>", "References": "<20200313174230.74661-1-yong.liu@intel.com>\n <20200327165412.87359-1-yong.liu@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 7/7] doc: add packed vectorized datapath", "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 <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": "Document packed virtqueue vectorized datapath selection logic in virtio\nnet PMD. Add packed virtqueue vectorized datapath features to new ini\nfile.\n\nSigned-off-by: Marvin Liu <yong.liu@intel.com>", "diff": "diff --git a/doc/guides/nics/features/virtio-packed_vec.ini b/doc/guides/nics/features/virtio-packed_vec.ini\nnew file mode 100644\nindex 000000000..b239bcaad\n--- /dev/null\n+++ b/doc/guides/nics/features/virtio-packed_vec.ini\n@@ -0,0 +1,22 @@\n+;\n+; Supported features of the 'virtio_packed_vec' network poll mode driver.\n+;\n+; Refer to default.ini for the full list of available PMD features.\n+;\n+[Features]\n+Speed capabilities = P\n+Link status = Y\n+Link status event = Y\n+Rx interrupt = Y\n+Queue start/stop = Y\n+Promiscuous mode = Y\n+Allmulticast mode = Y\n+Unicast MAC filter = Y\n+Multicast MAC filter = Y\n+VLAN filter = Y\n+Basic stats = Y\n+Stats per queue = Y\n+BSD nic_uio = Y\n+Linux UIO = Y\n+Linux VFIO = Y\n+x86-64 = Y\ndiff --git a/doc/guides/nics/features/virtio_vec.ini b/doc/guides/nics/features/virtio-split_vec.ini\nsimilarity index 88%\nrename from doc/guides/nics/features/virtio_vec.ini\nrename to doc/guides/nics/features/virtio-split_vec.ini\nindex e60fe36ae..4142fc9f0 100644\n--- a/doc/guides/nics/features/virtio_vec.ini\n+++ b/doc/guides/nics/features/virtio-split_vec.ini\n@@ -1,5 +1,5 @@\n ;\n-; Supported features of the 'virtio_vec' network poll mode driver.\n+; Supported features of the 'virtio_split_vec' network poll mode driver.\n ;\n ; Refer to default.ini for the full list of available PMD features.\n ;\ndiff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst\nindex d1f5fb898..fabe2e400 100644\n--- a/doc/guides/nics/virtio.rst\n+++ b/doc/guides/nics/virtio.rst\n@@ -403,6 +403,11 @@ Below devargs are supported by the virtio-user vdev:\n It is used to enable virtio device packed virtqueue feature.\n (Default: 0 (disabled))\n \n+#. ``packed_vec``:\n+\n+ It is used to enable virtio device packed virtqueue vectorized path.\n+ (Default: 1 (enabled))\n+\n Virtio paths Selection and Usage\n --------------------------------\n \n@@ -454,6 +459,13 @@ according to below configuration:\n both negotiated, this path will be selected.\n #. Packed virtqueue in-order non-mergeable path: If in-order feature is negotiated and\n Rx mergeable is not negotiated, this path will be selected.\n+#. Packed virtqueue vectorized Rx path: If building and running environment support\n+ AVX512 && in-order feature is negotiated && Rx mergeable is not negotiated &&\n+ TCP_LRO Rx offloading is disabled && packed_vec option enabled,\n+ this path will be selected.\n+#. Packed virtqueue vectorized Tx path: If building and running environment support\n+ AVX512 && in-order feature is negotiated && packed_vec option enabled,\n+ this path will be selected.\n \n Rx/Tx callbacks of each Virtio path\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n@@ -476,6 +488,8 @@ are shown in below table:\n Packed virtqueue non-meregable path virtio_recv_pkts_packed virtio_xmit_pkts_packed\n Packed virtqueue in-order mergeable path virtio_recv_mergeable_pkts_packed virtio_xmit_pkts_packed\n Packed virtqueue in-order non-mergeable path virtio_recv_pkts_packed virtio_xmit_pkts_packed\n+ Packed virtqueue vectorized Rx path virtio_recv_pkts_packed_vec virtio_xmit_pkts_packed\n+ Packed virtqueue vectorized Tx path virtio_recv_pkts_packed virtio_xmit_pkts_packed_vec\n ============================================ ================================= ========================\n \n Virtio paths Support Status from Release to Release\n@@ -493,20 +507,22 @@ All virtio paths support status are shown in below table:\n \n .. table:: Virtio Paths and Releases\n \n- ============================================ ============= ============= =============\n- Virtio paths 16.11 ~ 18.05 18.08 ~ 18.11 19.02 ~ 19.11\n- ============================================ ============= ============= =============\n- Split virtqueue mergeable path Y Y Y\n- Split virtqueue non-mergeable path Y Y Y\n- Split virtqueue vectorized Rx path Y Y Y\n- Split virtqueue simple Tx path Y N N\n- Split virtqueue in-order mergeable path Y Y\n- Split virtqueue in-order non-mergeable path Y Y\n- Packed virtqueue mergeable path Y\n- Packed virtqueue non-mergeable path Y\n- Packed virtqueue in-order mergeable path Y\n- Packed virtqueue in-order non-mergeable path Y\n- ============================================ ============= ============= =============\n+ ============================================ ============= ============= ============= =======\n+ Virtio paths 16.11 ~ 18.05 18.08 ~ 18.11 19.02 ~ 19.11 20.05 ~\n+ ============================================ ============= ============= ============= =======\n+ Split virtqueue mergeable path Y Y Y Y\n+ Split virtqueue non-mergeable path Y Y Y Y\n+ Split virtqueue vectorized Rx path Y Y Y Y\n+ Split virtqueue simple Tx path Y N N N\n+ Split virtqueue in-order mergeable path Y Y Y\n+ Split virtqueue in-order non-mergeable path Y Y Y\n+ Packed virtqueue mergeable path Y Y\n+ Packed virtqueue non-mergeable path Y Y\n+ Packed virtqueue in-order mergeable path Y Y\n+ Packed virtqueue in-order non-mergeable path Y Y\n+ Packed virtqueue vectorized Rx path Y\n+ Packed virtqueue vectorized Tx path Y\n+ ============================================ ============= ============= ============= =======\n \n QEMU Support Status\n ~~~~~~~~~~~~~~~~~~~\n", "prefixes": [ "v2", "7/7" ] }{ "id": 67272, "url": "