get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 123034,
    "url": "http://patches.dpdk.org/api/patches/123034/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230203094340.8103-20-beilei.xing@intel.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": "<20230203094340.8103-20-beilei.xing@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230203094340.8103-20-beilei.xing@intel.com",
    "date": "2023-02-03T09:43:40",
    "name": "[v6,19/19] common/idpf: refine API name for virtual channel functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ac4e0d1772b9d96bd5f93b15c022edeb7bf439a1",
    "submitter": {
        "id": 410,
        "url": "http://patches.dpdk.org/api/people/410/?format=api",
        "name": "Xing, Beilei",
        "email": "beilei.xing@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230203094340.8103-20-beilei.xing@intel.com/mbox/",
    "series": [
        {
            "id": 26786,
            "url": "http://patches.dpdk.org/api/series/26786/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=26786",
            "date": "2023-02-03T09:43:21",
            "name": "net/idpf: introduce idpf common modle",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/26786/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/123034/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/123034/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 B15B841BBB;\n\tFri,  3 Feb 2023 11:12:23 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 718D842FBE;\n\tFri,  3 Feb 2023 11:10:50 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id D352042DB7\n for <dev@dpdk.org>; Fri,  3 Feb 2023 11:10:44 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Feb 2023 02:10:43 -0800",
            "from dpdk-beileix-3.sh.intel.com ([10.67.110.253])\n by orsmga007.jf.intel.com with ESMTP; 03 Feb 2023 02:10:41 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1675419045; x=1706955045;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=3OVP5o10EoqfTLyTZxidYjZtDWfJjgSrroCmPO4vRZU=;\n b=e1nVL854vWPfkEwTU7qjSUoiWKZefQxxmCtZRqFaMEaOimHC1wZbpYuA\n 7HpAu4KSLYe/RkZAJwjER+zc8aXRu9691UjF90/IAlTPAPgjBnSJWYdAi\n RwIne5QejxokOc3ctQyjBK1iuH89y02PWdn6xeNaQYlVwBsxSMvkUZrWF\n RKxG0t6CkMbb0txe7rPEN1KtvVjNIM75klNOXFHieh2VGqwXUt+xD0d+C\n s0vmA8kY2oOmyvhR5fL/Xu2jMTMvO/8V7NJZsCTIxQUL8YevF1G4djZYF\n Gmrr4GGtZlrSsA1ODDxwRJRh9p2XV322kA5W0zoU4+TW4ZAk5fmAQF1Gk g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10609\"; a=\"356052867\"",
            "E=Sophos;i=\"5.97,270,1669104000\"; d=\"scan'208\";a=\"356052867\"",
            "E=McAfee;i=\"6500,9779,10609\"; a=\"659047932\"",
            "E=Sophos;i=\"5.97,270,1669104000\"; d=\"scan'208\";a=\"659047932\""
        ],
        "X-ExtLoop1": "1",
        "From": "beilei.xing@intel.com",
        "To": "jingjing.wu@intel.com",
        "Cc": "dev@dpdk.org,\n\tqi.z.zhang@intel.com,\n\tBeilei Xing <beilei.xing@intel.com>",
        "Subject": "[PATCH v6 19/19] common/idpf: refine API name for virtual channel\n functions",
        "Date": "Fri,  3 Feb 2023 09:43:40 +0000",
        "Message-Id": "<20230203094340.8103-20-beilei.xing@intel.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20230203094340.8103-1-beilei.xing@intel.com>",
        "References": "<20230202095357.37929-1-beilei.xing@intel.com>\n <20230203094340.8103-1-beilei.xing@intel.com>",
        "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: Beilei Xing <beilei.xing@intel.com>\n\nThis patch refines API name for all virtual channel functions.\n\nSigned-off-by: Beilei Xing <beilei.xing@intel.com>\n---\n drivers/common/idpf/idpf_common_device.c   | 24 ++++----\n drivers/common/idpf/idpf_common_virtchnl.c | 70 +++++++++++-----------\n drivers/common/idpf/idpf_common_virtchnl.h | 36 +++++------\n drivers/common/idpf/version.map            | 38 ++++++------\n drivers/net/idpf/idpf_ethdev.c             | 10 ++--\n drivers/net/idpf/idpf_rxtx.c               | 12 ++--\n 6 files changed, 95 insertions(+), 95 deletions(-)",
    "diff": "diff --git a/drivers/common/idpf/idpf_common_device.c b/drivers/common/idpf/idpf_common_device.c\nindex f17b7736ae..6c5f10a8ce 100644\n--- a/drivers/common/idpf/idpf_common_device.c\n+++ b/drivers/common/idpf/idpf_common_device.c\n@@ -104,7 +104,7 @@ idpf_get_pkt_type(struct idpf_adapter *adapter)\n \tuint16_t ptype_recvd = 0;\n \tint ret;\n \n-\tret = idpf_vc_query_ptype_info(adapter);\n+\tret = idpf_vc_ptype_info_query(adapter);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"Fail to query packet type information\");\n \t\treturn ret;\n@@ -115,7 +115,7 @@ idpf_get_pkt_type(struct idpf_adapter *adapter)\n \t\t\treturn -ENOMEM;\n \n \twhile (ptype_recvd < IDPF_MAX_PKT_TYPE) {\n-\t\tret = idpf_vc_read_one_msg(adapter, VIRTCHNL2_OP_GET_PTYPE_INFO,\n+\t\tret = idpf_vc_one_msg_read(adapter, VIRTCHNL2_OP_GET_PTYPE_INFO,\n \t\t\t\t\t   IDPF_DFLT_MBX_BUF_SIZE, (uint8_t *)ptype_info);\n \t\tif (ret != 0) {\n \t\t\tDRV_LOG(ERR, \"Fail to get packet type information\");\n@@ -333,13 +333,13 @@ idpf_adapter_init(struct idpf_adapter *adapter)\n \t\tgoto err_mbx_resp;\n \t}\n \n-\tret = idpf_vc_check_api_version(adapter);\n+\tret = idpf_vc_api_version_check(adapter);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"Failed to check api version\");\n \t\tgoto err_check_api;\n \t}\n \n-\tret = idpf_vc_get_caps(adapter);\n+\tret = idpf_vc_caps_get(adapter);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"Failed to get capabilities\");\n \t\tgoto err_check_api;\n@@ -382,7 +382,7 @@ idpf_vport_init(struct idpf_vport *vport,\n \tstruct virtchnl2_create_vport *vport_info;\n \tint i, type, ret;\n \n-\tret = idpf_vc_create_vport(vport, create_vport_info);\n+\tret = idpf_vc_vport_create(vport, create_vport_info);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"Failed to create vport.\");\n \t\tgoto err_create_vport;\n@@ -483,7 +483,7 @@ idpf_vport_init(struct idpf_vport *vport,\n \trte_free(vport->rss_key);\n \tvport->rss_key = NULL;\n err_rss_key:\n-\tidpf_vc_destroy_vport(vport);\n+\tidpf_vc_vport_destroy(vport);\n err_create_vport:\n \treturn ret;\n }\n@@ -500,7 +500,7 @@ idpf_vport_deinit(struct idpf_vport *vport)\n \n \tvport->dev_data = NULL;\n \n-\tidpf_vc_destroy_vport(vport);\n+\tidpf_vc_vport_destroy(vport);\n \n \treturn 0;\n }\n@@ -509,19 +509,19 @@ idpf_vport_rss_config(struct idpf_vport *vport)\n {\n \tint ret;\n \n-\tret = idpf_vc_set_rss_key(vport);\n+\tret = idpf_vc_rss_key_set(vport);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"Failed to configure RSS key\");\n \t\treturn ret;\n \t}\n \n-\tret = idpf_vc_set_rss_lut(vport);\n+\tret = idpf_vc_rss_lut_set(vport);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"Failed to configure RSS lut\");\n \t\treturn ret;\n \t}\n \n-\tret = idpf_vc_set_rss_hash(vport);\n+\tret = idpf_vc_rss_hash_set(vport);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"Failed to configure RSS hash\");\n \t\treturn ret;\n@@ -589,7 +589,7 @@ idpf_vport_irq_map_config(struct idpf_vport *vport, uint16_t nb_rx_queues)\n \t}\n \tvport->qv_map = qv_map;\n \n-\tret = idpf_vc_config_irq_map_unmap(vport, nb_rx_queues, true);\n+\tret = idpf_vc_irq_map_unmap_config(vport, nb_rx_queues, true);\n \tif (ret != 0) {\n \t\tDRV_LOG(ERR, \"config interrupt mapping failed\");\n \t\tgoto config_irq_map_err;\n@@ -608,7 +608,7 @@ idpf_vport_irq_map_config(struct idpf_vport *vport, uint16_t nb_rx_queues)\n int\n idpf_vport_irq_unmap_config(struct idpf_vport *vport, uint16_t nb_rx_queues)\n {\n-\tidpf_vc_config_irq_map_unmap(vport, nb_rx_queues, false);\n+\tidpf_vc_irq_map_unmap_config(vport, nb_rx_queues, false);\n \n \trte_free(vport->qv_map);\n \tvport->qv_map = NULL;\ndiff --git a/drivers/common/idpf/idpf_common_virtchnl.c b/drivers/common/idpf/idpf_common_virtchnl.c\nindex 299caa19f1..50e2ade89e 100644\n--- a/drivers/common/idpf/idpf_common_virtchnl.c\n+++ b/drivers/common/idpf/idpf_common_virtchnl.c\n@@ -159,7 +159,7 @@ idpf_read_msg_from_cp(struct idpf_adapter *adapter, uint16_t buf_len,\n #define ASQ_DELAY_MS  10\n \n int\n-idpf_vc_read_one_msg(struct idpf_adapter *adapter, uint32_t ops, uint16_t buf_len,\n+idpf_vc_one_msg_read(struct idpf_adapter *adapter, uint32_t ops, uint16_t buf_len,\n \t\t     uint8_t *buf)\n {\n \tint err = 0;\n@@ -183,7 +183,7 @@ idpf_vc_read_one_msg(struct idpf_adapter *adapter, uint32_t ops, uint16_t buf_le\n }\n \n int\n-idpf_execute_vc_cmd(struct idpf_adapter *adapter, struct idpf_cmd_info *args)\n+idpf_vc_cmd_execute(struct idpf_adapter *adapter, struct idpf_cmd_info *args)\n {\n \tint err = 0;\n \tint i = 0;\n@@ -218,7 +218,7 @@ idpf_execute_vc_cmd(struct idpf_adapter *adapter, struct idpf_cmd_info *args)\n \tcase VIRTCHNL2_OP_ALLOC_VECTORS:\n \tcase VIRTCHNL2_OP_DEALLOC_VECTORS:\n \t\t/* for init virtchnl ops, need to poll the response */\n-\t\terr = idpf_vc_read_one_msg(adapter, args->ops, args->out_size, args->out_buffer);\n+\t\terr = idpf_vc_one_msg_read(adapter, args->ops, args->out_size, args->out_buffer);\n \t\tclear_cmd(adapter);\n \t\tbreak;\n \tcase VIRTCHNL2_OP_GET_PTYPE_INFO:\n@@ -251,7 +251,7 @@ idpf_execute_vc_cmd(struct idpf_adapter *adapter, struct idpf_cmd_info *args)\n }\n \n int\n-idpf_vc_check_api_version(struct idpf_adapter *adapter)\n+idpf_vc_api_version_check(struct idpf_adapter *adapter)\n {\n \tstruct virtchnl2_version_info version, *pver;\n \tstruct idpf_cmd_info args;\n@@ -267,7 +267,7 @@ idpf_vc_check_api_version(struct idpf_adapter *adapter)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0) {\n \t\tDRV_LOG(ERR,\n \t\t\t\"Failed to execute command of VIRTCHNL_OP_VERSION\");\n@@ -291,7 +291,7 @@ idpf_vc_check_api_version(struct idpf_adapter *adapter)\n }\n \n int\n-idpf_vc_get_caps(struct idpf_adapter *adapter)\n+idpf_vc_caps_get(struct idpf_adapter *adapter)\n {\n \tstruct virtchnl2_get_capabilities caps_msg;\n \tstruct idpf_cmd_info args;\n@@ -341,7 +341,7 @@ idpf_vc_get_caps(struct idpf_adapter *adapter)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0) {\n \t\tDRV_LOG(ERR,\n \t\t\t\"Failed to execute command of VIRTCHNL2_OP_GET_CAPS\");\n@@ -354,7 +354,7 @@ idpf_vc_get_caps(struct idpf_adapter *adapter)\n }\n \n int\n-idpf_vc_create_vport(struct idpf_vport *vport,\n+idpf_vc_vport_create(struct idpf_vport *vport,\n \t\t     struct virtchnl2_create_vport *create_vport_info)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n@@ -378,7 +378,7 @@ idpf_vc_create_vport(struct idpf_vport *vport,\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0) {\n \t\tDRV_LOG(ERR,\n \t\t\t\"Failed to execute command of VIRTCHNL2_OP_CREATE_VPORT\");\n@@ -390,7 +390,7 @@ idpf_vc_create_vport(struct idpf_vport *vport,\n }\n \n int\n-idpf_vc_destroy_vport(struct idpf_vport *vport)\n+idpf_vc_vport_destroy(struct idpf_vport *vport)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_vport vc_vport;\n@@ -406,7 +406,7 @@ idpf_vc_destroy_vport(struct idpf_vport *vport)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_DESTROY_VPORT\");\n \n@@ -414,7 +414,7 @@ idpf_vc_destroy_vport(struct idpf_vport *vport)\n }\n \n int\n-idpf_vc_set_rss_key(struct idpf_vport *vport)\n+idpf_vc_rss_key_set(struct idpf_vport *vport)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_rss_key *rss_key;\n@@ -439,7 +439,7 @@ idpf_vc_set_rss_key(struct idpf_vport *vport)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_SET_RSS_KEY\");\n \n@@ -448,7 +448,7 @@ idpf_vc_set_rss_key(struct idpf_vport *vport)\n }\n \n int\n-idpf_vc_set_rss_lut(struct idpf_vport *vport)\n+idpf_vc_rss_lut_set(struct idpf_vport *vport)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_rss_lut *rss_lut;\n@@ -473,7 +473,7 @@ idpf_vc_set_rss_lut(struct idpf_vport *vport)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_SET_RSS_LUT\");\n \n@@ -482,7 +482,7 @@ idpf_vc_set_rss_lut(struct idpf_vport *vport)\n }\n \n int\n-idpf_vc_set_rss_hash(struct idpf_vport *vport)\n+idpf_vc_rss_hash_set(struct idpf_vport *vport)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_rss_hash rss_hash;\n@@ -500,7 +500,7 @@ idpf_vc_set_rss_hash(struct idpf_vport *vport)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of OP_SET_RSS_HASH\");\n \n@@ -508,7 +508,7 @@ idpf_vc_set_rss_hash(struct idpf_vport *vport)\n }\n \n int\n-idpf_vc_config_irq_map_unmap(struct idpf_vport *vport, uint16_t nb_rxq, bool map)\n+idpf_vc_irq_map_unmap_config(struct idpf_vport *vport, uint16_t nb_rxq, bool map)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_queue_vector_maps *map_info;\n@@ -539,7 +539,7 @@ idpf_vc_config_irq_map_unmap(struct idpf_vport *vport, uint16_t nb_rxq, bool map\n \targs.in_args_size = len;\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_%s_QUEUE_VECTOR\",\n \t\t\tmap ? \"MAP\" : \"UNMAP\");\n@@ -549,7 +549,7 @@ idpf_vc_config_irq_map_unmap(struct idpf_vport *vport, uint16_t nb_rxq, bool map\n }\n \n int\n-idpf_vc_alloc_vectors(struct idpf_vport *vport, uint16_t num_vectors)\n+idpf_vc_vectors_alloc(struct idpf_vport *vport, uint16_t num_vectors)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_alloc_vectors *alloc_vec;\n@@ -569,7 +569,7 @@ idpf_vc_alloc_vectors(struct idpf_vport *vport, uint16_t num_vectors)\n \targs.in_args_size = len;\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command VIRTCHNL2_OP_ALLOC_VECTORS\");\n \n@@ -579,7 +579,7 @@ idpf_vc_alloc_vectors(struct idpf_vport *vport, uint16_t num_vectors)\n }\n \n int\n-idpf_vc_dealloc_vectors(struct idpf_vport *vport)\n+idpf_vc_vectors_dealloc(struct idpf_vport *vport)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_alloc_vectors *alloc_vec;\n@@ -598,7 +598,7 @@ idpf_vc_dealloc_vectors(struct idpf_vport *vport)\n \targs.in_args_size = len;\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command VIRTCHNL2_OP_DEALLOC_VECTORS\");\n \n@@ -634,7 +634,7 @@ idpf_vc_ena_dis_one_queue(struct idpf_vport *vport, uint16_t qid,\n \targs.in_args_size = len;\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_%s_QUEUES\",\n \t\t\ton ? \"ENABLE\" : \"DISABLE\");\n@@ -644,7 +644,7 @@ idpf_vc_ena_dis_one_queue(struct idpf_vport *vport, uint16_t qid,\n }\n \n int\n-idpf_vc_switch_queue(struct idpf_vport *vport, uint16_t qid,\n+idpf_vc_queue_switch(struct idpf_vport *vport, uint16_t qid,\n \t\t     bool rx, bool on)\n {\n \tuint32_t type;\n@@ -688,7 +688,7 @@ idpf_vc_switch_queue(struct idpf_vport *vport, uint16_t qid,\n \n #define IDPF_RXTX_QUEUE_CHUNKS_NUM\t2\n int\n-idpf_vc_ena_dis_queues(struct idpf_vport *vport, bool enable)\n+idpf_vc_queues_ena_dis(struct idpf_vport *vport, bool enable)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_del_ena_dis_queues *queue_select;\n@@ -746,7 +746,7 @@ idpf_vc_ena_dis_queues(struct idpf_vport *vport, bool enable)\n \targs.in_args_size = len;\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_%s_QUEUES\",\n \t\t\tenable ? \"ENABLE\" : \"DISABLE\");\n@@ -756,7 +756,7 @@ idpf_vc_ena_dis_queues(struct idpf_vport *vport, bool enable)\n }\n \n int\n-idpf_vc_ena_dis_vport(struct idpf_vport *vport, bool enable)\n+idpf_vc_vport_ena_dis(struct idpf_vport *vport, bool enable)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_vport vc_vport;\n@@ -771,7 +771,7 @@ idpf_vc_ena_dis_vport(struct idpf_vport *vport, bool enable)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0) {\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_%s_VPORT\",\n \t\t\tenable ? \"ENABLE\" : \"DISABLE\");\n@@ -781,7 +781,7 @@ idpf_vc_ena_dis_vport(struct idpf_vport *vport, bool enable)\n }\n \n int\n-idpf_vc_query_ptype_info(struct idpf_adapter *adapter)\n+idpf_vc_ptype_info_query(struct idpf_adapter *adapter)\n {\n \tstruct virtchnl2_get_ptype_info *ptype_info;\n \tstruct idpf_cmd_info args;\n@@ -798,7 +798,7 @@ idpf_vc_query_ptype_info(struct idpf_adapter *adapter)\n \targs.in_args = (uint8_t *)ptype_info;\n \targs.in_args_size = len;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_GET_PTYPE_INFO\");\n \n@@ -808,7 +808,7 @@ idpf_vc_query_ptype_info(struct idpf_adapter *adapter)\n \n #define IDPF_RX_BUF_STRIDE\t\t64\n int\n-idpf_vc_config_rxq(struct idpf_vport *vport, struct idpf_rx_queue *rxq)\n+idpf_vc_rxq_config(struct idpf_vport *vport, struct idpf_rx_queue *rxq)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_config_rx_queues *vc_rxqs = NULL;\n@@ -887,7 +887,7 @@ idpf_vc_config_rxq(struct idpf_vport *vport, struct idpf_rx_queue *rxq)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \trte_free(vc_rxqs);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_CONFIG_RX_QUEUES\");\n@@ -896,7 +896,7 @@ idpf_vc_config_rxq(struct idpf_vport *vport, struct idpf_rx_queue *rxq)\n }\n \n int\n-idpf_vc_config_txq(struct idpf_vport *vport, struct idpf_tx_queue *txq)\n+idpf_vc_txq_config(struct idpf_vport *vport, struct idpf_tx_queue *txq)\n {\n \tstruct idpf_adapter *adapter = vport->adapter;\n \tstruct virtchnl2_config_tx_queues *vc_txqs = NULL;\n@@ -958,7 +958,7 @@ idpf_vc_config_txq(struct idpf_vport *vport, struct idpf_tx_queue *txq)\n \targs.out_buffer = adapter->mbx_resp;\n \targs.out_size = IDPF_DFLT_MBX_BUF_SIZE;\n \n-\terr = idpf_execute_vc_cmd(adapter, &args);\n+\terr = idpf_vc_cmd_execute(adapter, &args);\n \trte_free(vc_txqs);\n \tif (err != 0)\n \t\tDRV_LOG(ERR, \"Failed to execute command of VIRTCHNL2_OP_CONFIG_TX_QUEUES\");\ndiff --git a/drivers/common/idpf/idpf_common_virtchnl.h b/drivers/common/idpf/idpf_common_virtchnl.h\nindex 07755d4923..dcd855c08c 100644\n--- a/drivers/common/idpf/idpf_common_virtchnl.h\n+++ b/drivers/common/idpf/idpf_common_virtchnl.h\n@@ -9,44 +9,44 @@\n #include <idpf_common_rxtx.h>\n \n __rte_internal\n-int idpf_vc_check_api_version(struct idpf_adapter *adapter);\n+int idpf_vc_api_version_check(struct idpf_adapter *adapter);\n __rte_internal\n-int idpf_vc_get_caps(struct idpf_adapter *adapter);\n+int idpf_vc_caps_get(struct idpf_adapter *adapter);\n __rte_internal\n-int idpf_vc_create_vport(struct idpf_vport *vport,\n+int idpf_vc_vport_create(struct idpf_vport *vport,\n \t\t\t struct virtchnl2_create_vport *vport_info);\n __rte_internal\n-int idpf_vc_destroy_vport(struct idpf_vport *vport);\n+int idpf_vc_vport_destroy(struct idpf_vport *vport);\n __rte_internal\n-int idpf_vc_set_rss_key(struct idpf_vport *vport);\n+int idpf_vc_rss_key_set(struct idpf_vport *vport);\n __rte_internal\n-int idpf_vc_set_rss_lut(struct idpf_vport *vport);\n+int idpf_vc_rss_lut_set(struct idpf_vport *vport);\n __rte_internal\n-int idpf_vc_set_rss_hash(struct idpf_vport *vport);\n+int idpf_vc_rss_hash_set(struct idpf_vport *vport);\n __rte_internal\n-int idpf_vc_config_irq_map_unmap(struct idpf_vport *vport,\n+int idpf_vc_irq_map_unmap_config(struct idpf_vport *vport,\n \t\t\t\t uint16_t nb_rxq, bool map);\n __rte_internal\n-int idpf_execute_vc_cmd(struct idpf_adapter *adapter,\n+int idpf_vc_cmd_execute(struct idpf_adapter *adapter,\n \t\t\tstruct idpf_cmd_info *args);\n __rte_internal\n-int idpf_vc_switch_queue(struct idpf_vport *vport, uint16_t qid,\n+int idpf_vc_queue_switch(struct idpf_vport *vport, uint16_t qid,\n \t\t\t bool rx, bool on);\n __rte_internal\n-int idpf_vc_ena_dis_queues(struct idpf_vport *vport, bool enable);\n+int idpf_vc_queues_ena_dis(struct idpf_vport *vport, bool enable);\n __rte_internal\n-int idpf_vc_ena_dis_vport(struct idpf_vport *vport, bool enable);\n+int idpf_vc_vport_ena_dis(struct idpf_vport *vport, bool enable);\n __rte_internal\n-int idpf_vc_alloc_vectors(struct idpf_vport *vport, uint16_t num_vectors);\n+int idpf_vc_vectors_alloc(struct idpf_vport *vport, uint16_t num_vectors);\n __rte_internal\n-int idpf_vc_dealloc_vectors(struct idpf_vport *vport);\n+int idpf_vc_vectors_dealloc(struct idpf_vport *vport);\n __rte_internal\n-int idpf_vc_query_ptype_info(struct idpf_adapter *adapter);\n+int idpf_vc_ptype_info_query(struct idpf_adapter *adapter);\n __rte_internal\n-int idpf_vc_read_one_msg(struct idpf_adapter *adapter, uint32_t ops,\n+int idpf_vc_one_msg_read(struct idpf_adapter *adapter, uint32_t ops,\n \t\t\t uint16_t buf_len, uint8_t *buf);\n __rte_internal\n-int idpf_vc_config_rxq(struct idpf_vport *vport, struct idpf_rx_queue *rxq);\n+int idpf_vc_rxq_config(struct idpf_vport *vport, struct idpf_rx_queue *rxq);\n __rte_internal\n-int idpf_vc_config_txq(struct idpf_vport *vport, struct idpf_tx_queue *txq);\n+int idpf_vc_txq_config(struct idpf_vport *vport, struct idpf_tx_queue *txq);\n #endif /* _IDPF_COMMON_VIRTCHNL_H_ */\ndiff --git a/drivers/common/idpf/version.map b/drivers/common/idpf/version.map\nindex e37a40771b..1c35761611 100644\n--- a/drivers/common/idpf/version.map\n+++ b/drivers/common/idpf/version.map\n@@ -31,6 +31,25 @@ INTERNAL {\n \tidpf_qc_tx_thresh_check;\n \tidpf_qc_txq_mbufs_release;\n \n+\tidpf_vc_api_version_check;\n+\tidpf_vc_caps_get;\n+\tidpf_vc_cmd_execute;\n+\tidpf_vc_irq_map_unmap_config;\n+\tidpf_vc_one_msg_read;\n+\tidpf_vc_ptype_info_query;\n+\tidpf_vc_queue_switch;\n+\tidpf_vc_queues_ena_dis;\n+\tidpf_vc_rss_hash_set;\n+\tidpf_vc_rss_key_set;\n+\tidpf_vc_rss_lut_set;\n+\tidpf_vc_rxq_config;\n+\tidpf_vc_txq_config;\n+\tidpf_vc_vectors_alloc;\n+\tidpf_vc_vectors_dealloc;\n+\tidpf_vc_vport_create;\n+\tidpf_vc_vport_destroy;\n+\tidpf_vc_vport_ena_dis;\n+\n \tidpf_vport_deinit;\n \tidpf_vport_info_init;\n \tidpf_vport_init;\n@@ -38,24 +57,5 @@ INTERNAL {\n \tidpf_vport_irq_unmap_config;\n \tidpf_vport_rss_config;\n \n-\tidpf_execute_vc_cmd;\n-\tidpf_vc_alloc_vectors;\n-\tidpf_vc_check_api_version;\n-\tidpf_vc_config_irq_map_unmap;\n-\tidpf_vc_config_rxq;\n-\tidpf_vc_config_txq;\n-\tidpf_vc_create_vport;\n-\tidpf_vc_dealloc_vectors;\n-\tidpf_vc_destroy_vport;\n-\tidpf_vc_ena_dis_queues;\n-\tidpf_vc_ena_dis_vport;\n-\tidpf_vc_get_caps;\n-\tidpf_vc_query_ptype_info;\n-\tidpf_vc_read_one_msg;\n-\tidpf_vc_set_rss_hash;\n-\tidpf_vc_set_rss_key;\n-\tidpf_vc_set_rss_lut;\n-\tidpf_vc_switch_queue;\n-\n \tlocal: *;\n };\ndiff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c\nindex b324c0dc83..33f5e90743 100644\n--- a/drivers/net/idpf/idpf_ethdev.c\n+++ b/drivers/net/idpf/idpf_ethdev.c\n@@ -299,7 +299,7 @@ idpf_dev_start(struct rte_eth_dev *dev)\n \t\tgoto err_vec;\n \t}\n \n-\tret = idpf_vc_alloc_vectors(vport, req_vecs_num);\n+\tret = idpf_vc_vectors_alloc(vport, req_vecs_num);\n \tif (ret != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to allocate interrupt vectors\");\n \t\tgoto err_vec;\n@@ -321,7 +321,7 @@ idpf_dev_start(struct rte_eth_dev *dev)\n \tidpf_set_rx_function(dev);\n \tidpf_set_tx_function(dev);\n \n-\tret = idpf_vc_ena_dis_vport(vport, true);\n+\tret = idpf_vc_vport_ena_dis(vport, true);\n \tif (ret != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to enable vport\");\n \t\tgoto err_vport;\n@@ -336,7 +336,7 @@ idpf_dev_start(struct rte_eth_dev *dev)\n err_startq:\n \tidpf_vport_irq_unmap_config(vport, dev->data->nb_rx_queues);\n err_irq:\n-\tidpf_vc_dealloc_vectors(vport);\n+\tidpf_vc_vectors_dealloc(vport);\n err_vec:\n \treturn ret;\n }\n@@ -349,13 +349,13 @@ idpf_dev_stop(struct rte_eth_dev *dev)\n \tif (vport->stopped == 1)\n \t\treturn 0;\n \n-\tidpf_vc_ena_dis_vport(vport, false);\n+\tidpf_vc_vport_ena_dis(vport, false);\n \n \tidpf_stop_queues(dev);\n \n \tidpf_vport_irq_unmap_config(vport, dev->data->nb_rx_queues);\n \n-\tidpf_vc_dealloc_vectors(vport);\n+\tidpf_vc_vectors_dealloc(vport);\n \n \tvport->stopped = 1;\n \ndiff --git a/drivers/net/idpf/idpf_rxtx.c b/drivers/net/idpf/idpf_rxtx.c\nindex 41e91b16b6..f41783daea 100644\n--- a/drivers/net/idpf/idpf_rxtx.c\n+++ b/drivers/net/idpf/idpf_rxtx.c\n@@ -566,7 +566,7 @@ idpf_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t\tdev->data->rx_queues[rx_queue_id];\n \tint err = 0;\n \n-\terr = idpf_vc_config_rxq(vport, rxq);\n+\terr = idpf_vc_rxq_config(vport, rxq);\n \tif (err != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Fail to configure Rx queue %u\", rx_queue_id);\n \t\treturn err;\n@@ -580,7 +580,7 @@ idpf_rx_queue_start(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t}\n \n \t/* Ready to switch the queue on */\n-\terr = idpf_vc_switch_queue(vport, rx_queue_id, true, true);\n+\terr = idpf_vc_queue_switch(vport, rx_queue_id, true, true);\n \tif (err != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u on\",\n \t\t\t    rx_queue_id);\n@@ -617,7 +617,7 @@ idpf_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \t\tdev->data->tx_queues[tx_queue_id];\n \tint err = 0;\n \n-\terr = idpf_vc_config_txq(vport, txq);\n+\terr = idpf_vc_txq_config(vport, txq);\n \tif (err != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Fail to configure Tx queue %u\", tx_queue_id);\n \t\treturn err;\n@@ -631,7 +631,7 @@ idpf_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \t}\n \n \t/* Ready to switch the queue on */\n-\terr = idpf_vc_switch_queue(vport, tx_queue_id, false, true);\n+\terr = idpf_vc_queue_switch(vport, tx_queue_id, false, true);\n \tif (err != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u on\",\n \t\t\t    tx_queue_id);\n@@ -654,7 +654,7 @@ idpf_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \tif (rx_queue_id >= dev->data->nb_rx_queues)\n \t\treturn -EINVAL;\n \n-\terr = idpf_vc_switch_queue(vport, rx_queue_id, true, false);\n+\terr = idpf_vc_queue_switch(vport, rx_queue_id, true, false);\n \tif (err != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to switch RX queue %u off\",\n \t\t\t    rx_queue_id);\n@@ -685,7 +685,7 @@ idpf_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \tif (tx_queue_id >= dev->data->nb_tx_queues)\n \t\treturn -EINVAL;\n \n-\terr = idpf_vc_switch_queue(vport, tx_queue_id, false, false);\n+\terr = idpf_vc_queue_switch(vport, tx_queue_id, false, false);\n \tif (err != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to switch TX queue %u off\",\n \t\t\t    tx_queue_id);\n",
    "prefixes": [
        "v6",
        "19/19"
    ]
}