get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 92144,
    "url": "http://patches.dpdk.org/api/patches/92144/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1619414983-131070-1-git-send-email-wenzhuo.lu@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<1619414983-131070-1-git-send-email-wenzhuo.lu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1619414983-131070-1-git-send-email-wenzhuo.lu@intel.com",
    "date": "2021-04-26T05:29:43",
    "name": "net/iavf: fix performance drop",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3329ebcc17596de113cf53444541a3885a5913e8",
    "submitter": {
        "id": 258,
        "url": "http://patches.dpdk.org/api/people/258/?format=api",
        "name": "Wenzhuo Lu",
        "email": "wenzhuo.lu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1619414983-131070-1-git-send-email-wenzhuo.lu@intel.com/mbox/",
    "series": [
        {
            "id": 16663,
            "url": "http://patches.dpdk.org/api/series/16663/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16663",
            "date": "2021-04-26T05:29:43",
            "name": "net/iavf: fix performance drop",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/16663/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/92144/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/92144/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 (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 16F19A0548;\n\tMon, 26 Apr 2021 07:29:56 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CF571410D8;\n\tMon, 26 Apr 2021 07:29:55 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 86B8440A4B\n for <dev@dpdk.org>; Mon, 26 Apr 2021 07:29:54 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Apr 2021 22:29:52 -0700",
            "from dpdk-wenzhuo-haswell.sh.intel.com ([10.67.111.137])\n by fmsmga002.fm.intel.com with ESMTP; 25 Apr 2021 22:29:51 -0700"
        ],
        "IronPort-SDR": [
            "\n mN+IXdlBdtNRCA0jiASc7SufOJrq64JTjMmZPrVjqGSjyhLu5HWEIYs2TosIcLC2hDD1QkwSdF\n ir6vcLCbsfbA==",
            "\n T4MyIVru/Jd4iubDUCTtYGXwTdKnzuoBuPofMirW08vkLrKQZ/gwAIrLUyfkymX/Aa9TW4A3h5\n RJq9UEgoWCWA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,9965\"; a=\"193096099\"",
            "E=Sophos;i=\"5.82,251,1613462400\"; d=\"scan'208\";a=\"193096099\"",
            "E=Sophos;i=\"5.82,251,1613462400\"; d=\"scan'208\";a=\"457000504\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "Date": "Mon, 26 Apr 2021 13:29:43 +0800",
        "Message-Id": "<1619414983-131070-1-git-send-email-wenzhuo.lu@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "Subject": "[dpdk-dev] [PATCH] net/iavf: fix performance drop",
        "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": "AVX2 and SSE don't have the offload path.\nNot necessary doing any check. Or the scalar path\nwill be chosen.\n\nFixes: eff56a7b9f97 (\"net/iavf: add offload path for Rx AVX512\")\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/iavf/iavf_rxtx.c | 12 +++++-------\n 1 file changed, 5 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c\nindex 3f3cf63..0ba19dbf 100644\n--- a/drivers/net/iavf/iavf_rxtx.c\n+++ b/drivers/net/iavf/iavf_rxtx.c\n@@ -2401,13 +2401,11 @@\n \tcheck_ret = iavf_rx_vec_dev_check(dev);\n \tif (check_ret >= 0 &&\n \t    rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_128) {\n-\t\tif (check_ret == IAVF_VECTOR_PATH) {\n-\t\t\tuse_sse = true;\n-\t\t\tif ((rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX2) == 1 ||\n-\t\t\t     rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F) == 1) &&\n-\t\t\t    rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_256)\n-\t\t\t\tuse_avx2 = true;\n-\t\t}\n+\t\tuse_sse = true;\n+\t\tif ((rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX2) == 1 ||\n+\t\t     rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F) == 1) &&\n+\t\t    rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_256)\n+\t\t\tuse_avx2 = true;\n \n #ifdef CC_AVX512_SUPPORT\n \t\tif (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F) == 1 &&\n",
    "prefixes": []
}