Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/68548/?format=api
https://patches.dpdk.org/api/patches/68548/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200415164733.75416-9-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": "<20200415164733.75416-9-yong.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200415164733.75416-9-yong.liu@intel.com", "date": "2020-04-15T16:47:33", "name": "[v4,8/8] doc: add packed vectorized datapath", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e40fc9b19139c9d4a34b6a9d3e79f867c6e87533", "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/20200415164733.75416-9-yong.liu@intel.com/mbox/", "series": [ { "id": 9391, "url": "https://patches.dpdk.org/api/series/9391/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9391", "date": "2020-04-15T16:47:25", "name": "add packed ring vectorized datapath", "version": 4, "mbox": "https://patches.dpdk.org/series/9391/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/68548/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/68548/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 EF4A4A0563;\n\tWed, 15 Apr 2020 11:14:54 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 968411D696;\n\tWed, 15 Apr 2020 11:13:40 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id C57FD1D66F\n for <dev@dpdk.org>; Wed, 15 Apr 2020 11:13:38 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Apr 2020 02:13:37 -0700", "from npg-dpdk-virtual-marvin-dev.sh.intel.com ([10.67.119.58])\n by orsmga004.jf.intel.com with ESMTP; 15 Apr 2020 02:13:31 -0700" ], "IronPort-SDR": [ "\n IHRpqld4tInvL+keDnwoHMyy82k8PxrD71bfy6g6VFCjYG6IjmDQkO7OctrASoAYwPrOwis7PZ\n 6ODy/aIZUDDQ==", "\n 66YzX7HuxXdkFABcwr3O4jfvnC6CrWPXTkaBiHpUzUueuSDXGswfBKk8TT9GzOgGJVnVezmYti\n VrvEn2aG6ygQ==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.72,386,1580803200\"; d=\"scan'208\";a=\"400250891\"", "From": "Marvin Liu <yong.liu@intel.com>", "To": "maxime.coquelin@redhat.com, xiaolong.ye@intel.com, zhihong.wang@intel.com", "Cc": "harry.van.haaren@intel.com, dev@dpdk.org, Marvin Liu <yong.liu@intel.com>", "Date": "Thu, 16 Apr 2020 00:47:33 +0800", "Message-Id": "<20200415164733.75416-9-yong.liu@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200415164733.75416-1-yong.liu@intel.com>", "References": "<20200313174230.74661-1-yong.liu@intel.com>\n <20200415164733.75416-1-yong.liu@intel.com>", "Subject": "[dpdk-dev] [PATCH v4 8/8] 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..7c9ad9466 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+#. ``vectorized``:\n+\n+ It is used to enable virtio device vectorized datapath.\n+ (Default: 0 (disabled))\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 && vectorized 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 && vectorized 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": [ "v4", "8/8" ] }{ "id": 68548, "url": "