Show a patch.

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

{
    "id": 74638,
    "url": "https://patches.dpdk.org/api/patches/74638/",
    "web_url": "https://patches.dpdk.org/patch/74638/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1595501612-21309-1-git-send-email-viacheslavo@mellanox.com>",
    "date": "2020-07-23T10:53:32",
    "name": "net/mlx5: fix metadata storing for NEON vectorized Rx burst",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "923e64af80656c0d3ad415d9c068e05a83f008d3",
    "submitter": {
        "id": 1102,
        "url": "https://patches.dpdk.org/api/people/1102/",
        "name": "Slava Ovsiienko",
        "email": "viacheslavo@mellanox.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@mellanox.com"
    },
    "mbox": "https://patches.dpdk.org/patch/74638/mbox/",
    "series": [
        {
            "id": 11250,
            "url": "https://patches.dpdk.org/api/series/11250/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11250",
            "date": "2020-07-23T10:53:32",
            "name": "net/mlx5: fix metadata storing for NEON vectorized Rx burst",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11250/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74638/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74638/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH] net/mlx5: fix metadata storing for NEON\n\tvectorized Rx burst",
        "Sender": "\"dev\" <dev-bounces@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 164A2A0521;\n\tThu, 23 Jul 2020 12:53:44 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4CBA01BFE7;\n\tThu, 23 Jul 2020 12:53:42 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 73E061BF94\n for <dev@dpdk.org>; Thu, 23 Jul 2020 12:53:40 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n viacheslavo@mellanox.com) with SMTP; 23 Jul 2020 13:53:34 +0300",
            "from pegasus12.mtr.labs.mlnx (pegasus12.mtr.labs.mlnx\n [10.210.17.40])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 06NArYrh013073;\n Thu, 23 Jul 2020 13:53:34 +0300",
            "from pegasus12.mtr.labs.mlnx (localhost [127.0.0.1])\n by pegasus12.mtr.labs.mlnx (8.14.7/8.14.7) with ESMTP id 06NArYne021360;\n Thu, 23 Jul 2020 10:53:34 GMT",
            "(from viacheslavo@localhost)\n by pegasus12.mtr.labs.mlnx (8.14.7/8.14.7/Submit) id 06NArYIx021359;\n Thu, 23 Jul 2020 10:53:34 GMT"
        ],
        "X-Authentication-Warning": "pegasus12.mtr.labs.mlnx: viacheslavo set sender to\n viacheslavo@mellanox.com using -f",
        "To": "dev@dpdk.org",
        "X-Mailer": "git-send-email 1.8.3.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Thu, 23 Jul 2020 10:53:32 +0000",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "From": "Viacheslav Ovsiienko <viacheslavo@mellanox.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Cc": "matan@mellanox.com, rasland@mellanox.com, akozyrev@mellanox.com,\n stable@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<1595501612-21309-1-git-send-email-viacheslavo@mellanox.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "There was the typo introducing the bug, affected the mlx5 vectorized\nrx_burst on ARM architectures in case if CQE compression was enabled.\n\nFixes: 6c55b622a956 (\"net/mlx5: set dynamic flow metadata in Rx queues\")\nCc: stable@dpdk.org\n\nSigned-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>\n---\n drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h b/drivers/net/mlx5/mlx5_rxtx_vec_neon.h\nindex 6c31495..af924b7 100644\n--- a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h\n+++ b/drivers/net/mlx5/mlx5_rxtx_vec_neon.h\n@@ -736,20 +736,20 @@\n \t\t\t\t\t\t      pkt_info)->timestamp);\n \t\t\t}\n \t\t}\n-\t\tif (!!rxq->flow_meta_mask) {\n+\t\tif (rxq->dynf_meta) {\n \t\t\t/* This code is subject for futher optimization. */\n \t\t\tint32_t offs = rxq->flow_meta_offset;\n \n \t\t\t*RTE_MBUF_DYNFIELD(pkts[pos], offs, uint32_t *) =\n \t\t\t\tcontainer_of(p0, struct mlx5_cqe,\n \t\t\t\t\t     pkt_info)->flow_table_metadata;\n-\t\t\t*RTE_MBUF_DYNFIELD(pkts[pos], offs, uint32_t *) =\n+\t\t\t*RTE_MBUF_DYNFIELD(pkts[pos + 1], offs, uint32_t *) =\n \t\t\t\tcontainer_of(p1, struct mlx5_cqe,\n \t\t\t\t\t     pkt_info)->flow_table_metadata;\n-\t\t\t*RTE_MBUF_DYNFIELD(pkts[pos], offs, uint32_t *) =\n+\t\t\t*RTE_MBUF_DYNFIELD(pkts[pos + 2], offs, uint32_t *) =\n \t\t\t\tcontainer_of(p2, struct mlx5_cqe,\n \t\t\t\t\t     pkt_info)->flow_table_metadata;\n-\t\t\t*RTE_MBUF_DYNFIELD(pkts[pos], offs, uint32_t *) =\n+\t\t\t*RTE_MBUF_DYNFIELD(pkts[pos + 3], offs, uint32_t *) =\n \t\t\t\tcontainer_of(p3, struct mlx5_cqe,\n \t\t\t\t\t     pkt_info)->flow_table_metadata;\n \t\t\tif (*RTE_MBUF_DYNFIELD(pkts[pos], offs, uint32_t *))\n",
    "prefixes": []
}