get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 81093,
    "url": "http://patches.dpdk.org/api/patches/81093/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201016104128.1049430-3-qi.z.zhang@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": "<20201016104128.1049430-3-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201016104128.1049430-3-qi.z.zhang@intel.com",
    "date": "2020-10-16T10:41:28",
    "name": "[v2,2/2] common/iavf: add support for VFs with >16 queue pairs",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d0a129c375cf17722bbea220a5ca5f10a92d128a",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@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/20201016104128.1049430-3-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 13057,
            "url": "http://patches.dpdk.org/api/series/13057/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13057",
            "date": "2020-10-16T10:41:26",
            "name": "iavf update base code",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/13057/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/81093/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/81093/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 12A98A04DB;\n\tFri, 16 Oct 2020 12:38:12 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 75DB41ED19;\n\tFri, 16 Oct 2020 12:37:43 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 6BBB51ECD6\n for <dev@dpdk.org>; Fri, 16 Oct 2020 12:37:38 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Oct 2020 03:37:37 -0700",
            "from dpdk51.sh.intel.com ([10.67.111.142])\n by orsmga001.jf.intel.com with ESMTP; 16 Oct 2020 03:37:35 -0700"
        ],
        "IronPort-SDR": [
            "\n zN48ZRt+MB8bHhIsTdLuGEOQioctMZnPp/FoTI2LS2S62+Zy+nT3cTHAwUMKY+NjF+89TIywtX\n rrO0dRmxC5ZQ==",
            "\n QJPNVLxcVvC9BEB8++UXnqM8/DP1e41/jdAU4u2JFJ2RTx7d5gmjgRhoqVj8vMGkw56laNz0Mh\n WElfqRwtXsXA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9775\"; a=\"154378573\"",
            "E=Sophos;i=\"5.77,382,1596524400\"; d=\"scan'208\";a=\"154378573\"",
            "E=Sophos;i=\"5.77,382,1596524400\"; d=\"scan'208\";a=\"391280458\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "ferruh.yigit@intel.com",
        "Cc": "dev@dpdk.org, beilei.xing@intel.com, Qi Zhang <qi.z.zhang@intel.com>,\n Ting Xu <ting.xu@intel.com>, Brett Creeley <brett.creeley@intel.com>",
        "Date": "Fri, 16 Oct 2020 18:41:28 +0800",
        "Message-Id": "<20201016104128.1049430-3-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.25.4",
        "In-Reply-To": "<20201016104128.1049430-1-qi.z.zhang@intel.com>",
        "References": "<20201016104128.1049430-1-qi.z.zhang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 2/2] common/iavf: add support for VFs with >16\n\tqueue pairs",
        "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": "Currently there are limitations in the virthcnl.h interface that only\nallow a maximum of 16 queues to be used by a VF driver. Add support in\nvirtchnl.h to allow a VF driver to request >16 queues. Also, the RSS\nqregion size is currently assumed to be the max number of queues a VF\ncan request and/or is given on initialization. With larger VFs this\nassumption can no longer be made, so add a new op to support querying\nthe max RSS qregion size.\n\nIn order to request more queues than the initially given queues the VF\ndriver needs to use the VIRTCHNL_OP_REQUEST_QUEUES opcode.\n\nThe VF is given more >16 queues it should use the new\nVIRTCHNL_OP_GET_MAX_RSS_QREGION to determine its max qregion size. This\nis needed to correctly configure the RSS LUT and/or configure filters\nbased on queue base/offset and queue region size.\n\nIf the VF is configuring >16 queues it should use the following opcodes\nto configure the qeueus and interrupts after successfully requesting\nthem.\n\nVIRTCHNL_OP_MAP_QUEUE_VECTOR\nVIRTCHNL_OP_ENABLE_QUEUES_V2\nVIRTCHNL_OP_DISABLE_QUEUES_V2\n\nAlso, add support in virtchnl_vc_validate_vf_msg() to validate the above\nmessages. As a part of this move the virtchnl_vector_limits enumeration\ndirectly above the function it's used.\n\nThe patch also update base code release version in readme.\n\nSigned-off-by: Ting Xu <ting.xu@intel.com>\nSigned-off-by: Brett Creeley <brett.creeley@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\nAcked-by: Beilei Xing <beilei.xing@intel.com>\n---\n drivers/common/iavf/README     |   2 +-\n drivers/common/iavf/virtchnl.h | 231 +++++++++++++++++++++++++++++----\n 2 files changed, 205 insertions(+), 28 deletions(-)",
    "diff": "diff --git a/drivers/common/iavf/README b/drivers/common/iavf/README\nindex f301ff665a..5a42750465 100644\n--- a/drivers/common/iavf/README\n+++ b/drivers/common/iavf/README\n@@ -6,7 +6,7 @@ Intel® IAVF driver\n =================\n \n This directory contains source code of FreeBSD IAVF driver of version\n-cid-avf.2020.04.09.tar.gz released by the team which develops\n+cid-avf.2020.10.14.tar.gz released by the team which develops\n basic drivers for any IAVF NIC. The directory of base/ contains the\n original source package.\n \ndiff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h\nindex a5a300afe3..b931da61e5 100644\n--- a/drivers/common/iavf/virtchnl.h\n+++ b/drivers/common/iavf/virtchnl.h\n@@ -140,6 +140,11 @@ enum virtchnl_ops {\n \tVIRTCHNL_OP_ADD_FDIR_FILTER = 47,\n \tVIRTCHNL_OP_DEL_FDIR_FILTER = 48,\n \tVIRTCHNL_OP_QUERY_FDIR_FILTER = 49,\n+\tVIRTCHNL_OP_GET_MAX_RSS_QREGION = 50,\n+\tVIRTCHNL_OP_ENABLE_QUEUES_V2 = 107,\n+\tVIRTCHNL_OP_DISABLE_QUEUES_V2 = 108,\n+\tVIRTCHNL_OP_MAP_QUEUE_VECTOR = 111,\n+\tVIRTCHNL_OP_MAX,\n };\n \n /* These macros are used to generate compilation errors if a structure/union\n@@ -244,6 +249,8 @@ VIRTCHNL_CHECK_STRUCT_LEN(16, virtchnl_vsi_resource);\n #define VIRTCHNL_VF_OFFLOAD_WB_ON_ITR\t\t0x00000020\n #define VIRTCHNL_VF_OFFLOAD_REQ_QUEUES\t\t0x00000040\n #define VIRTCHNL_VF_OFFLOAD_CRC\t\t\t0x00000080\n+\t/* 0X00000100 is reserved */\n+#define VIRTCHNL_VF_LARGE_NUM_QPAIRS\t\t0x00000200\n #define VIRTCHNL_VF_OFFLOAD_VLAN\t\t0x00010000\n #define VIRTCHNL_VF_OFFLOAD_RX_POLLING\t\t0x00020000\n #define VIRTCHNL_VF_OFFLOAD_RSS_PCTYPE_V2\t0x00040000\n@@ -424,6 +431,35 @@ struct virtchnl_queue_select {\n \n VIRTCHNL_CHECK_STRUCT_LEN(12, virtchnl_queue_select);\n \n+/* VIRTCHNL_OP_GET_MAX_RSS_QREGION\n+ *\n+ * if VIRTCHNL_VF_LARGE_NUM_QPAIRS was negotiated in VIRTCHNL_OP_GET_VF_RESOURCES\n+ * then this op must be supported.\n+ *\n+ * VF sends this message in order to query the max RSS queue region\n+ * size supported by PF, when VIRTCHNL_VF_LARGE_NUM_QPAIRS is enabled.\n+ * This information should be used when configuring the RSS LUT and/or\n+ * configuring queue region based filters.\n+ *\n+ * The maximum RSS queue region is 2^qregion_width. So, a qregion_width\n+ * of 6 would inform the VF that the PF supports a maximum RSS queue region\n+ * of 64.\n+ *\n+ * A queue region represents a range of queues that can be used to configure\n+ * a RSS LUT. For example, if a VF is given 64 queues, but only a max queue\n+ * region size of 16 (i.e. 2^qregion_width = 16) then it will only be able\n+ * to configure the RSS LUT with queue indices from 0 to 15. However, other\n+ * filters can be used to direct packets to queues >15 via specifying a queue\n+ * base/offset and queue region width.\n+ */\n+struct virtchnl_max_rss_qregion {\n+\tu16 vport_id;\n+\tu16 qregion_width;\n+\tu8 pad[4];\n+};\n+\n+VIRTCHNL_CHECK_STRUCT_LEN(8, virtchnl_max_rss_qregion);\n+\n /* VIRTCHNL_OP_ADD_ETH_ADDR\n  * VF sends this message in order to add one or more unicast or multicast\n  * address filters for the specified VSI.\n@@ -774,33 +810,6 @@ struct virtchnl_pf_event {\n VIRTCHNL_CHECK_STRUCT_LEN(16, virtchnl_pf_event);\n \n \n-/* Since VF messages are limited by u16 size, precalculate the maximum possible\n- * values of nested elements in virtchnl structures that virtual channel can\n- * possibly handle in a single message.\n- */\n-enum virtchnl_vector_limits {\n-\tVIRTCHNL_OP_CONFIG_VSI_QUEUES_MAX\t=\n-\t\t((u16)(~0) - sizeof(struct virtchnl_vsi_queue_config_info)) /\n-\t\tsizeof(struct virtchnl_queue_pair_info),\n-\n-\tVIRTCHNL_OP_CONFIG_IRQ_MAP_MAX\t\t=\n-\t\t((u16)(~0) - sizeof(struct virtchnl_irq_map_info)) /\n-\t\tsizeof(struct virtchnl_vector_map),\n-\n-\tVIRTCHNL_OP_ADD_DEL_ETH_ADDR_MAX\t=\n-\t\t((u16)(~0) - sizeof(struct virtchnl_ether_addr_list)) /\n-\t\tsizeof(struct virtchnl_ether_addr),\n-\n-\tVIRTCHNL_OP_ADD_DEL_VLAN_MAX\t\t=\n-\t\t((u16)(~0) - sizeof(struct virtchnl_vlan_filter_list)) /\n-\t\tsizeof(u16),\n-\n-\n-\tVIRTCHNL_OP_ENABLE_CHANNELS_MAX\t\t=\n-\t\t((u16)(~0) - sizeof(struct virtchnl_tc_info)) /\n-\t\tsizeof(struct virtchnl_channel_info),\n-};\n-\n /* VF reset states - these are written into the RSTAT register:\n  * VFGEN_RSTAT on the VF\n  * When the PF initiates a reset, it writes 0\n@@ -1142,6 +1151,143 @@ struct virtchnl_fdir_query {\n };\n \n VIRTCHNL_CHECK_STRUCT_LEN(48, virtchnl_fdir_query);\n+\n+/* TX and RX queue types are valid in legacy as well as split queue models.\n+ * With Split Queue model, 2 additional types are introduced - TX_COMPLETION\n+ * and RX_BUFFER. In split queue model, RX corresponds to the queue where HW\n+ * posts completions.\n+ */\n+enum virtchnl_queue_type {\n+\tVIRTCHNL_QUEUE_TYPE_TX\t\t\t= 0,\n+\tVIRTCHNL_QUEUE_TYPE_RX\t\t\t= 1,\n+\tVIRTCHNL_QUEUE_TYPE_TX_COMPLETION\t= 2,\n+\tVIRTCHNL_QUEUE_TYPE_RX_BUFFER\t\t= 3,\n+\tVIRTCHNL_QUEUE_TYPE_CONFIG_TX\t\t= 4,\n+\tVIRTCHNL_QUEUE_TYPE_CONFIG_RX\t\t= 5\n+};\n+\n+\n+/* structure to specify a chunk of contiguous queues */\n+struct virtchnl_queue_chunk {\n+\tenum virtchnl_queue_type type;\n+\tu16 start_queue_id;\n+\tu16 num_queues;\n+};\n+\n+VIRTCHNL_CHECK_STRUCT_LEN(8, virtchnl_queue_chunk);\n+\n+/* structure to specify several chunks of contiguous queues */\n+struct virtchnl_queue_chunks {\n+\tu16 num_chunks;\n+\tu16 rsvd;\n+\tstruct virtchnl_queue_chunk chunks[1];\n+};\n+\n+VIRTCHNL_CHECK_STRUCT_LEN(12, virtchnl_queue_chunks);\n+\n+\n+/* VIRTCHNL_OP_ENABLE_QUEUES_V2\n+ * VIRTCHNL_OP_DISABLE_QUEUES_V2\n+ * VIRTCHNL_OP_DEL_QUEUES\n+ *\n+ * If VIRTCHNL_CAP_EXT_FEATURES was negotiated in VIRTCHNL_OP_GET_VF_RESOURCES\n+ * then all of these ops are available.\n+ *\n+ * If VIRTCHNL_VF_LARGE_NUM_QPAIRS was negotiated in VIRTCHNL_OP_GET_VF_RESOURCES\n+ * then VIRTCHNL_OP_ENABLE_QUEUES_V2 and VIRTCHNL_OP_DISABLE_QUEUES_V2 are\n+ * available.\n+ *\n+ * PF sends these messages to enable, disable or delete queues specified in\n+ * chunks. PF sends virtchnl_del_ena_dis_queues struct to specify the queues\n+ * to be enabled/disabled/deleted. Also applicable to single queue RX or\n+ * TX. CP performs requested action and returns status.\n+ */\n+struct virtchnl_del_ena_dis_queues {\n+\tu16 vport_id;\n+\tu16 pad;\n+\tstruct virtchnl_queue_chunks chunks;\n+};\n+\n+VIRTCHNL_CHECK_STRUCT_LEN(16, virtchnl_del_ena_dis_queues);\n+\n+/* Virtchannel interrupt throttling rate index */\n+enum virtchnl_itr_idx {\n+\tVIRTCHNL_ITR_IDX_0\t= 0,\n+\tVIRTCHNL_ITR_IDX_1\t= 1,\n+\tVIRTCHNL_ITR_IDX_NO_ITR\t= 3,\n+};\n+\n+/* Queue to vector mapping */\n+struct virtchnl_queue_vector {\n+\tu16 queue_id;\n+\tu16 vector_id;\n+\tu8 pad[4];\n+\tenum virtchnl_itr_idx itr_idx;\n+\tenum virtchnl_queue_type queue_type;\n+};\n+\n+VIRTCHNL_CHECK_STRUCT_LEN(16, virtchnl_queue_vector);\n+\n+/* VIRTCHNL_OP_MAP_QUEUE_VECTOR\n+ * VIRTCHNL_OP_UNMAP_QUEUE_VECTOR\n+ *\n+ * If VIRTCHNL_CAP_EXT_FEATURES was negotiated in VIRTCHNL_OP_GET_VF_RESOURCES\n+ * then all of these ops are available.\n+ *\n+ * If VIRTCHNL_VF_LARGE_NUM_QPAIRS was negotiated in VIRTCHNL_OP_GET_VF_RESOURCES\n+ * then only VIRTCHNL_OP_MAP_QUEUE_VECTOR is available.\n+ *\n+ * PF sends this message to map or unmap queues to vectors and ITR index\n+ * registers. External data buffer contains virtchnl_queue_vector_maps structure\n+ * that contains num_qv_maps of virtchnl_queue_vector structures.\n+ * CP maps the requested queue vector maps after validating the queue and vector\n+ * ids and returns a status code.\n+ */\n+struct virtchnl_queue_vector_maps {\n+\tu16 vport_id;\n+\tu16 num_qv_maps;\n+\tu8 pad[4];\n+\tstruct virtchnl_queue_vector qv_maps[1];\n+};\n+\n+VIRTCHNL_CHECK_STRUCT_LEN(24, virtchnl_queue_vector_maps);\n+\n+\n+/* Since VF messages are limited by u16 size, precalculate the maximum possible\n+ * values of nested elements in virtchnl structures that virtual channel can\n+ * possibly handle in a single message.\n+ */\n+enum virtchnl_vector_limits {\n+\tVIRTCHNL_OP_CONFIG_VSI_QUEUES_MAX\t=\n+\t\t((u16)(~0) - sizeof(struct virtchnl_vsi_queue_config_info)) /\n+\t\tsizeof(struct virtchnl_queue_pair_info),\n+\n+\tVIRTCHNL_OP_CONFIG_IRQ_MAP_MAX\t\t=\n+\t\t((u16)(~0) - sizeof(struct virtchnl_irq_map_info)) /\n+\t\tsizeof(struct virtchnl_vector_map),\n+\n+\tVIRTCHNL_OP_ADD_DEL_ETH_ADDR_MAX\t=\n+\t\t((u16)(~0) - sizeof(struct virtchnl_ether_addr_list)) /\n+\t\tsizeof(struct virtchnl_ether_addr),\n+\n+\tVIRTCHNL_OP_ADD_DEL_VLAN_MAX\t\t=\n+\t\t((u16)(~0) - sizeof(struct virtchnl_vlan_filter_list)) /\n+\t\tsizeof(u16),\n+\n+\n+\tVIRTCHNL_OP_ENABLE_CHANNELS_MAX\t\t=\n+\t\t((u16)(~0) - sizeof(struct virtchnl_tc_info)) /\n+\t\tsizeof(struct virtchnl_channel_info),\n+\n+\tVIRTCHNL_OP_ENABLE_DISABLE_DEL_QUEUES_V2_MAX\t=\n+\t\t((u16)(~0) - sizeof(struct virtchnl_del_ena_dis_queues)) /\n+\t\tsizeof(struct virtchnl_queue_chunk),\n+\n+\tVIRTCHNL_OP_MAP_UNMAP_QUEUE_VECTOR_MAX\t=\n+\t\t((u16)(~0) - sizeof(struct virtchnl_queue_vector_maps)) /\n+\t\tsizeof(struct virtchnl_queue_vector),\n+};\n+\n /**\n  * virtchnl_vc_validate_vf_msg\n  * @ver: Virtchnl version info\n@@ -1212,6 +1358,8 @@ virtchnl_vc_validate_vf_msg(struct virtchnl_version_info *ver, u32 v_opcode,\n \tcase VIRTCHNL_OP_DISABLE_QUEUES:\n \t\tvalid_len = sizeof(struct virtchnl_queue_select);\n \t\tbreak;\n+\tcase VIRTCHNL_OP_GET_MAX_RSS_QREGION:\n+\t\tbreak;\n \tcase VIRTCHNL_OP_ADD_ETH_ADDR:\n \tcase VIRTCHNL_OP_DEL_ETH_ADDR:\n \t\tvalid_len = sizeof(struct virtchnl_ether_addr_list);\n@@ -1338,6 +1486,35 @@ virtchnl_vc_validate_vf_msg(struct virtchnl_version_info *ver, u32 v_opcode,\n \tcase VIRTCHNL_OP_QUERY_FDIR_FILTER:\n \t\tvalid_len = sizeof(struct virtchnl_fdir_query);\n \t\tbreak;\n+\tcase VIRTCHNL_OP_ENABLE_QUEUES_V2:\n+\tcase VIRTCHNL_OP_DISABLE_QUEUES_V2:\n+\t\tvalid_len = sizeof(struct virtchnl_del_ena_dis_queues);\n+\t\tif (msglen >= valid_len) {\n+\t\t\tstruct virtchnl_del_ena_dis_queues *qs =\n+\t\t\t\t(struct virtchnl_del_ena_dis_queues *)msg;\n+\t\t\tif (qs->chunks.num_chunks == 0 ||\n+\t\t\t    qs->chunks.num_chunks > VIRTCHNL_OP_ENABLE_DISABLE_DEL_QUEUES_V2_MAX) {\n+\t\t\t\terr_msg_format = true;\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t\tvalid_len += (qs->chunks.num_chunks - 1) *\n+\t\t\t\t      sizeof(struct virtchnl_queue_chunk);\n+\t\t}\n+\t\tbreak;\n+\tcase VIRTCHNL_OP_MAP_QUEUE_VECTOR:\n+\t\tvalid_len = sizeof(struct virtchnl_queue_vector_maps);\n+\t\tif (msglen >= valid_len) {\n+\t\t\tstruct virtchnl_queue_vector_maps *v_qp =\n+\t\t\t\t(struct virtchnl_queue_vector_maps *)msg;\n+\t\t\tif (v_qp->num_qv_maps == 0 ||\n+\t\t\t    v_qp->num_qv_maps > VIRTCHNL_OP_MAP_UNMAP_QUEUE_VECTOR_MAX) {\n+\t\t\t\terr_msg_format = true;\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t\tvalid_len += (v_qp->num_qv_maps - 1) *\n+\t\t\t\t      sizeof(struct virtchnl_queue_vector);\n+\t\t}\n+\t\tbreak;\n \t/* These are always errors coming from the VF. */\n \tcase VIRTCHNL_OP_EVENT:\n \tcase VIRTCHNL_OP_UNKNOWN:\n",
    "prefixes": [
        "v2",
        "2/2"
    ]
}