Show a patch.

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

{
    "id": 74646,
    "url": "https://patches.dpdk.org/api/patches/74646/",
    "web_url": "https://patches.dpdk.org/patch/74646/",
    "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": "<20200723111329.21855-7-somnath.kotur@broadcom.com>",
    "date": "2020-07-23T11:13:15",
    "name": "[06/20] net/bnxt: skip mark id injection into mbuf",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7482025a6f4affdb8932dbd64a6af724493e1c60",
    "submitter": {
        "id": 908,
        "url": "https://patches.dpdk.org/api/people/908/",
        "name": "Somnath Kotur",
        "email": "somnath.kotur@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/74646/mbox/",
    "series": [
        {
            "id": 11252,
            "url": "https://patches.dpdk.org/api/series/11252/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11252",
            "date": "2020-07-23T11:13:09",
            "name": "bnxt patches",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11252/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74646/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74646/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>",
        "References": "<20200723111329.21855-1-somnath.kotur@broadcom.com>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com 87B6E1BDA3C",
        "Subject": "[dpdk-dev] [PATCH 06/20] net/bnxt: skip mark id injection into mbuf",
        "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 2DE5AA0521;\n\tThu, 23 Jul 2020 13:19:59 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4F2721C030;\n\tThu, 23 Jul 2020 13:19:16 +0200 (CEST)",
            "from relay.smtp.broadcom.com (relay.smtp.broadcom.com\n [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id 3BB171BFD7\n for <dev@dpdk.org>; Thu, 23 Jul 2020 13:19:02 +0200 (CEST)",
            "from dhcp-10-123-153-55.dhcp.broadcom.net\n (dhcp-10-123-153-55.dhcp.broadcom.net [10.123.153.55])\n by relay.smtp.broadcom.com (Postfix) with ESMTP id 87B6E1BDA3C;\n Thu, 23 Jul 2020 04:19:01 -0700 (PDT)"
        ],
        "To": "dev@dpdk.org",
        "X-Mailer": "git-send-email 2.10.1.613.g2cc2e70",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n s=dkimrelay; t=1595503142;\n bh=jw0UNtlSLPTir1nwfSsOwquyMlJ3jtkLPKgYqDxdQEQ=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=kYmqJ4TV+gyuVxT3ts5XzK2+ogFekmHFonwIeLayg4THipT9nSHWBz0fnAUHQ4jbh\n VQlkmKWT/2iDQco4qbLcaB6Bla28WHFfUgTJ4+D+xv5t/+8kV9oa2l4aO4bRq9Ufzt\n 2IlZHXysxH7ilq5iSdTPygp+QCPUHJPgUSl9dQ0I=",
        "Date": "Thu, 23 Jul 2020 16:43:15 +0530",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "From": "Somnath Kotur <somnath.kotur@broadcom.com>",
        "In-Reply-To": "<20200723111329.21855-1-somnath.kotur@broadcom.com>",
        "Cc": "ferruh.yigit@intel.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200723111329.21855-7-somnath.kotur@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>\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 baf73cb..43b1256 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": [
        "06/20"
    ]
}