Show a patch.

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

{
    "id": 74649,
    "url": "https://patches.dpdk.org/api/patches/74649/",
    "web_url": "https://patches.dpdk.org/patch/74649/",
    "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-10-somnath.kotur@broadcom.com>",
    "date": "2020-07-23T11:13:18",
    "name": "[09/20] net/bnxt: ignore VLAN priority mask",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8e14419eebe16500883830a3a591aad06e2e2a1b",
    "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/74649/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/74649/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/74649/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 851AE1BDA10",
        "Subject": "[dpdk-dev] [PATCH 09/20] net/bnxt: ignore VLAN priority mask",
        "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 41398A0521;\n\tThu, 23 Jul 2020 13:20:46 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D6CB61C0B5;\n\tThu, 23 Jul 2020 13:19:21 +0200 (CEST)",
            "from relay.smtp.broadcom.com (relay.smtp.broadcom.com\n [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id 39AFB199BC\n for <dev@dpdk.org>; Thu, 23 Jul 2020 13:19:06 +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 851AE1BDA10;\n Thu, 23 Jul 2020 04:19:05 -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=1595503146;\n bh=2rHDXFLCV+GHN79KFWg4ixhWakEKdC4Lk2NvwBbMcYk=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=bWELj8NJlQHmh2VnxAq6z7X9aIcjdx8VvPLA/zlaU+2OwXmRfP7RvLZVFXfD6gP6x\n 3xJ964kbrZpdtECxgfSqfJCfOQPVF/JFFllOROmPxLgRQIOzx7NNx/5eePS60wwLeY\n T4RM/At1IIzfkqvRpQDzW8cQlhkywvDqKqrhQhzs=",
        "Date": "Thu, 23 Jul 2020 16:43:18 +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-10-somnath.kotur@broadcom.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "From: Kishore Padmanabha <kishore.padmanabha@broadcom.com>\n\nThis is a work around for the OVS setting offload rules that\nare passing vlan priority mask as wild card and currently we\ndo not support it.\n\nSigned-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>\nReviewed-by: Michael Baucom <michael.baucom@broadcom.com>\n---\n drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\nindex 67f9319..a924769 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\n+++ b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\n@@ -709,8 +709,17 @@ ulp_rte_vlan_hdr_handler(const struct rte_flow_item *item,\n \t\t\tvlan_tag |= ~ULP_VLAN_TAG_MASK;\n \t\tvlan_tag = htons(vlan_tag);\n \n+#ifdef ULP_DONT_IGNORE_TOS\n \t\tulp_rte_prsr_mask_copy(params, &idx, &priority,\n \t\t\t\t       sizeof(priority));\n+#else\n+\t\t/*\n+\t\t * The priortiy field is ignored since OVS is seting it as\n+\t\t * wild card match and it is not supported. This is a work\n+\t\t * around and shall be addressed in the future.\n+\t\t */\n+\t\tidx += 1;\n+#endif\n \t\tulp_rte_prsr_mask_copy(params, &idx, &vlan_tag,\n \t\t\t\t       sizeof(vlan_tag));\n \t\tulp_rte_prsr_mask_copy(params, &idx, &vlan_mask->inner_type,\n",
    "prefixes": [
        "09/20"
    ]
}