Show a patch.

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

{
    "id": 74716,
    "url": "https://patches.dpdk.org/api/patches/74716/",
    "web_url": "https://patches.dpdk.org/patch/74716/",
    "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": "<20200724053235.71069-7-ajit.khaparde@broadcom.com>",
    "date": "2020-07-24T05:32:19",
    "name": "[v3,06/22] net/bnxt: skip mark id injection into mbuf",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7482025a6f4affdb8932dbd64a6af724493e1c60",
    "submitter": {
        "id": 501,
        "url": "https://patches.dpdk.org/api/people/501/",
        "name": "Ajit Khaparde",
        "email": "ajit.khaparde@broadcom.com"
    },
    "delegate": {
        "id": 1766,
        "url": "https://patches.dpdk.org/api/users/1766/",
        "username": "ajitkhaparde",
        "first_name": "Ajit",
        "last_name": "Khaparde",
        "email": "ajit.khaparde@broadcom.com"
    },
    "mbox": "https://patches.dpdk.org/patch/74716/mbox/",
    "series": [
        {
            "id": 11269,
            "url": "https://patches.dpdk.org/api/series/11269/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11269",
            "date": "2020-07-24T05:32:13",
            "name": "bnxt patches",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/11269/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74716/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74716/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-Gm-Message-State": "AOAM532chM6viDnffNHAZB2u17eLp9DTV+67yzyd9Fl90A86HaVt2Q6k\n zXa5b7lKVYEdVZnXw5ThofBrMxKiGAf0tMSWkIqVfsPfJiuzjol8abiDMg1oIhwjqIANgfxl6PG\n OsiMfA5KLrMShtTADcaB4JcQe3V1nxHnvr1b+zTXyj1q51jgXAMFMBZYSAn347JOg5EGS9ZUwfs\n 5JFA==",
        "X-Google-Smtp-Source": "\n ABdhPJwst22EAYRPDSev5AQi6pOvU4mQ0eKvLBy/vhrg8S8sliXg1MeibBhOWhKN7huBuCUSSGqGGjNdmJ/1",
        "List-Post": "<mailto:dev@dpdk.org>",
        "MIME-Version": "1.0",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<20200723115639.22357-1-somnath.kotur@broadcom.com>\n <20200724053235.71069-1-ajit.khaparde@broadcom.com>",
        "Subject": "[dpdk-dev] [PATCH v3 06/22] net/bnxt: skip mark id injection into\n\tmbuf",
        "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 4B1C5A0518;\n\tFri, 24 Jul 2020 07:33:52 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D6AF31C0B5;\n\tFri, 24 Jul 2020 07:33:16 +0200 (CEST)",
            "from mail-ua1-f99.google.com (mail-ua1-f99.google.com\n [209.85.222.99]) by dpdk.org (Postfix) with ESMTP id B434B1C037\n for <dev@dpdk.org>; Fri, 24 Jul 2020 07:33:08 +0200 (CEST)",
            "by mail-ua1-f99.google.com with SMTP id q15so2586666uap.4\n for <dev@dpdk.org>; Thu, 23 Jul 2020 22:33:08 -0700 (PDT)",
            "from localhost.localdomain ([192.19.223.252])\n by smtp-relay.gmail.com with ESMTPS id h17sm592840vsk.0.2020.07.23.22.33.04\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 23 Jul 2020 22:33:07 -0700 (PDT)"
        ],
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "X-Mailer": "git-send-email 2.21.1 (Apple Git-122.3)",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=Tj24auzSmqz411glmAW86S5BzB657XFQ1JNKXQye+1E=;\n b=YiI5s5sQq3Q9637+cUm1UsaxADwK7cHDgg0OfiMS9EcL/W5+2/0MXZwDRQyRZJJCrK\n zfs2r1d3Tn1Ddk+hMqfylCI5b4BN0Y6wuk81jBndy+iyxK4mb9eA4j7/XEf+WmXSEP3m\n HZx1WiOEMHNdKGgvozxzKEgDYCOw3R4iMEf2kvpvfa3TgLJ359a3mFNdgWE9XoPJfBh8\n MPNt36up2PWwA1PuGXgsVbuqlRvM+hU3eHlQ5UFGKywN14FeXekHkX9se3bLJOQzPx9x\n olqbPNV2PTvjV/3hx8PuGTgEy7rNIs1kuNNoXWrlJQQqpFXT+KLdjF3SyfqNH6WhNDXL\n TMdg==",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com;\n s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=Tj24auzSmqz411glmAW86S5BzB657XFQ1JNKXQye+1E=;\n b=bw5Ct47QkYpn360+pmYLwnz6YE2y+pQD2oHOJ070JTu58/UG5wvQqLrESOOoIrWByX\n o1ibaSpV8DefkKxSqrIorU3Qvy3ITElIN7X64if6/V4KXDVcV/jhuUSTbbXEyT4+Hz5S\n q0uqUr0RsqHFE2PJ5JemO39zhtQ+djz9927ak=",
        "Date": "Thu, 23 Jul 2020 22:32:19 -0700",
        "Content-Transfer-Encoding": "8bit",
        "X-Received": "by 2002:ab0:76d2:: with SMTP id w18mr6504220uaq.27.1595568787964;\n Thu, 23 Jul 2020 22:33:07 -0700 (PDT)",
        "To": "dev@dpdk.org",
        "X-Relaying-Domain": "broadcom.com",
        "From": "Ajit Khaparde <ajit.khaparde@broadcom.com>",
        "In-Reply-To": "<20200724053235.71069-1-ajit.khaparde@broadcom.com>",
        "Cc": "ferruh.yigit@intel.com, Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>,\n Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>,\n Somnath Kotur <somnath.kotur@broadcom.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200724053235.71069-7-ajit.khaparde@broadcom.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "From: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>\n\nWhen a packet is looped back from VF to VFR, it is marked to identify\nthe VFR interface. However, this mark_id shouldn't be percolated up to\nthe OVS as it is internal to pmd.\nThis patch fixes it by skipping mark injection into mbuf if the packet\nis received on VFR interface.\n\nSigned-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>\nSigned-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>\nReviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>\n---\n drivers/net/bnxt/bnxt_rxr.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c\nindex baf73cb25..43b1256dc 100644\n--- a/drivers/net/bnxt/bnxt_rxr.c\n+++ b/drivers/net/bnxt/bnxt_rxr.c\n@@ -485,6 +485,9 @@ bnxt_ulp_set_mark_in_mbuf(struct bnxt *bp, struct rx_pkt_cmpl_hi *rxcmp1,\n \trc = ulp_mark_db_mark_get(bp->ulp_ctx, gfid,\n \t\t\t\t  cfa_code, vfr_flag, &mark_id);\n \tif (!rc) {\n+\t\t/* VF to VFR Rx path. So, skip mark_id injection in mbuf */\n+\t\tif (vfr_flag && *vfr_flag)\n+\t\t\treturn mark_id;\n \t\t/* Got the mark, write it to the mbuf and return */\n \t\tmbuf->hash.fdir.hi = mark_id;\n \t\tmbuf->udata64 = (cfa_code & 0xffffffffull) << 32;\n",
    "prefixes": [
        "v3",
        "06/22"
    ]
}