get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75007,
    "url": "http://patches.dpdk.org/api/patches/75007/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200729140459.5227-2-somnath.kotur@broadcom.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": "<20200729140459.5227-2-somnath.kotur@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200729140459.5227-2-somnath.kotur@broadcom.com",
    "date": "2020-07-29T14:04:56",
    "name": "[1/4] net/bnxt: configure loopback parif for full offload egress flows",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e25d62be2fdc94bc4dfdd8160551073c79c4940a",
    "submitter": {
        "id": 908,
        "url": "http://patches.dpdk.org/api/people/908/?format=api",
        "name": "Somnath Kotur",
        "email": "somnath.kotur@broadcom.com"
    },
    "delegate": {
        "id": 1766,
        "url": "http://patches.dpdk.org/api/users/1766/?format=api",
        "username": "ajitkhaparde",
        "first_name": "Ajit",
        "last_name": "Khaparde",
        "email": "ajit.khaparde@broadcom.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200729140459.5227-2-somnath.kotur@broadcom.com/mbox/",
    "series": [
        {
            "id": 11403,
            "url": "http://patches.dpdk.org/api/series/11403/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11403",
            "date": "2020-07-29T14:04:55",
            "name": "bnxt patches",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11403/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75007/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75007/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id EF5EEA052B;\n\tWed, 29 Jul 2020 16:10:43 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 96A9A1BFFE;\n\tWed, 29 Jul 2020 16:10:36 +0200 (CEST)",
            "from relay.smtp.broadcom.com (relay.smtp.broadcom.com\n [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id DBA701BE9A\n for <dev@dpdk.org>; Wed, 29 Jul 2020 16:10:33 +0200 (CEST)",
            "from dhcp-10-123-153-55.dhcp.broadcom.net\n (bgccx-dev-host-lnx35.bec.broadcom.net [10.123.153.55])\n by relay.smtp.broadcom.com (Postfix) with ESMTP id 68F021BDAA3;\n Wed, 29 Jul 2020 07:10:32 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com 68F021BDAA3",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n s=dkimrelay; t=1596031833;\n bh=kCOrWBMMhZFXpQ8Vs6DAizRK1e3DR9vlRqsr7B7umu8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=V6O6ZtVILcduuFLuyg9B3gr1VR6bn5ManbTRrsRmkOxiu8boS1DpSufbCfDcU+l/a\n vQfIn0no8+vBjFsVsDgji8e1dntNJde1uaoouogzXQNy/AabGz1JVb5PhubJN+rp4h\n Ba/fmxGhyB+r4gABygz9+KCal5I0h6vwB2EKz7nI=",
        "From": "Somnath Kotur <somnath.kotur@broadcom.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com",
        "Date": "Wed, 29 Jul 2020 19:34:56 +0530",
        "Message-Id": "<20200729140459.5227-2-somnath.kotur@broadcom.com>",
        "X-Mailer": "git-send-email 2.10.1.613.g2cc2e70",
        "In-Reply-To": "<20200729140459.5227-1-somnath.kotur@broadcom.com>",
        "References": "<20200729140459.5227-1-somnath.kotur@broadcom.com>",
        "Subject": "[dpdk-dev] [PATCH 1/4] net/bnxt: configure loopback parif for full\n\toffload egress flows",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "From: Kishore Padmanabha <kishore.padmanabha@broadcom.com>\n\nThe full offload egress flows for the VF rep interface should\nuse loopback parif to offload missed flows.\n\nFixes: fe82f3e02701 (\"net/bnxt: support exact match templates\")\n\nSigned-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>\nReviewed-by: Shahaji Bhosle <shahaji.bhosle@broadcom.com>\n---\n drivers/net/bnxt/tf_ulp/ulp_rte_parser.c        |  6 ++++++\n drivers/net/bnxt/tf_ulp/ulp_template_db_class.c | 20 ++++++++++----------\n drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h  |  3 ++-\n 3 files changed, 18 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\nindex 861414d..fcb7c44 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\n+++ b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\n@@ -211,6 +211,12 @@ bnxt_ulp_comp_fld_intf_update(struct ulp_rte_parser_params *params)\n \t\t\tULP_COMP_FLD_IDX_WR(params,\n \t\t\t\t\t    BNXT_ULP_CF_IDX_VF_FUNC_PARIF,\n \t\t\t\t\t    parif);\n+\n+\t\t\t/* populate the loopback parif */\n+\t\t\tULP_COMP_FLD_IDX_WR(params,\n+\t\t\t\t\t    BNXT_ULP_CF_IDX_LOOPBACK_PARIF,\n+\t\t\t\t\t    BNXT_ULP_SYM_VF_FUNC_PARIF);\n+\n \t\t} else {\n \t\t\t/* Set DRV func PARIF */\n \t\t\tif (ulp_port_db_parif_get(params->ulp_ctx, ifindex,\ndiff --git a/drivers/net/bnxt/tf_ulp/ulp_template_db_class.c b/drivers/net/bnxt/tf_ulp/ulp_template_db_class.c\nindex 94160a9..aaa552a 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_template_db_class.c\n+++ b/drivers/net/bnxt/tf_ulp/ulp_template_db_class.c\n@@ -16731,8 +16731,8 @@ struct bnxt_ulp_mapper_result_field_info ulp_class_result_field_list[] = {\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_true = {\n-\t\t(BNXT_ULP_CF_IDX_VF_FUNC_PARIF >> 8) & 0xff,\n-\t\tBNXT_ULP_CF_IDX_VF_FUNC_PARIF & 0xff,\n+\t\t(BNXT_ULP_CF_IDX_LOOPBACK_PARIF >> 8) & 0xff,\n+\t\tBNXT_ULP_CF_IDX_LOOPBACK_PARIF & 0xff,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_false = {\n@@ -16933,8 +16933,8 @@ struct bnxt_ulp_mapper_result_field_info ulp_class_result_field_list[] = {\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_true = {\n-\t\t(BNXT_ULP_CF_IDX_VF_FUNC_PARIF >> 8) & 0xff,\n-\t\tBNXT_ULP_CF_IDX_VF_FUNC_PARIF & 0xff,\n+\t\t(BNXT_ULP_CF_IDX_LOOPBACK_PARIF >> 8) & 0xff,\n+\t\tBNXT_ULP_CF_IDX_LOOPBACK_PARIF & 0xff,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_false = {\n@@ -17135,8 +17135,8 @@ struct bnxt_ulp_mapper_result_field_info ulp_class_result_field_list[] = {\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_true = {\n-\t\t(BNXT_ULP_CF_IDX_VF_FUNC_PARIF >> 8) & 0xff,\n-\t\tBNXT_ULP_CF_IDX_VF_FUNC_PARIF & 0xff,\n+\t\t(BNXT_ULP_CF_IDX_LOOPBACK_PARIF >> 8) & 0xff,\n+\t\tBNXT_ULP_CF_IDX_LOOPBACK_PARIF & 0xff,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_false = {\n@@ -17337,8 +17337,8 @@ struct bnxt_ulp_mapper_result_field_info ulp_class_result_field_list[] = {\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_true = {\n-\t\t(BNXT_ULP_CF_IDX_VF_FUNC_PARIF >> 8) & 0xff,\n-\t\tBNXT_ULP_CF_IDX_VF_FUNC_PARIF & 0xff,\n+\t\t(BNXT_ULP_CF_IDX_LOOPBACK_PARIF >> 8) & 0xff,\n+\t\tBNXT_ULP_CF_IDX_LOOPBACK_PARIF & 0xff,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_false = {\n@@ -17530,8 +17530,8 @@ struct bnxt_ulp_mapper_result_field_info ulp_class_result_field_list[] = {\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_true = {\n-\t\t(BNXT_ULP_CF_IDX_VF_FUNC_PARIF >> 8) & 0xff,\n-\t\tBNXT_ULP_CF_IDX_VF_FUNC_PARIF & 0xff,\n+\t\t(BNXT_ULP_CF_IDX_LOOPBACK_PARIF >> 8) & 0xff,\n+\t\tBNXT_ULP_CF_IDX_LOOPBACK_PARIF & 0xff,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n \t\t0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},\n \t.result_operand_false = {\ndiff --git a/drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h b/drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h\nindex 9855918..4c6c359 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h\n+++ b/drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h\n@@ -132,7 +132,8 @@ enum bnxt_ulp_cf_idx {\n \tBNXT_ULP_CF_IDX_L3_HDR_CNT = 40,\n \tBNXT_ULP_CF_IDX_L4_HDR_CNT = 41,\n \tBNXT_ULP_CF_IDX_VFR_MODE = 42,\n-\tBNXT_ULP_CF_IDX_LAST = 43\n+\tBNXT_ULP_CF_IDX_LOOPBACK_PARIF = 43,\n+\tBNXT_ULP_CF_IDX_LAST = 44\n };\n \n enum bnxt_ulp_cond_opcode {\n",
    "prefixes": [
        "1/4"
    ]
}