get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74382,
    "url": "http://patches.dpdk.org/api/patches/74382/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200717141451.11705-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": "<20200717141451.11705-2-somnath.kotur@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200717141451.11705-2-somnath.kotur@broadcom.com",
    "date": "2020-07-17T14:14:38",
    "name": "[01/14] net/bnxt: changes to support new RM and multi-region",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f20ca258cbf0bb4a6b8ccadb3d0de6da12e85df3",
    "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/20200717141451.11705-2-somnath.kotur@broadcom.com/mbox/",
    "series": [
        {
            "id": 11136,
            "url": "http://patches.dpdk.org/api/series/11136/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11136",
            "date": "2020-07-17T14:14:37",
            "name": "bnxt patches",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/11136/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/74382/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/74382/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 3DFC2A053B;\n\tFri, 17 Jul 2020 16:20:24 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 174B01BFB1;\n\tFri, 17 Jul 2020 16:20:11 +0200 (CEST)",
            "from relay.smtp.broadcom.com (relay.smtp.broadcom.com\n [192.19.211.62]) by dpdk.org (Postfix) with ESMTP id 949732C38\n for <dev@dpdk.org>; Fri, 17 Jul 2020 16:20: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 BB6D129987E;\n Fri, 17 Jul 2020 07:20:05 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com BB6D129987E",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n s=dkimrelay; t=1594995605;\n bh=TxajJiERupqEw5cbAXjJha35KGmAohiRCY2J8PlQkik=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=nlN4/0MWF1QIYr8on5nfBVQJOy1llE9w0bklucPQH15osPf17I/J/wmWP+RULUwl5\n YOVjp6ZJNlXmL4Fpdnb4eFNcM0nvQi6TlJc0lGBuYDBclqfWTeuFO0pCnjimOarTqa\n tB+m2HOP+AdVqpJQRzF5Yk7mEy07jpE62JGQpXbU=",
        "From": "Somnath Kotur <somnath.kotur@broadcom.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com",
        "Date": "Fri, 17 Jul 2020 19:44:38 +0530",
        "Message-Id": "<20200717141451.11705-2-somnath.kotur@broadcom.com>",
        "X-Mailer": "git-send-email 2.10.1.613.g2cc2e70",
        "In-Reply-To": "<20200717141451.11705-1-somnath.kotur@broadcom.com>",
        "References": "<20200717094935.9337-1-somnath.kotur@broadcom.com>\n <20200717141451.11705-1-somnath.kotur@broadcom.com>",
        "Subject": "[dpdk-dev] [PATCH 01/14] net/bnxt: changes to support new RM and\n\tmulti-region",
        "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: Peter Spreadborough <peter.spreadborough@broadcom.com>\n\n- Updated CFA resource types\n- Updated references\n- Add High/low\n\nSigned-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com>\nReviewed-by: Farah Smith <farah.smith@broadcom.com>\nSigned-off-by: Somnath Kotur <somnath.kotur@broadcom.com>\n---\n drivers/net/bnxt/tf_core/cfa_resource_types.h   | 194 ++++++++++++------------\n drivers/net/bnxt/tf_core/tf_core.h              |  12 +-\n drivers/net/bnxt/tf_core/tf_device_p4.h         |  14 +-\n drivers/net/bnxt/tf_core/tf_util.c              |  12 +-\n drivers/net/bnxt/tf_ulp/bnxt_ulp.c              |  10 +-\n drivers/net/bnxt/tf_ulp/ulp_template_db_class.c |  38 ++---\n drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c   |   4 +-\n 7 files changed, 152 insertions(+), 132 deletions(-)",
    "diff": "diff --git a/drivers/net/bnxt/tf_core/cfa_resource_types.h b/drivers/net/bnxt/tf_core/cfa_resource_types.h\nindex 6d6651f..45b26b2 100644\n--- a/drivers/net/bnxt/tf_core/cfa_resource_types.h\n+++ b/drivers/net/bnxt/tf_core/cfa_resource_types.h\n@@ -18,53 +18,57 @@\n  */\n #define CFA_RESOURCE_TYPE_INVALID 65535\n \n-/* L2 Context TCAM */\n-#define CFA_RESOURCE_TYPE_P59_L2_CTXT_TCAM    0x0UL\n-/* L2 Context REMAP */\n-#define CFA_RESOURCE_TYPE_P59_L2_CTXT_REMAP   0x1UL\n+/* L2 Context TCAM High priority entries */\n+#define CFA_RESOURCE_TYPE_P59_L2_CTXT_TCAM_HIGH  0x0UL\n+/* L2 Context TCAM Low priority entries */\n+#define CFA_RESOURCE_TYPE_P59_L2_CTXT_TCAM_LOW   0x1UL\n+/* L2 Context REMAP high priority entries */\n+#define CFA_RESOURCE_TYPE_P59_L2_CTXT_REMAP_HIGH 0x2UL\n+/* L2 Context REMAP Low priority entries */\n+#define CFA_RESOURCE_TYPE_P59_L2_CTXT_REMAP_LOW  0x3UL\n /* Profile Func */\n-#define CFA_RESOURCE_TYPE_P59_PROF_FUNC       0x2UL\n+#define CFA_RESOURCE_TYPE_P59_PROF_FUNC          0x4UL\n /* Profile TCAM */\n-#define CFA_RESOURCE_TYPE_P59_PROF_TCAM       0x3UL\n+#define CFA_RESOURCE_TYPE_P59_PROF_TCAM          0x5UL\n /* Exact Match Profile Id */\n-#define CFA_RESOURCE_TYPE_P59_EM_PROF_ID      0x4UL\n+#define CFA_RESOURCE_TYPE_P59_EM_PROF_ID         0x6UL\n /* Wildcard TCAM Profile Id */\n-#define CFA_RESOURCE_TYPE_P59_WC_TCAM_PROF_ID 0x5UL\n+#define CFA_RESOURCE_TYPE_P59_WC_TCAM_PROF_ID    0x7UL\n /* Wildcard TCAM */\n-#define CFA_RESOURCE_TYPE_P59_WC_TCAM         0x6UL\n+#define CFA_RESOURCE_TYPE_P59_WC_TCAM            0x8UL\n /* Meter Profile */\n-#define CFA_RESOURCE_TYPE_P59_METER_PROF      0x7UL\n+#define CFA_RESOURCE_TYPE_P59_METER_PROF         0x9UL\n /* Meter */\n-#define CFA_RESOURCE_TYPE_P59_METER           0x8UL\n+#define CFA_RESOURCE_TYPE_P59_METER              0xaUL\n /* Meter */\n-#define CFA_RESOURCE_TYPE_P59_MIRROR          0x9UL\n+#define CFA_RESOURCE_TYPE_P59_MIRROR             0xbUL\n /* Source Properties TCAM */\n-#define CFA_RESOURCE_TYPE_P59_SP_TCAM         0xaUL\n+#define CFA_RESOURCE_TYPE_P59_SP_TCAM            0xcUL\n /* Exact Match Flexible Key Builder */\n-#define CFA_RESOURCE_TYPE_P59_EM_FKB          0xbUL\n+#define CFA_RESOURCE_TYPE_P59_EM_FKB             0xdUL\n /* Wildcard Flexible Key Builder */\n-#define CFA_RESOURCE_TYPE_P59_WC_FKB          0xcUL\n+#define CFA_RESOURCE_TYPE_P59_WC_FKB             0xeUL\n /* Table Scope */\n-#define CFA_RESOURCE_TYPE_P59_TBL_SCOPE       0xdUL\n+#define CFA_RESOURCE_TYPE_P59_TBL_SCOPE          0xfUL\n /* L2 Func */\n-#define CFA_RESOURCE_TYPE_P59_L2_FUNC         0xeUL\n+#define CFA_RESOURCE_TYPE_P59_L2_FUNC            0x10UL\n /* EPOCH 0 */\n-#define CFA_RESOURCE_TYPE_P59_EPOCH0          0xfUL\n+#define CFA_RESOURCE_TYPE_P59_EPOCH0             0x11UL\n /* EPOCH 1 */\n-#define CFA_RESOURCE_TYPE_P59_EPOCH1          0x10UL\n+#define CFA_RESOURCE_TYPE_P59_EPOCH1             0x12UL\n /* Metadata */\n-#define CFA_RESOURCE_TYPE_P59_METADATA        0x11UL\n+#define CFA_RESOURCE_TYPE_P59_METADATA           0x13UL\n /* Connection Tracking Rule TCAM */\n-#define CFA_RESOURCE_TYPE_P59_CT_RULE_TCAM    0x12UL\n+#define CFA_RESOURCE_TYPE_P59_CT_RULE_TCAM       0x14UL\n /* Range Profile */\n-#define CFA_RESOURCE_TYPE_P59_RANGE_PROF      0x13UL\n+#define CFA_RESOURCE_TYPE_P59_RANGE_PROF         0x15UL\n /* Range */\n-#define CFA_RESOURCE_TYPE_P59_RANGE           0x14UL\n+#define CFA_RESOURCE_TYPE_P59_RANGE              0x16UL\n /* Link Aggrigation */\n-#define CFA_RESOURCE_TYPE_P59_LAG             0x15UL\n+#define CFA_RESOURCE_TYPE_P59_LAG                0x17UL\n /* VEB TCAM */\n-#define CFA_RESOURCE_TYPE_P59_VEB_TCAM        0x16UL\n-#define CFA_RESOURCE_TYPE_P59_LAST           CFA_RESOURCE_TYPE_P59_VEB_TCAM\n+#define CFA_RESOURCE_TYPE_P59_VEB_TCAM           0x18UL\n+#define CFA_RESOURCE_TYPE_P59_LAST              CFA_RESOURCE_TYPE_P59_VEB_TCAM\n \n \n /* Multicast Group */\n@@ -81,40 +85,40 @@\n #define CFA_RESOURCE_TYPE_P58_SP_MAC_IPV4         0x5UL\n /* Source Property MAC and IPv6 */\n #define CFA_RESOURCE_TYPE_P58_SP_MAC_IPV6         0x6UL\n-/* Network Address Translation Source Port */\n-#define CFA_RESOURCE_TYPE_P58_NAT_SPORT           0x7UL\n-/* Network Address Translation Destination Port */\n-#define CFA_RESOURCE_TYPE_P58_NAT_DPORT           0x8UL\n-/* Network Address Translation Source IPv4 address */\n-#define CFA_RESOURCE_TYPE_P58_NAT_S_IPV4          0x9UL\n-/* Network Address Translation Destination IPv4 address */\n-#define CFA_RESOURCE_TYPE_P58_NAT_D_IPV4          0xaUL\n+/* Network Address Translation Port */\n+#define CFA_RESOURCE_TYPE_P58_NAT_PORT            0x7UL\n+/* Network Address Translation IPv4 address */\n+#define CFA_RESOURCE_TYPE_P58_NAT_IPV4            0x8UL\n /* Meter */\n-#define CFA_RESOURCE_TYPE_P58_METER               0xbUL\n+#define CFA_RESOURCE_TYPE_P58_METER               0x9UL\n /* Flow State */\n-#define CFA_RESOURCE_TYPE_P58_FLOW_STATE          0xcUL\n+#define CFA_RESOURCE_TYPE_P58_FLOW_STATE          0xaUL\n /* Full Action Records */\n-#define CFA_RESOURCE_TYPE_P58_FULL_ACTION         0xdUL\n+#define CFA_RESOURCE_TYPE_P58_FULL_ACTION         0xbUL\n /* Action Record Format 0 */\n-#define CFA_RESOURCE_TYPE_P58_FORMAT_0_ACTION     0xeUL\n+#define CFA_RESOURCE_TYPE_P58_FORMAT_0_ACTION     0xcUL\n /* Action Record Ext Format 0 */\n-#define CFA_RESOURCE_TYPE_P58_EXT_FORMAT_0_ACTION 0xfUL\n+#define CFA_RESOURCE_TYPE_P58_EXT_FORMAT_0_ACTION 0xdUL\n /* Action Record Format 1 */\n-#define CFA_RESOURCE_TYPE_P58_FORMAT_1_ACTION     0x10UL\n+#define CFA_RESOURCE_TYPE_P58_FORMAT_1_ACTION     0xeUL\n /* Action Record Format 2 */\n-#define CFA_RESOURCE_TYPE_P58_FORMAT_2_ACTION     0x11UL\n+#define CFA_RESOURCE_TYPE_P58_FORMAT_2_ACTION     0xfUL\n /* Action Record Format 3 */\n-#define CFA_RESOURCE_TYPE_P58_FORMAT_3_ACTION     0x12UL\n+#define CFA_RESOURCE_TYPE_P58_FORMAT_3_ACTION     0x10UL\n /* Action Record Format 4 */\n-#define CFA_RESOURCE_TYPE_P58_FORMAT_4_ACTION     0x13UL\n+#define CFA_RESOURCE_TYPE_P58_FORMAT_4_ACTION     0x11UL\n /* Action Record Format 5 */\n-#define CFA_RESOURCE_TYPE_P58_FORMAT_5_ACTION     0x14UL\n+#define CFA_RESOURCE_TYPE_P58_FORMAT_5_ACTION     0x12UL\n /* Action Record Format 6 */\n-#define CFA_RESOURCE_TYPE_P58_FORMAT_6_ACTION     0x15UL\n-/* L2 Context TCAM */\n-#define CFA_RESOURCE_TYPE_P58_L2_CTXT_TCAM        0x16UL\n-/* L2 Context REMAP */\n-#define CFA_RESOURCE_TYPE_P58_L2_CTXT_REMAP       0x17UL\n+#define CFA_RESOURCE_TYPE_P58_FORMAT_6_ACTION     0x13UL\n+/* L2 Context TCAM High priority entries */\n+#define CFA_RESOURCE_TYPE_P58_L2_CTXT_TCAM_HIGH   0x14UL\n+/* L2 Context TCAM Low priority entries */\n+#define CFA_RESOURCE_TYPE_P58_L2_CTXT_TCAM_LOW    0x15UL\n+/* L2 Context REMAP high priority entries */\n+#define CFA_RESOURCE_TYPE_P58_L2_CTXT_REMAP_HIGH  0x16UL\n+/* L2 Context REMAP Low priority entries */\n+#define CFA_RESOURCE_TYPE_P58_L2_CTXT_REMAP_LOW   0x17UL\n /* Profile Func */\n #define CFA_RESOURCE_TYPE_P58_PROF_FUNC           0x18UL\n /* Profile TCAM */\n@@ -158,40 +162,40 @@\n #define CFA_RESOURCE_TYPE_P45_SP_MAC_IPV6         0x6UL\n /* 64B Counters */\n #define CFA_RESOURCE_TYPE_P45_COUNTER_64B         0x7UL\n-/* Network Address Translation Source Port */\n-#define CFA_RESOURCE_TYPE_P45_NAT_SPORT           0x8UL\n-/* Network Address Translation Destination Port */\n-#define CFA_RESOURCE_TYPE_P45_NAT_DPORT           0x9UL\n-/* Network Address Translation Source IPv4 address */\n-#define CFA_RESOURCE_TYPE_P45_NAT_S_IPV4          0xaUL\n-/* Network Address Translation Destination IPv4 address */\n-#define CFA_RESOURCE_TYPE_P45_NAT_D_IPV4          0xbUL\n+/* Network Address Translation Port */\n+#define CFA_RESOURCE_TYPE_P45_NAT_PORT            0x8UL\n+/* Network Address Translation IPv4 address */\n+#define CFA_RESOURCE_TYPE_P45_NAT_IPV4            0x9UL\n /* Meter */\n-#define CFA_RESOURCE_TYPE_P45_METER               0xcUL\n+#define CFA_RESOURCE_TYPE_P45_METER               0xaUL\n /* Flow State */\n-#define CFA_RESOURCE_TYPE_P45_FLOW_STATE          0xdUL\n+#define CFA_RESOURCE_TYPE_P45_FLOW_STATE          0xbUL\n /* Full Action Records */\n-#define CFA_RESOURCE_TYPE_P45_FULL_ACTION         0xeUL\n+#define CFA_RESOURCE_TYPE_P45_FULL_ACTION         0xcUL\n /* Action Record Format 0 */\n-#define CFA_RESOURCE_TYPE_P45_FORMAT_0_ACTION     0xfUL\n+#define CFA_RESOURCE_TYPE_P45_FORMAT_0_ACTION     0xdUL\n /* Action Record Ext Format 0 */\n-#define CFA_RESOURCE_TYPE_P45_EXT_FORMAT_0_ACTION 0x10UL\n+#define CFA_RESOURCE_TYPE_P45_EXT_FORMAT_0_ACTION 0xeUL\n /* Action Record Format 1 */\n-#define CFA_RESOURCE_TYPE_P45_FORMAT_1_ACTION     0x11UL\n+#define CFA_RESOURCE_TYPE_P45_FORMAT_1_ACTION     0xfUL\n /* Action Record Format 2 */\n-#define CFA_RESOURCE_TYPE_P45_FORMAT_2_ACTION     0x12UL\n+#define CFA_RESOURCE_TYPE_P45_FORMAT_2_ACTION     0x10UL\n /* Action Record Format 3 */\n-#define CFA_RESOURCE_TYPE_P45_FORMAT_3_ACTION     0x13UL\n+#define CFA_RESOURCE_TYPE_P45_FORMAT_3_ACTION     0x11UL\n /* Action Record Format 4 */\n-#define CFA_RESOURCE_TYPE_P45_FORMAT_4_ACTION     0x14UL\n+#define CFA_RESOURCE_TYPE_P45_FORMAT_4_ACTION     0x12UL\n /* Action Record Format 5 */\n-#define CFA_RESOURCE_TYPE_P45_FORMAT_5_ACTION     0x15UL\n+#define CFA_RESOURCE_TYPE_P45_FORMAT_5_ACTION     0x13UL\n /* Action Record Format 6 */\n-#define CFA_RESOURCE_TYPE_P45_FORMAT_6_ACTION     0x16UL\n-/* L2 Context TCAM */\n-#define CFA_RESOURCE_TYPE_P45_L2_CTXT_TCAM        0x17UL\n-/* L2 Context REMAP */\n-#define CFA_RESOURCE_TYPE_P45_L2_CTXT_REMAP       0x18UL\n+#define CFA_RESOURCE_TYPE_P45_FORMAT_6_ACTION     0x14UL\n+/* L2 Context TCAM High priority entries */\n+#define CFA_RESOURCE_TYPE_P45_L2_CTXT_TCAM_HIGH   0x15UL\n+/* L2 Context TCAM Low priority entries */\n+#define CFA_RESOURCE_TYPE_P45_L2_CTXT_TCAM_LOW    0x16UL\n+/* L2 Context REMAP high priority entries */\n+#define CFA_RESOURCE_TYPE_P45_L2_CTXT_REMAP_HIGH  0x17UL\n+/* L2 Context REMAP Low priority entries */\n+#define CFA_RESOURCE_TYPE_P45_L2_CTXT_REMAP_LOW   0x18UL\n /* Profile Func */\n #define CFA_RESOURCE_TYPE_P45_PROF_FUNC           0x19UL\n /* Profile TCAM */\n@@ -233,40 +237,40 @@\n #define CFA_RESOURCE_TYPE_P4_SP_MAC_IPV6         0x6UL\n /* 64B Counters */\n #define CFA_RESOURCE_TYPE_P4_COUNTER_64B         0x7UL\n-/* Network Address Translation Source Port */\n-#define CFA_RESOURCE_TYPE_P4_NAT_SPORT           0x8UL\n-/* Network Address Translation Destination Port */\n-#define CFA_RESOURCE_TYPE_P4_NAT_DPORT           0x9UL\n-/* Network Address Translation Source IPv4 address */\n-#define CFA_RESOURCE_TYPE_P4_NAT_S_IPV4          0xaUL\n-/* Network Address Translation Destination IPv4 address */\n-#define CFA_RESOURCE_TYPE_P4_NAT_D_IPV4          0xbUL\n+/* Network Address Translation Port */\n+#define CFA_RESOURCE_TYPE_P4_NAT_PORT            0x8UL\n+/* Network Address Translation IPv4 address */\n+#define CFA_RESOURCE_TYPE_P4_NAT_IPV4            0x9UL\n /* Meter */\n-#define CFA_RESOURCE_TYPE_P4_METER               0xcUL\n+#define CFA_RESOURCE_TYPE_P4_METER               0xaUL\n /* Flow State */\n-#define CFA_RESOURCE_TYPE_P4_FLOW_STATE          0xdUL\n+#define CFA_RESOURCE_TYPE_P4_FLOW_STATE          0xbUL\n /* Full Action Records */\n-#define CFA_RESOURCE_TYPE_P4_FULL_ACTION         0xeUL\n+#define CFA_RESOURCE_TYPE_P4_FULL_ACTION         0xcUL\n /* Action Record Format 0 */\n-#define CFA_RESOURCE_TYPE_P4_FORMAT_0_ACTION     0xfUL\n+#define CFA_RESOURCE_TYPE_P4_FORMAT_0_ACTION     0xdUL\n /* Action Record Ext Format 0 */\n-#define CFA_RESOURCE_TYPE_P4_EXT_FORMAT_0_ACTION 0x10UL\n+#define CFA_RESOURCE_TYPE_P4_EXT_FORMAT_0_ACTION 0xeUL\n /* Action Record Format 1 */\n-#define CFA_RESOURCE_TYPE_P4_FORMAT_1_ACTION     0x11UL\n+#define CFA_RESOURCE_TYPE_P4_FORMAT_1_ACTION     0xfUL\n /* Action Record Format 2 */\n-#define CFA_RESOURCE_TYPE_P4_FORMAT_2_ACTION     0x12UL\n+#define CFA_RESOURCE_TYPE_P4_FORMAT_2_ACTION     0x10UL\n /* Action Record Format 3 */\n-#define CFA_RESOURCE_TYPE_P4_FORMAT_3_ACTION     0x13UL\n+#define CFA_RESOURCE_TYPE_P4_FORMAT_3_ACTION     0x11UL\n /* Action Record Format 4 */\n-#define CFA_RESOURCE_TYPE_P4_FORMAT_4_ACTION     0x14UL\n+#define CFA_RESOURCE_TYPE_P4_FORMAT_4_ACTION     0x12UL\n /* Action Record Format 5 */\n-#define CFA_RESOURCE_TYPE_P4_FORMAT_5_ACTION     0x15UL\n+#define CFA_RESOURCE_TYPE_P4_FORMAT_5_ACTION     0x13UL\n /* Action Record Format 6 */\n-#define CFA_RESOURCE_TYPE_P4_FORMAT_6_ACTION     0x16UL\n-/* L2 Context TCAM */\n-#define CFA_RESOURCE_TYPE_P4_L2_CTXT_TCAM        0x17UL\n-/* L2 Context REMAP */\n-#define CFA_RESOURCE_TYPE_P4_L2_CTXT_REMAP       0x18UL\n+#define CFA_RESOURCE_TYPE_P4_FORMAT_6_ACTION     0x14UL\n+/* L2 Context TCAM High priority entries */\n+#define CFA_RESOURCE_TYPE_P4_L2_CTXT_TCAM_HIGH   0x15UL\n+/* L2 Context TCAM Low priority entries */\n+#define CFA_RESOURCE_TYPE_P4_L2_CTXT_TCAM_LOW    0x16UL\n+/* L2 Context REMAP high priority entries */\n+#define CFA_RESOURCE_TYPE_P4_L2_CTXT_REMAP_HIGH  0x17UL\n+/* L2 Context REMAP Low priority entries */\n+#define CFA_RESOURCE_TYPE_P4_L2_CTXT_REMAP_LOW   0x18UL\n /* Profile Func */\n #define CFA_RESOURCE_TYPE_P4_PROF_FUNC           0x19UL\n /* Profile TCAM */\ndiff --git a/drivers/net/bnxt/tf_core/tf_core.h b/drivers/net/bnxt/tf_core/tf_core.h\nindex 758685e..8fa734a 100644\n--- a/drivers/net/bnxt/tf_core/tf_core.h\n+++ b/drivers/net/bnxt/tf_core/tf_core.h\n@@ -162,7 +162,13 @@ enum tf_identifier_type {\n \t *  and can be used in WC TCAM or EM keys to virtualize further\n \t *  lookups.\n \t */\n-\tTF_IDENT_TYPE_L2_CTXT,\n+\tTF_IDENT_TYPE_L2_CTXT_HIGH,\n+\t/**\n+\t *  The L2 Context is returned from the L2 Ctxt TCAM lookup\n+\t *  and can be used in WC TCAM or EM keys to virtualize further\n+\t *  lookups.\n+\t */\n+\tTF_IDENT_TYPE_L2_CTXT_LOW,\n \t/**\n \t *  The WC profile func is returned from the L2 Ctxt TCAM lookup\n \t *  to enable virtualization of the profile TCAM.\n@@ -270,7 +276,9 @@ enum tf_tbl_type {\n  */\n enum tf_tcam_tbl_type {\n \t/** L2 Context TCAM */\n-\tTF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\tTF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n+\t/** L2 Context TCAM */\n+\tTF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,\n \t/** Profile TCAM */\n \tTF_TCAM_TBL_TYPE_PROF_TCAM,\n \t/** Wildcard TCAM */\ndiff --git a/drivers/net/bnxt/tf_core/tf_device_p4.h b/drivers/net/bnxt/tf_core/tf_device_p4.h\nindex 7fabb4b..06c3ecf 100644\n--- a/drivers/net/bnxt/tf_core/tf_device_p4.h\n+++ b/drivers/net/bnxt/tf_core/tf_device_p4.h\n@@ -14,7 +14,8 @@\n #include \"tf_global_cfg.h\"\n \n struct tf_rm_element_cfg tf_ident_p4[TF_IDENT_TYPE_MAX] = {\n-\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_L2_CTXT_REMAP },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_L2_CTXT_REMAP_HIGH },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_L2_CTXT_REMAP_LOW },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_PROF_FUNC },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_WC_TCAM_PROF_ID },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_EM_PROF_ID },\n@@ -23,7 +24,8 @@ struct tf_rm_element_cfg tf_ident_p4[TF_IDENT_TYPE_MAX] = {\n };\n \n struct tf_rm_element_cfg tf_tcam_p4[TF_TCAM_TBL_TYPE_MAX] = {\n-\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_L2_CTXT_TCAM },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_L2_CTXT_TCAM_HIGH },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_L2_CTXT_TCAM_LOW },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_PROF_TCAM },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_WC_TCAM },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_SP_TCAM },\n@@ -45,10 +47,10 @@ struct tf_rm_element_cfg tf_tbl_p4[TF_TBL_TYPE_MAX] = {\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_SP_MAC_IPV4 },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_SP_MAC_IPV6 },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_COUNTER_64B },\n-\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_SPORT },\n-\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_DPORT },\n-\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_S_IPV4 },\n-\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_D_IPV4 },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_PORT },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_PORT },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_IPV4 },\n+\t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_NAT_IPV4 },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_METER_PROF },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_METER },\n \t{ TF_RM_ELEM_CFG_HCAPI_BA, CFA_RESOURCE_TYPE_P4_MIRROR },\ndiff --git a/drivers/net/bnxt/tf_core/tf_util.c b/drivers/net/bnxt/tf_core/tf_util.c\nindex aeee3b3..bf6a6a3 100644\n--- a/drivers/net/bnxt/tf_core/tf_util.c\n+++ b/drivers/net/bnxt/tf_core/tf_util.c\n@@ -24,8 +24,10 @@ const char *\n tf_ident_2_str(enum tf_identifier_type id_type)\n {\n \tswitch (id_type) {\n-\tcase TF_IDENT_TYPE_L2_CTXT:\n-\t\treturn \"l2_ctxt_remap\";\n+\tcase TF_IDENT_TYPE_L2_CTXT_HIGH:\n+\t\treturn \"l2_ctxt_remap_high\";\n+\tcase TF_IDENT_TYPE_L2_CTXT_LOW:\n+\t\treturn \"l2_ctxt_remap_low\";\n \tcase TF_IDENT_TYPE_PROF_FUNC:\n \t\treturn \"prof_func\";\n \tcase TF_IDENT_TYPE_WC_PROF:\n@@ -43,8 +45,10 @@ const char *\n tf_tcam_tbl_2_str(enum tf_tcam_tbl_type tcam_type)\n {\n \tswitch (tcam_type) {\n-\tcase TF_TCAM_TBL_TYPE_L2_CTXT_TCAM:\n-\t\treturn \"l2_ctxt_tcam\";\n+\tcase TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH:\n+\t\treturn \"l2_ctxt_tcam_high\";\n+\tcase TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW:\n+\t\treturn \"l2_ctxt_tcam_low\";\n \tcase TF_TCAM_TBL_TYPE_PROF_TCAM:\n \t\treturn \"prof_tcam\";\n \tcase TF_TCAM_TBL_TYPE_WC_TCAM:\ndiff --git a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c\nindex 6b0a403..c4ce003 100644\n--- a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c\n+++ b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c\n@@ -86,7 +86,7 @@ ulp_ctx_session_open(struct bnxt *bp,\n \tresources = &params.resources;\n \t/** RX **/\n \t/* Identifiers */\n-\tresources->ident_cnt[TF_DIR_RX].cnt[TF_IDENT_TYPE_L2_CTXT] = 16;\n+\tresources->ident_cnt[TF_DIR_RX].cnt[TF_IDENT_TYPE_L2_CTXT_HIGH] = 16;\n \tresources->ident_cnt[TF_DIR_RX].cnt[TF_IDENT_TYPE_WC_PROF] = 8;\n \tresources->ident_cnt[TF_DIR_RX].cnt[TF_IDENT_TYPE_PROF_FUNC] = 8;\n \tresources->ident_cnt[TF_DIR_RX].cnt[TF_IDENT_TYPE_EM_PROF] = 8;\n@@ -96,7 +96,8 @@ ulp_ctx_session_open(struct bnxt *bp,\n \tresources->tbl_cnt[TF_DIR_RX].cnt[TF_TBL_TYPE_ACT_STATS_64] = 720;\n \n \t/* TCAMs */\n-\tresources->tcam_cnt[TF_DIR_RX].cnt[TF_TCAM_TBL_TYPE_L2_CTXT_TCAM] = 16;\n+\tresources->tcam_cnt[TF_DIR_RX].cnt[TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH] =\n+\t\t\t\t\t\t\t\t\t16;\n \tresources->tcam_cnt[TF_DIR_RX].cnt[TF_TCAM_TBL_TYPE_PROF_TCAM] = 8;\n \tresources->tcam_cnt[TF_DIR_RX].cnt[TF_TCAM_TBL_TYPE_WC_TCAM] = 416;\n \n@@ -108,7 +109,7 @@ ulp_ctx_session_open(struct bnxt *bp,\n \n \t/** TX **/\n \t/* Identifiers */\n-\tresources->ident_cnt[TF_DIR_TX].cnt[TF_IDENT_TYPE_L2_CTXT] = 8;\n+\tresources->ident_cnt[TF_DIR_TX].cnt[TF_IDENT_TYPE_L2_CTXT_HIGH] = 8;\n \tresources->ident_cnt[TF_DIR_TX].cnt[TF_IDENT_TYPE_WC_PROF] = 8;\n \tresources->ident_cnt[TF_DIR_TX].cnt[TF_IDENT_TYPE_PROF_FUNC] = 8;\n \tresources->ident_cnt[TF_DIR_TX].cnt[TF_IDENT_TYPE_EM_PROF] = 8;\n@@ -122,7 +123,8 @@ ulp_ctx_session_open(struct bnxt *bp,\n \tresources->tbl_cnt[TF_DIR_TX].cnt[TF_TBL_TYPE_ACT_ENCAP_16B] = 16;\n \n \t/* TCAMs */\n-\tresources->tcam_cnt[TF_DIR_TX].cnt[TF_TCAM_TBL_TYPE_L2_CTXT_TCAM] = 8;\n+\tresources->tcam_cnt[TF_DIR_TX].cnt[TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH] =\n+\t\t\t\t\t\t\t\t\t8;\n \tresources->tcam_cnt[TF_DIR_TX].cnt[TF_TCAM_TBL_TYPE_PROF_TCAM] = 8;\n \tresources->tcam_cnt[TF_DIR_TX].cnt[TF_TCAM_TBL_TYPE_WC_TCAM] = 8;\n \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 feac30a..1fd5ab4 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@@ -162,7 +162,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -217,7 +217,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_TX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -264,7 +264,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_TX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -297,7 +297,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -316,7 +316,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -335,7 +335,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_TX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -390,7 +390,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -437,7 +437,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_TX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -470,7 +470,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -489,7 +489,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -522,7 +522,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_CACHE_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.resource_sub_type =\n \t\tBNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,\n \t.direction = TF_DIR_RX,\n@@ -539,7 +539,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -611,7 +611,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_CACHE_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.resource_sub_type =\n \t\tBNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,\n \t.direction = TF_DIR_RX,\n@@ -628,7 +628,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_RX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -700,7 +700,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_CACHE_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.resource_sub_type =\n \t\tBNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,\n \t.direction = TF_DIR_TX,\n@@ -717,7 +717,7 @@ struct bnxt_ulp_mapper_tbl_info ulp_class_tbl_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,\n-\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM,\n+\t.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,\n \t.direction = TF_DIR_TX,\n \t.priority = BNXT_ULP_PRIORITY_LEVEL_0,\n \t.srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,\n@@ -5295,7 +5295,7 @@ struct bnxt_ulp_mapper_result_field_info ulp_class_result_field_list[] = {\n struct bnxt_ulp_mapper_ident_info ulp_ident_list[] = {\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,\n-\t.ident_type = TF_IDENT_TYPE_L2_CTXT,\n+\t.ident_type = TF_IDENT_TYPE_L2_CTXT_HIGH,\n \t.regfile_idx = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_ID_0,\n \t.ident_bit_size = 10,\n \t.ident_bit_pos = 0\n@@ -5309,7 +5309,7 @@ struct bnxt_ulp_mapper_ident_info ulp_ident_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,\n-\t.ident_type = TF_IDENT_TYPE_L2_CTXT,\n+\t.ident_type = TF_IDENT_TYPE_L2_CTXT_HIGH,\n \t.regfile_idx = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_ID_0,\n \t.ident_bit_size = 10,\n \t.ident_bit_pos = 0\n@@ -5323,7 +5323,7 @@ struct bnxt_ulp_mapper_ident_info ulp_ident_list[] = {\n \t},\n \t{\n \t.resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,\n-\t.ident_type = TF_IDENT_TYPE_L2_CTXT,\n+\t.ident_type = TF_IDENT_TYPE_L2_CTXT_HIGH,\n \t.regfile_idx = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_ID_0,\n \t.ident_bit_size = 10,\n \t.ident_bit_pos = 0\ndiff --git a/drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c b/drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c\nindex 9a27cbf..24bde57 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c\n+++ b/drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c\n@@ -345,13 +345,13 @@ struct bnxt_ulp_glb_resource_info ulp_glb_resource_tbl[] = {\n \t},\n \t[2] = {\n \t\t.resource_func           = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,\n-\t\t.resource_type           = TF_IDENT_TYPE_L2_CTXT,\n+\t\t.resource_type           = TF_IDENT_TYPE_L2_CTXT_HIGH,\n \t\t.glb_regfile_index = BNXT_ULP_GLB_REGFILE_INDEX_GLB_L2_CNTXT_ID,\n \t\t.direction               = TF_DIR_RX\n \t},\n \t[3] = {\n \t\t.resource_func           = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,\n-\t\t.resource_type           = TF_IDENT_TYPE_L2_CTXT,\n+\t\t.resource_type           = TF_IDENT_TYPE_L2_CTXT_HIGH,\n \t\t.glb_regfile_index = BNXT_ULP_GLB_REGFILE_INDEX_GLB_L2_CNTXT_ID,\n \t\t.direction               = TF_DIR_TX\n \t},\n",
    "prefixes": [
        "01/14"
    ]
}