get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/68690/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 68690,
    "url": "https://patches.dpdk.org/api/patches/68690/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200416222431.114184-3-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": "<20200416222431.114184-3-yong.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200416222431.114184-3-yong.liu@intel.com",
    "date": "2020-04-16T22:24:24",
    "name": "[v6,2/9] net/virtio: enable vectorized path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "946d4be6536586e24ed05f3e8be495c6a0ec3c8a",
    "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/20200416222431.114184-3-yong.liu@intel.com/mbox/",
    "series": [
        {
            "id": 9431,
            "url": "https://patches.dpdk.org/api/series/9431/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9431",
            "date": "2020-04-16T22:24:22",
            "name": "add packed ring vectorized path",
            "version": 6,
            "mbox": "https://patches.dpdk.org/series/9431/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/68690/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/68690/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 54EDFA0588;\n\tThu, 16 Apr 2020 16:51:00 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 76FE91DD36;\n\tThu, 16 Apr 2020 16:50:30 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id 5299C1DD1E\n for <dev@dpdk.org>; Thu, 16 Apr 2020 16:50:24 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Apr 2020 07:50:23 -0700",
            "from npg-dpdk-virtual-marvin-dev.sh.intel.com ([10.67.119.58])\n by fmsmga005.fm.intel.com with ESMTP; 16 Apr 2020 07:50:22 -0700"
        ],
        "IronPort-SDR": [
            "\n KeB4agzps0hvcfzH1QVGHns2e++v/XNv0QtESntJfXp5BajHcFR6QpdoLFK7LWk+NWhg0i2SbH\n FqqKjejWBgDw==",
            "\n MZIFrAygY/hEZDPENZ2Irx44+ATDTfPtz1cWMecxCOdQU0+104VBvAIUXwcQMtOcI9QliWAjAB\n dLZQ5sW45x8A=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,391,1580803200\"; d=\"scan'208\";a=\"454352683\"",
        "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": "Fri, 17 Apr 2020 06:24:24 +0800",
        "Message-Id": "<20200416222431.114184-3-yong.liu@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200416222431.114184-1-yong.liu@intel.com>",
        "References": "<20200313174230.74661-1-yong.liu@intel.com>\n <20200416222431.114184-1-yong.liu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v6 2/9] net/virtio: enable vectorized path",
        "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": "Previously, virtio split ring vectorized path is enabled as default.\nThis is not suitable for everyone because of that path not follow virtio\nspec. Add new config for virtio vectorized path selection. By default\nvectorized path is enabled.\n\nSigned-off-by: Marvin Liu <yong.liu@intel.com>",
    "diff": "diff --git a/config/common_base b/config/common_base\nindex c31175f9d..5901a94f7 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -449,6 +449,7 @@ CONFIG_RTE_LIBRTE_VIRTIO_PMD=y\n CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n\n CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n\n CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n\n+CONFIG_RTE_LIBRTE_VIRTIO_INC_VECTOR=y\n \n #\n # Compile virtio device emulation inside virtio PMD driver\ndiff --git a/drivers/net/virtio/Makefile b/drivers/net/virtio/Makefile\nindex efdcb0d93..9ef445bc9 100644\n--- a/drivers/net/virtio/Makefile\n+++ b/drivers/net/virtio/Makefile\n@@ -29,6 +29,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio_rxtx.c\n SRCS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio_ethdev.c\n SRCS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio_rxtx_simple.c\n \n+ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_INC_VECTOR),y)\n ifeq ($(CONFIG_RTE_ARCH_X86),y)\n SRCS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio_rxtx_simple_sse.c\n else ifeq ($(CONFIG_RTE_ARCH_PPC_64),y)\n@@ -36,6 +37,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio_rxtx_simple_altivec.c\n else ifneq ($(filter y,$(CONFIG_RTE_ARCH_ARM) $(CONFIG_RTE_ARCH_ARM64)),)\n SRCS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio_rxtx_simple_neon.c\n endif\n+endif\n \n ifeq ($(CONFIG_RTE_VIRTIO_USER),y)\n SRCS-$(CONFIG_RTE_LIBRTE_VIRTIO_PMD) += virtio_user/vhost_user.c\ndiff --git a/drivers/net/virtio/meson.build b/drivers/net/virtio/meson.build\nindex 5e7ca855c..f9619a108 100644\n--- a/drivers/net/virtio/meson.build\n+++ b/drivers/net/virtio/meson.build\n@@ -9,12 +9,14 @@ sources += files('virtio_ethdev.c',\n \t'virtqueue.c')\n deps += ['kvargs', 'bus_pci']\n \n-if arch_subdir == 'x86'\n-\tsources += files('virtio_rxtx_simple_sse.c')\n-elif arch_subdir == 'ppc'\n-\tsources += files('virtio_rxtx_simple_altivec.c')\n-elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')\n-\tsources += files('virtio_rxtx_simple_neon.c')\n+if dpdk_conf.has('RTE_LIBRTE_VIRTIO_INC_VECTOR')\n+\tif arch_subdir == 'x86'\n+\t\tsources += files('virtio_rxtx_simple_sse.c')\n+\telif arch_subdir == 'ppc'\n+\t\tsources += files('virtio_rxtx_simple_altivec.c')\n+\telif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')\n+\t\tsources += files('virtio_rxtx_simple_neon.c')\n+\tendif\n endif\n \n if is_linux\n",
    "prefixes": [
        "v6",
        "2/9"
    ]
}