get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76280,
    "url": "http://patches.dpdk.org/api/patches/76280/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200902053138.39649-2-ajit.khaparde@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": "<20200902053138.39649-2-ajit.khaparde@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200902053138.39649-2-ajit.khaparde@broadcom.com",
    "date": "2020-09-02T05:31:35",
    "name": "[v3,1/4] net/bnxt: configure loopback parif for egress flows",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e25d62be2fdc94bc4dfdd8160551073c79c4940a",
    "submitter": {
        "id": 501,
        "url": "http://patches.dpdk.org/api/people/501/?format=api",
        "name": "Ajit Khaparde",
        "email": "ajit.khaparde@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/20200902053138.39649-2-ajit.khaparde@broadcom.com/mbox/",
    "series": [
        {
            "id": 11889,
            "url": "http://patches.dpdk.org/api/series/11889/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11889",
            "date": "2020-09-02T05:31:34",
            "name": "bnxt patches",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/11889/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76280/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/76280/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 A2A0FA04B5;\n\tWed,  2 Sep 2020 07:31:55 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D91061C0AD;\n\tWed,  2 Sep 2020 07:31:49 +0200 (CEST)",
            "from mail-oo1-f99.google.com (mail-oo1-f99.google.com\n [209.85.161.99]) by dpdk.org (Postfix) with ESMTP id 0A83D1C0AC\n for <dev@dpdk.org>; Wed,  2 Sep 2020 07:31:49 +0200 (CEST)",
            "by mail-oo1-f99.google.com with SMTP id r6so875300oon.13\n for <dev@dpdk.org>; Tue, 01 Sep 2020 22:31:48 -0700 (PDT)",
            "from localhost.localdomain ([192.19.223.252])\n by smtp-relay.gmail.com with ESMTPS id h26sm566703oos.1.2020.09.01.22.31.46\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Tue, 01 Sep 2020 22:31:48 -0700 (PDT)"
        ],
        "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=B7q66jR+fpJmPGVW3WqeiklxyfPn/TvQLK9A4Uk99nA=;\n b=Ytdci9xvLMD53xsSIHsG/pM5GoXGMU0fMIRzs2aJyS+6t5xWepWpfyky9oVWGy343/\n 4wxAlWjpK5AnQFyooO05P+vtjsLDwlvTPzdzZGvVFQ1C7S9Pf/k7fAKV8FyzYT/K+eMd\n nkL/ey5NNowvhlxY7avda2NNeD1J6pDdk2QL4=",
        "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=B7q66jR+fpJmPGVW3WqeiklxyfPn/TvQLK9A4Uk99nA=;\n b=iNzzFkmq3+3LtpIpE4iM21MimIpfpgdKcl0xTIAavQyErvmNnvaVHuIEJg3AB0Vdbb\n mSBMka2yEmnuzPya45wKPkwPVEr3lBgmFucun3w5heAaqGrtUmKUl8fSQPcJ0iXxirTi\n 1EGB5VE4f2CsAUqIJjtR3S5kEbH6+ujFhUlxdSFTfkpV9QGr6vfwU2UeEGZQ/10tcVkj\n /IuIow2xYvh3iqfKVIK8vl0bue4QNoubyWz3hjtRFs+cxJc5znWq1uD79YVblTWFF1B/\n eDelnaJGkhayDjmIxTdEZK++3zeEwqlJovhY6XnQ74p//TL6td4zWkf21yC0hg3OLM7X\n TZtQ==",
        "X-Gm-Message-State": "AOAM533cOIFhSG0WVOCzA6M0rwHGcFmCV67TfaaqLCl2ooFkMEzyGzNS\n JzsUbgPcVA+F0I4dFr5WfjHxQM3lLfi5F5OjBYT0XL5SF7ZG4/V7DzmWP9r6x5oSCilIJ9daB1N\n vCG+rDEQqwZHEOpDlv6LNrPZzw6Nct/b6GH5BHlmISHGuayjmL6gph8qJWa//dDs7RefFOrVZZv\n eGZQ==",
        "X-Google-Smtp-Source": "\n ABdhPJwJqBVtUKUZQBOqvh6CKJR4adbKMFbKn8qLgAmKXBy0gbm0Oviah5RFVw569biSJkCuoPdXc44PjiZ/",
        "X-Received": "by 2002:a4a:d509:: with SMTP id m9mr4194959oos.77.1599024708255;\n Tue, 01 Sep 2020 22:31:48 -0700 (PDT)",
        "X-Relaying-Domain": "broadcom.com",
        "From": "Ajit Khaparde <ajit.khaparde@broadcom.com>",
        "To": "dev@dpdk.org",
        "Cc": "Kishore Padmanabha <kishore.padmanabha@broadcom.com>,\n Shahaji Bhosle <sbhosle@broadcom.com>",
        "Date": "Tue,  1 Sep 2020 22:31:35 -0700",
        "Message-Id": "<20200902053138.39649-2-ajit.khaparde@broadcom.com>",
        "X-Mailer": "git-send-email 2.21.1 (Apple Git-122.3)",
        "In-Reply-To": "<20200902053138.39649-1-ajit.khaparde@broadcom.com>",
        "References": "<20200731172302.5292-1-ajit.khaparde@broadcom.com>\n <20200902053138.39649-1-ajit.khaparde@broadcom.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 1/4] net/bnxt: configure loopback parif for\n\tegress 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\nConfigure loopback parif for full offload egress flows.\nPARIF is handler to a partition of the physical port.\nThe full offload egress flows for the VF rep interface must\nuse loopback parif to offload missed flows. The miss\nflow path for the VF rep interface has to be loopback interface\nparif entry and for the non-VF rep interface it has to be the\ninterface's parif entry.\n\nFixes: fe82f3e02701 (\"net/bnxt: support exact match templates\")\n\nSigned-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>\nReviewed-by: Shahaji Bhosle <sbhosle@broadcom.com>\nReviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>\n---\n drivers/net/bnxt/tf_ulp/ulp_rte_parser.c      |  6 ++++++\n .../net/bnxt/tf_ulp/ulp_template_db_class.c   | 20 +++++++++----------\n .../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 861414da9..fcb7c4430 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 94160a902..aaa552aeb 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 985591844..4c6c3599d 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": [
        "v3",
        "1/4"
    ]
}