get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128294,
    "url": "http://patches.dpdk.org/api/patches/128294/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230607130245.8048-6-ivan.malov@arknetworks.am/",
    "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": "<20230607130245.8048-6-ivan.malov@arknetworks.am>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230607130245.8048-6-ivan.malov@arknetworks.am",
    "date": "2023-06-07T13:02:16",
    "name": "[v4,05/34] common/sfc_efx/base: add API to get HW table desc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ffab6cf1b83a60a46844841ce21bbdb5b3ee5897",
    "submitter": {
        "id": 2962,
        "url": "http://patches.dpdk.org/api/people/2962/?format=api",
        "name": "Ivan Malov",
        "email": "ivan.malov@arknetworks.am"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230607130245.8048-6-ivan.malov@arknetworks.am/mbox/",
    "series": [
        {
            "id": 28390,
            "url": "http://patches.dpdk.org/api/series/28390/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28390",
            "date": "2023-06-07T13:02:11",
            "name": "net/sfc: support HW conntrack assistance",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/28390/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/128294/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/128294/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7E30B42C4D;\n\tWed,  7 Jun 2023 15:03:36 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BF36842D3D;\n\tWed,  7 Jun 2023 15:02:53 +0200 (CEST)",
            "from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80])\n by mails.dpdk.org (Postfix) with ESMTP id 55878410F6\n for <dev@dpdk.org>; Wed,  7 Jun 2023 15:02:49 +0200 (CEST)",
            "from localhost.localdomain (unknown [78.109.69.83])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by agw.arknetworks.am (Postfix) with ESMTPSA id A84ABE12C4;\n Wed,  7 Jun 2023 17:02:48 +0400 (+04)"
        ],
        "From": "Ivan Malov <ivan.malov@arknetworks.am>",
        "To": "dev@dpdk.org",
        "Cc": "Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Ferruh Yigit <ferruh.yigit@amd.com>,\n Denis Pryazhennikov <denis.pryazhennikov@arknetworks.am>,\n Viacheslav Galaktionov <viacheslav.galaktionov@arknetworks.am>,\n Andy Moreton <amoreton@xilinx.com>",
        "Subject": "[PATCH v4 05/34] common/sfc_efx/base: add API to get HW table desc",
        "Date": "Wed,  7 Jun 2023 17:02:16 +0400",
        "Message-Id": "<20230607130245.8048-6-ivan.malov@arknetworks.am>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20230607130245.8048-1-ivan.malov@arknetworks.am>",
        "References": "<20230601195538.8265-1-ivan.malov@arknetworks.am>\n <20230607130245.8048-1-ivan.malov@arknetworks.am>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "From: Denis Pryazhennikov <denis.pryazhennikov@arknetworks.am>\n\nTable's descriptor and fields' descriptors can be taken\nby table ID using a new API.\nIn the near future, only the CT table is planned\nto be used, so only fields that are required for these\npurposes were added to the efx.\n\nSigned-off-by: Denis Pryazhennikov <denis.pryazhennikov@arknetworks.am>\nReviewed-by: Viacheslav Galaktionov <viacheslav.galaktionov@arknetworks.am>\nReviewed-by: Andy Moreton <amoreton@xilinx.com>\n---\n drivers/common/sfc_efx/base/efx.h       |  67 +++++++\n drivers/common/sfc_efx/base/efx_table.c | 256 ++++++++++++++++++++++++\n drivers/common/sfc_efx/version.map      |   3 +\n 3 files changed, 326 insertions(+)",
    "diff": "diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc_efx/base/efx.h\nindex 2de08d1230..e7988e3657 100644\n--- a/drivers/common/sfc_efx/base/efx.h\n+++ b/drivers/common/sfc_efx/base/efx.h\n@@ -5085,6 +5085,73 @@ efx_table_list(\n \t__in\t\t\t\t\tunsigned int n_table_ids,\n \t__out_opt\t\t\t\tunsigned int *n_table_ids_writtenp);\n \n+LIBEFX_API\n+extern\t__checkReturn\t\tsize_t\n+efx_table_supported_num_get(\n+\t__in\t\t\tvoid);\n+\n+LIBEFX_API\n+extern\t__checkReturn\t\tboolean_t\n+efx_table_is_supported(\n+\t__in\t\t\tefx_table_id_t table_id);\n+\n+/* Unique IDs for table fields */\n+typedef enum efx_table_field_id_e {\n+\tEFX_TABLE_FIELD_ID_UNUSED = 0x0,\n+\tEFX_TABLE_FIELD_ID_COUNTER_ID = 0xa,\n+\tEFX_TABLE_FIELD_ID_ETHER_TYPE = 0x1c,\n+\tEFX_TABLE_FIELD_ID_SRC_IP = 0x1d,\n+\tEFX_TABLE_FIELD_ID_DST_IP = 0x1e,\n+\tEFX_TABLE_FIELD_ID_IP_PROTO = 0x20,\n+\tEFX_TABLE_FIELD_ID_SRC_PORT = 0x21,\n+\tEFX_TABLE_FIELD_ID_DST_PORT = 0x22,\n+\tEFX_TABLE_FIELD_ID_NAT_PORT = 0x7a,\n+\tEFX_TABLE_FIELD_ID_NAT_IP = 0x7b,\n+\tEFX_TABLE_FIELD_ID_NAT_DIR = 0x7c,\n+\tEFX_TABLE_FIELD_ID_CT_MARK = 0x7d,\n+} efx_table_field_id_t;\n+\n+/* Table fields mask types */\n+typedef enum efx_table_field_mask_type_e {\n+\tEFX_TABLE_FIELD_MASK_NEVER = 0x0,\n+\tEFX_TABLE_FIELD_MASK_EXACT = 0x1,\n+} efx_table_field_mask_type_t;\n+\n+typedef struct efx_table_field_desc_s {\n+\tefx_table_field_id_t\t\tfield_id;\n+\tuint16_t\t\t\tlbn;\n+\tuint16_t\t\t\twidth;\n+\tefx_table_field_mask_type_t\tmask_type;\n+\tuint8_t\t\t\t\tscheme;\n+} efx_table_field_descriptor_t;\n+\n+/* Types of HW tables */\n+typedef enum efx_table_type_e {\n+\t/* Exact match to all key fields of table entry. */\n+\tEFX_TABLE_TYPE_BCAM = 0x2,\n+} efx_table_type_t;\n+\n+typedef struct efx_table_descriptor_s {\n+\tefx_table_type_t\ttype;\n+\tuint16_t\t\tkey_width;\n+\tuint16_t\t\tresp_width;\n+\t/* Number of key's fields to match data */\n+\tuint16_t\t\tn_key_fields;\n+\t/* Number of fields in match response */\n+\tuint16_t\t\tn_resp_fields;\n+} efx_table_descriptor_t;\n+\n+LIBEFX_API\n+extern\t__checkReturn\t\t\t\tefx_rc_t\n+efx_table_describe(\n+\t__in\t\t\t\t\tefx_nic_t *enp,\n+\t__in\t\t\t\t\tefx_table_id_t table_id,\n+\t__in\t\t\t\t\tuint32_t field_offset,\n+\t__out_opt\t\t\t\tefx_table_descriptor_t *table_descp,\n+\t__out_ecount_opt(n_field_descs)\t\tefx_table_field_descriptor_t *fields_descs,\n+\t__in\t\t\t\t\tunsigned int n_field_descs,\n+\t__out_opt\t\t\t\tunsigned int *n_field_descs_writtenp);\n+\n #ifdef\t__cplusplus\n }\n #endif\ndiff --git a/drivers/common/sfc_efx/base/efx_table.c b/drivers/common/sfc_efx/base/efx_table.c\nindex 7cfdfea36e..c5657ddff7 100644\n--- a/drivers/common/sfc_efx/base/efx_table.c\n+++ b/drivers/common/sfc_efx/base/efx_table.c\n@@ -6,6 +6,11 @@\n #include \"efx.h\"\n #include \"efx_impl.h\"\n \n+/* List of HW tables that have support in efx */\n+static const efx_table_id_t efx_supported_table_ids[] = {\n+\tEFX_TABLE_ID_CONNTRACK,\n+};\n+\n \t__checkReturn\t\t\t\tefx_rc_t\n efx_table_list(\n \t__in\t\t\t\t\tefx_nic_t *enp,\n@@ -80,6 +85,257 @@ efx_table_list(\n \n \treturn (0);\n \n+fail5:\n+\tEFSYS_PROBE(fail5);\n+fail4:\n+\tEFSYS_PROBE(fail4);\n+fail3:\n+\tEFSYS_PROBE(fail3);\n+fail2:\n+\tEFSYS_PROBE(fail2);\n+fail1:\n+\tEFSYS_PROBE1(fail1, efx_rc_t, rc);\n+\treturn (rc);\n+}\n+\n+\t__checkReturn\t\tsize_t\n+efx_table_supported_num_get(\n+\t__in\t\t\tvoid)\n+{\n+\treturn (EFX_ARRAY_SIZE(efx_supported_table_ids));\n+}\n+\n+\t__checkReturn\t\tboolean_t\n+efx_table_is_supported(\n+\t__in\t\t\tefx_table_id_t table_id)\n+{\n+\tsize_t i;\n+\n+\tfor (i = 0; i < efx_table_supported_num_get(); i++) {\n+\t\tif (efx_supported_table_ids[i] == table_id)\n+\t\t\treturn (B_TRUE);\n+\t}\n+\n+\treturn (B_FALSE);\n+}\n+\n+static\t__checkReturn\t\t\tefx_rc_t\n+efx_table_ct_desc_fields_check(\n+\t__in_ecount(n_fields_descs)\tefx_table_field_descriptor_t *fields_descsp,\n+\t__in\t\t\t\tunsigned int n_fields_descs)\n+{\n+\tunsigned int i;\n+\tefx_rc_t rc;\n+\n+\tfor (i = 0; i < n_fields_descs; i++) {\n+\t\tswitch (fields_descsp[i].field_id) {\n+\t\tcase EFX_TABLE_FIELD_ID_ETHER_TYPE:\n+\t\tcase EFX_TABLE_FIELD_ID_SRC_IP:\n+\t\tcase EFX_TABLE_FIELD_ID_DST_IP:\n+\t\tcase EFX_TABLE_FIELD_ID_IP_PROTO:\n+\t\tcase EFX_TABLE_FIELD_ID_SRC_PORT:\n+\t\tcase EFX_TABLE_FIELD_ID_DST_PORT:\n+\t\t\tif (fields_descsp[i].mask_type != EFX_TABLE_FIELD_MASK_EXACT) {\n+\t\t\t\trc = EINVAL;\n+\t\t\t\tgoto fail1;\n+\t\t\t}\n+\t\t\tbreak;\n+\t\t/*\n+\t\t * TODO:\n+\t\t * All fields in the CT table have EXACT mask.\n+\t\t * All the response field descriptors must have the EXACT mask.\n+\t\t * In the current implementation, only the Ethertype, source and\n+\t\t * destination IP address, IP protocol, and source and destination IP\n+\t\t * are used for the lookup by the key.\n+\t\t * FW could use the NEVER mask for the fields in the key that are not\n+\t\t * used for the lookup.\n+\t\t * As an alternative, a new mask could be added for these fields,\n+\t\t * like EXACT_NOT_USED.\n+\t\t */\n+\t\tdefault:\n+\t\t\tif ((fields_descsp[i].mask_type != EFX_TABLE_FIELD_MASK_NEVER) &&\n+\t\t\t    (fields_descsp[i].mask_type != EFX_TABLE_FIELD_MASK_EXACT)) {\n+\t\t\t\trc = EINVAL;\n+\t\t\t\tgoto fail2;\n+\t\t\t}\n+\t\t\tbreak;\n+\t\t}\n+\t}\n+\n+\treturn (0);\n+\n+fail2:\n+\tEFSYS_PROBE(fail2);\n+fail1:\n+\tEFSYS_PROBE1(fail1, efx_rc_t, rc);\n+\treturn (rc);\n+}\n+\n+static\t__checkReturn\t\t\tefx_rc_t\n+efx_table_desc_fields_check(\n+\t__in\t\t\t\tefx_table_id_t table_id,\n+\t__in_ecount(n_fields_descs)\tefx_table_field_descriptor_t *fields_descsp,\n+\t__in\t\t\t\tunsigned int n_fields_descs)\n+{\n+\tefx_rc_t rc;\n+\n+\tswitch (table_id) {\n+\tcase EFX_TABLE_ID_CONNTRACK:\n+\t\trc = efx_table_ct_desc_fields_check(fields_descsp, n_fields_descs);\n+\t\tif (rc != 0)\n+\t\t\tgoto fail1;\n+\t\tbreak;\n+\tdefault:\n+\t\tbreak;\n+\t}\n+\n+\treturn (0);\n+\n+fail1:\n+\tEFSYS_PROBE1(fail1, efx_rc_t, rc);\n+\treturn (rc);\n+}\n+\n+static\t\t\t\t\tvoid\n+efx_table_desc_fields_get(\n+\t__in\t\t\t\tconst efx_mcdi_req_t *req,\n+\t__out_ecount(n_fields_descs)\tefx_table_field_descriptor_t *fields_descsp,\n+\t__in\t\t\t\tunsigned int n_fields_descs)\n+{\n+\tunsigned int i;\n+\n+\tfor (i = 0; i < n_fields_descs; i++) {\n+\t\tfields_descsp[i].field_id = (efx_table_field_id_t)\n+\t\t    MCDI_OUT_INDEXED_QWORD_FIELD(*req,\n+\t\t\tTABLE_DESCRIPTOR_OUT_FIELDS, i, TABLE_FIELD_DESCR_FIELD_ID);\n+\n+\t\tfields_descsp[i].lbn =\n+\t\t    MCDI_OUT_INDEXED_QWORD_FIELD(*req,\n+\t\t\tTABLE_DESCRIPTOR_OUT_FIELDS, i, TABLE_FIELD_DESCR_LBN);\n+\n+\t\tfields_descsp[i].width =\n+\t\t    MCDI_OUT_INDEXED_QWORD_FIELD(*req,\n+\t\t\tTABLE_DESCRIPTOR_OUT_FIELDS, i, TABLE_FIELD_DESCR_WIDTH);\n+\n+\t\tfields_descsp[i].mask_type = (efx_table_field_mask_type_t)\n+\t\t    MCDI_OUT_INDEXED_QWORD_FIELD(*req,\n+\t\t\tTABLE_DESCRIPTOR_OUT_FIELDS, i, TABLE_FIELD_DESCR_MASK_TYPE);\n+\n+\t\tfields_descsp[i].scheme =\n+\t\t    MCDI_OUT_INDEXED_QWORD_FIELD(*req,\n+\t\t\tTABLE_DESCRIPTOR_OUT_FIELDS, i, TABLE_FIELD_DESCR_SCHEME);\n+\t}\n+}\n+\n+\t__checkReturn\t\t\t\tefx_rc_t\n+efx_table_describe(\n+\t__in\t\t\t\t\tefx_nic_t *enp,\n+\t__in\t\t\t\t\tefx_table_id_t table_id,\n+\t__in\t\t\t\t\tuint32_t field_offset,\n+\t__out_opt\t\t\t\tefx_table_descriptor_t *table_descp,\n+\t__out_ecount_opt(n_field_descs)\t\tefx_table_field_descriptor_t *fields_descs,\n+\t__in\t\t\t\t\tunsigned int n_field_descs,\n+\t__out_opt\t\t\t\tunsigned int *n_field_descs_writtenp)\n+{\n+\tconst efx_nic_cfg_t *encp = efx_nic_cfg_get(enp);\n+\tunsigned int n_entries;\n+\tefx_mcdi_req_t req;\n+\tunsigned int i;\n+\tefx_rc_t rc;\n+\tEFX_MCDI_DECLARE_BUF(payload,\n+\t    MC_CMD_TABLE_DESCRIPTOR_IN_LEN,\n+\t    MC_CMD_TABLE_DESCRIPTOR_OUT_LENMAX_MCDI2);\n+\n+\t/* Ensure EFX and MCDI use same values for table types */\n+\tEFX_STATIC_ASSERT(EFX_TABLE_TYPE_BCAM == MC_CMD_TABLE_DESCRIPTOR_OUT_TYPE_BCAM);\n+\n+\t/* Ensure EFX and MCDI use same values for table fields */\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_UNUSED == TABLE_FIELD_ID_UNUSED);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_COUNTER_ID == TABLE_FIELD_ID_COUNTER_ID);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_ETHER_TYPE == TABLE_FIELD_ID_ETHER_TYPE);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_SRC_IP == TABLE_FIELD_ID_SRC_IP);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_DST_IP == TABLE_FIELD_ID_DST_IP);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_IP_PROTO == TABLE_FIELD_ID_IP_PROTO);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_SRC_PORT == TABLE_FIELD_ID_SRC_PORT);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_DST_PORT == TABLE_FIELD_ID_DST_PORT);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_NAT_PORT == TABLE_FIELD_ID_NAT_PORT);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_NAT_IP == TABLE_FIELD_ID_NAT_IP);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_NAT_DIR == TABLE_FIELD_ID_NAT_DIR);\n+\tEFX_STATIC_ASSERT(EFX_TABLE_FIELD_ID_CT_MARK == TABLE_FIELD_ID_CT_MARK);\n+\n+\tif (encp->enc_table_api_supported == B_FALSE) {\n+\t\trc = ENOTSUP;\n+\t\tgoto fail1;\n+\t}\n+\n+\tif (!efx_table_is_supported(table_id)) {\n+\t\trc = ENOTSUP;\n+\t\tgoto fail2;\n+\t}\n+\n+\tif ((n_field_descs != 0) &&\n+\t    ((fields_descs == NULL) || (n_field_descs_writtenp == NULL))) {\n+\t\trc = EINVAL;\n+\t\tgoto fail3;\n+\t}\n+\n+\treq.emr_cmd = MC_CMD_TABLE_DESCRIPTOR;\n+\treq.emr_in_buf = payload;\n+\treq.emr_in_length = MC_CMD_TABLE_DESCRIPTOR_IN_LEN;\n+\treq.emr_out_buf = payload;\n+\treq.emr_out_length = MC_CMD_TABLE_DESCRIPTOR_OUT_LENMAX_MCDI2;\n+\n+\tMCDI_IN_SET_DWORD(req, TABLE_DESCRIPTOR_IN_TABLE_ID, (uint32_t)table_id);\n+\tMCDI_IN_SET_DWORD(req, TABLE_DESCRIPTOR_IN_FIRST_FIELDS_INDEX, field_offset);\n+\n+\tefx_mcdi_execute(enp, &req);\n+\n+\tif (req.emr_rc != 0) {\n+\t\trc = req.emr_rc;\n+\t\tgoto fail4;\n+\t}\n+\n+\tif (req.emr_out_length_used < MC_CMD_TABLE_DESCRIPTOR_OUT_LENMIN) {\n+\t\trc = EMSGSIZE;\n+\t\tgoto fail5;\n+\t}\n+\n+\tif (table_descp != NULL) {\n+\t\ttable_descp->type = (efx_table_type_t)MCDI_OUT_WORD(\n+\t\t    req, TABLE_DESCRIPTOR_OUT_TYPE);\n+\t\ttable_descp->key_width = MCDI_OUT_WORD(\n+\t\t    req, TABLE_DESCRIPTOR_OUT_KEY_WIDTH);\n+\t\ttable_descp->resp_width = MCDI_OUT_WORD(\n+\t\t    req, TABLE_DESCRIPTOR_OUT_RESP_WIDTH);\n+\t\ttable_descp->n_key_fields = MCDI_OUT_WORD(\n+\t\t    req, TABLE_DESCRIPTOR_OUT_N_KEY_FIELDS);\n+\t\ttable_descp->n_resp_fields = MCDI_OUT_WORD(\n+\t\t    req, TABLE_DESCRIPTOR_OUT_N_RESP_FIELDS);\n+\t}\n+\n+\tn_entries = MC_CMD_TABLE_DESCRIPTOR_OUT_FIELDS_NUM(req.emr_out_length_used);\n+\n+\tif (fields_descs != NULL) {\n+\t\tif (n_entries > n_field_descs) {\n+\t\t\trc = ENOMEM;\n+\t\t\tgoto fail6;\n+\t\t}\n+\n+\t\tefx_table_desc_fields_get(&req, fields_descs, n_entries);\n+\t\trc = efx_table_desc_fields_check(table_id, fields_descs, n_entries);\n+\t\tif (rc != 0)\n+\t\t\tgoto fail7;\n+\t}\n+\n+\tif (n_field_descs_writtenp != NULL)\n+\t\t*n_field_descs_writtenp = n_entries;\n+\n+\treturn (0);\n+\n+fail7:\n+\tEFSYS_PROBE(fail7);\n+fail6:\n+\tEFSYS_PROBE(fail6);\n fail5:\n \tEFSYS_PROBE(fail5);\n fail4:\ndiff --git a/drivers/common/sfc_efx/version.map b/drivers/common/sfc_efx/version.map\nindex 5717cc0ed2..a87cb1bba5 100644\n--- a/drivers/common/sfc_efx/version.map\n+++ b/drivers/common/sfc_efx/version.map\n@@ -232,7 +232,10 @@ INTERNAL {\n \tefx_sram_buf_tbl_clear;\n \tefx_sram_buf_tbl_set;\n \n+\tefx_table_describe;\n+\tefx_table_is_supported;\n \tefx_table_list;\n+\tefx_table_supported_num_get;\n \n \tefx_tunnel_config_clear;\n \tefx_tunnel_config_udp_add;\n",
    "prefixes": [
        "v4",
        "05/34"
    ]
}