From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E9E27A0032; Thu, 14 Jul 2022 15:48:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4869742BA6; Thu, 14 Jul 2022 15:48:27 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2078.outbound.protection.outlook.com [40.107.223.78]) by mails.dpdk.org (Postfix) with ESMTP id 1EDBB42B6D for ; Thu, 14 Jul 2022 15:48:25 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=UImbGkKeAqlIBxJ9FX/ozNgBJQTc2vrQsPqEZN4M5dk5lrXbyzYGElm0oBLb9KV+PHNoD5TgC4s3Wp7K8WrxXtPSWan+gZhoL3mac0T8i1IDILIqK4xX+r8rASBoqjnaHrFoLQBUsX4T5fpRNxj0wYmScDfoeVvCkAI04AT3Vo6f06+fMJ1nGwW4n08BFzxPiNKmzC0LZhrrPsFGXDJQ89K2bwGsIVh6w2GFdL+oS85upueud61/LdAx1VikDRaf5rKp3388Br/igAgt4KlYr9MtaPWJd3XvL2YWqafprWCuuRhpy0EpYywn1FnYN3IFU03xq7zEUUZI4b4XmAsG1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mW9EUs+jVJUewQXBpMZFz0g2LHQ+TxUpKRKuGq0MMvI=; b=BTE0+k/syRO/h2Xu34cs/89DIvzWS3o3wymqJYkhZKaqoBEuJP7xTMzKR9s9EekQDtgY8ujW15PtplyjFO+ooZn9SCc94mjyFvhdE+rarEQZoy8EhJKPPl5sgSK8Es2sa4wH2IvGYEIkfZ8bwtJ9/m0VcE3hnT9lDESVSxgwoAuZ24b4+sXvQFRIgzIN8I/vdCuvk3IuD7mV1MhHPepFCZ3uz9K+WEEOxZWXAXkeVfAxpLB9BM6bGo42U1pXPXl+CJpimNddHATESRO+lxx74oGvOlnzYaT1lRHlJV4IhsfCTWyRK5mjvNxb9gy4HHO8QICqkiZBDsXaUln9DHlVIg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 20.83.241.18) smtp.rcpttodomain=dpdk.org smtp.mailfrom=amd.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=xilinx.com] dmarc=[1,1,header.from=xilinx.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mW9EUs+jVJUewQXBpMZFz0g2LHQ+TxUpKRKuGq0MMvI=; b=oOhGoZOStBQQyjiFbxqXgy1m4U8fn+92wmBV0e19XYH5B/EJCfE4jDWmeeP4OLsjCtU/8xnYrGHHiXAX9KnBCGW0B23Vk7fql4kaATFeAMF7Q6m7ewRvDqe1796qnmKbieCJgx2EPP9aFgY7wtw6KUEIzyBVeaF3huPDtnkgXgHFCJI32vupef2Ap3b81FaMO0gxN4lmVutfxKBsPTbxTNYnT8xCnimEPTaAwl6ostamnHoi+W+AnZBJ+h77IVTRR+Ll+0foy87ESotdPP6uZKnU+DGRAHfUFP3EFTGqt2/9f8h+fOinhsP+x4xqCfy+gzLzBK4ikEiplpitviM0Fg== Received: from DM6PR02CA0092.namprd02.prod.outlook.com (2603:10b6:5:1f4::33) by MN2PR12MB4605.namprd12.prod.outlook.com (2603:10b6:208:3d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Thu, 14 Jul 2022 13:48:23 +0000 Received: from DM6NAM11FT040.eop-nam11.prod.protection.outlook.com (2603:10b6:5:1f4:cafe::1) by DM6PR02CA0092.outlook.office365.com (2603:10b6:5:1f4::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.22 via Frontend Transport; Thu, 14 Jul 2022 13:48:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 20.83.241.18) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 20.83.241.18 as permitted sender) receiver=protection.outlook.com; client-ip=20.83.241.18; helo=mailrelay000000.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net; pr=C Received: from mailrelay000000.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (20.83.241.18) by DM6NAM11FT040.mail.protection.outlook.com (10.13.173.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12 via Frontend Transport; Thu, 14 Jul 2022 13:48:22 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2109.outbound.protection.outlook.com [104.47.70.109]) by mailrelay000000.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (Postfix) with ESMTPS id 5792941F77; Thu, 14 Jul 2022 13:48:22 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxejqPiKtebNKtuQEJFjWakIn4ATyYf+k2up0BsItryDm6L+Kt7Sh90x9/XzVPSjDe3mHfllBwqMg6wfLsN8AR0iuRXmax/QCwXMcT/95ysegpX61rk5x4/OCBAgISpDz+gc+WHIB75ql3no9DRxHLJg7fyGLH+vD9G5/mRfSzGi1sAiyRRCO09pK0ml7l30QW8uefSQp3xPpA3bU6nEzstcKoTl+P/Nb1o9Q9rXXsA9FRW7a7sZTYNiXxlZuDapjiPbZZGrJ6gNJX1YoOEepm496fOVo4/Ao9Rh2UTX4x5WHMlec6lxQnmSdNhu3S1eXZ++a17l0R8ews1vSBa1PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mW9EUs+jVJUewQXBpMZFz0g2LHQ+TxUpKRKuGq0MMvI=; b=Ez2gx4S+S7W/ODy5Q5L6S7L4cHlgtGNDnQ+WcogMAxmX8FldlvMsNW79o3u1LcnNvTvZVeJtKtFD9NiWh/xZHA8rqbDINmu1Q1VxyBWL7jaZGo1bcesUjC0cNs593UZZ/YMf3bcoRBEabi1YylhxuaVk1XxbFRxJPxEJbL+YydGmzMID9jKAABP5B/5VIdUEDbnTxl0QBLJoajFouUttOT3qcQIz3Skv7Pv1Fh8LjcrtfJsLlkrzYnon6ORHPH0CRJJCoAyh65XJVLgwNd72FyNBSPUACbTaKWk8fWX7pH4AObbAIXEIDQ5gvWa9SHi/9z8pHuhEG+/+CRAI6M61hQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=dpdk.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none Received: from BN9PR03CA0131.namprd03.prod.outlook.com (2603:10b6:408:fe::16) by DM8PR02MB7893.namprd02.prod.outlook.com (2603:10b6:8:30::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Thu, 14 Jul 2022 13:48:20 +0000 Received: from BN1NAM02FT006.eop-nam02.prod.protection.outlook.com (2603:10b6:408:fe:cafe::cc) by BN9PR03CA0131.outlook.office365.com (2603:10b6:408:fe::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.17 via Frontend Transport; Thu, 14 Jul 2022 13:48:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT006.mail.protection.outlook.com (10.13.2.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5438.12 via Frontend Transport; Thu, 14 Jul 2022 13:48:20 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 14 Jul 2022 06:48:13 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 14 Jul 2022 06:48:13 -0700 Envelope-to: dev@dpdk.org, chenbo.xia@intel.com, maxime.coquelin@redhat.com, andrew.rybchenko@oktetlabs.ru, absaini@amd.com Received: from [10.170.66.118] (port=50892 helo=xndengvm004118.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1oBzCO-0003Fq-Ko; Thu, 14 Jul 2022 06:48:13 -0700 From: To: CC: , , , Abhimanyu Saini Subject: [PATCH v3 2/5] common/sfc_efx/base: update MCDI headers Date: Thu, 14 Jul 2022 19:18:01 +0530 Message-ID: <20220714134804.60495-3-asaini@xilinx.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20220714134804.60495-1-asaini@xilinx.com> References: <20220714084451.38375-1-asaini@xilinx.com> <20220714134804.60495-1-asaini@xilinx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 1e67316f-5def-40c7-570a-08da659f84d4 X-MS-TrafficTypeDiagnostic: DM8PR02MB7893:EE_|DM6NAM11FT040:EE_|MN2PR12MB4605:EE_ X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: RymREW2QS1dqVyMi/pLeck+CS16VxgPFOKKMTgzAyjvNWbefJPxdRP7f/QtZfaW0SuuH+xtIea45z4vMqIgwpFmTS6MWLY8m9g8uIjqO1U39pWYb3F4KWkKthtU3mhK5Rg/jc1RsVjttnT/ZyqVExGE5McKxTnQImvy/CuenDejJLZELctPRKwbT2T7nGkR+/0zA6vr0ZnTqwLSrPRsAHZO7Oi/HjEZgezd9yUWi0fz9aB6Z0KRdzVv52wi/ZLv+QipPAY/udPvqP4BkMpVJraE4Xlm+o5tpzMJdb4YzmHQyAE5kN+eybvF2tebCSGXFvziuwW6KWC1LHq6lYCa2xWO6ONiywxSGjQzxEn3eF3/3kI87SV9naf62T2igCEUkLc8k35AMPE66RdK8eb/g0+vJ0XhsXJ2ZiqyfoXshnYy0Jkm8OHmcf7V8i1nMC6Bc2GJwdP3spXaCG+t8V51eDYNgXVO2gaD5/jYoB9EPreBFTYUNY3U7+DXTFSzq9QlnbyP1VwQTgeob7Gz6OhY19VuiVXwv1C3DDW1IWy4qmeHUEX4Zdr5fAT5XOJtDwzRswqmVaL2vy0y7vAfwmN7T0eYot1+ecrTbW6dmy2ycUDGvpC5m442sxzccR1vlV/05NCdFb1sva9t6/O33/yEi3U+JrF3UdQHj9XXpnPOcmrTXBxDK4Dn6btQfthNifn5CVUokCCcftJNsnPtkM+3um9NeMHcaJkVARFUUUKN+/fF+LcdBmNURyneEiT2ZGUImKjPL50uLCE72hYPuX5pt4zCN3PQYEEgwrOZuV0uR1umVC6+bGcjyaRRa56KMCKueZM1yMNS6L5d/oizPhZQv2A== X-Forefront-Antispam-Report-Untrusted: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch01.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(39860400002)(136003)(396003)(36840700001)(46966006)(40470700004)(356005)(36860700001)(7636003)(40460700003)(82310400005)(82740400003)(8936002)(478600001)(9786002)(5660300002)(316002)(70586007)(54906003)(6916009)(8676002)(70206006)(426003)(336012)(4326008)(186003)(1076003)(47076005)(83380400001)(40480700001)(2876002)(6666004)(7696005)(2906002)(36756003)(2616005)(41300700001)(26005)(102446001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR02MB7893 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DM6NAM11FT040.eop-nam11.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 8f563c68-e5c5-4a69-abbd-08da659f833f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RephCw52g9Wk3o9NMMBzviQKz6vShH5Bm3ZshXMf8eeCpUySv4087Cjzpu+ur6DS0Ajbqqj2X3WMRCgQ9/mRmvrbpI1jzqSiceEISjUQzOOK1+DxWTbCysKX/oNHoySxtC31cDVySay0RoaDdYoehuC7MsrG0/V/QGPOcvKOzSv99JwoDW5s2ZCLmFKzou2ocNsAFdHHECYLnVO3s/WdJkdDJPy0lq1j7s+ulcIk/151ipBjIV6A37+xYwK0aiYY/stDWC+BDOU4Db0EmC35TTBVadFJr3ur/Z17+jwqhoIbB8ISk9sq7EOFfDzaVZm4m/aBSK1bsErS4ifo08ItftvfOanJBC0HPgiU13a+VRd9ect9qfBrhGbfXiYyXKJASGMv3p375DXagPIXYxIFQ/0FwNAFZb+Ozxj5i07E+UizKubxxccNAnY2q20wwVTjSf9xdQLFO+UNa958ghb82cg1jbzYtz0qmh4WFGZMCETwvZuVS9IopLqiwpXvGat9j5YBMJfVjEpi3vE6bXttt7GTNvtpBx39Ux9EMewl5iVw9PRXmHlpRgTVRpB6qXE+fKwW4U8mQ65BGiedl6zEFtRqSpgf9s8S+RQOGkp0XHq1ZPiMXBG74S2GSk/UqzZscLoi4747BK5J3nFh8LGomcupPWjkYEEcfY6bAWHn3eQ5jb4In8GvhmrKI59QE1MjQmA8c3ogozorECDw182SKNoe156nkTPoFTmdApbpeldD1FA4XQWGwyRWjAgy2Nx9EF8jxABXoYMTZ4NJAhtKCNlT5WRjt9tSRO5LXkmNwPoEpQLDtE6jm2s4XughlvYF/B5dOkJhrScHS5aEQuFVZQ== X-Forefront-Antispam-Report: CIP:20.83.241.18; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mailrelay000000.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(346002)(39860400002)(376002)(396003)(136003)(46966006)(36840700001)(36756003)(5660300002)(70206006)(426003)(1076003)(336012)(47076005)(186003)(36860700001)(83380400001)(42882007)(82740400003)(4326008)(2876002)(8676002)(9786002)(8936002)(41300700001)(2906002)(478600001)(7696005)(40480700001)(316002)(26005)(2616005)(6916009)(54906003)(82310400005)(83170400001)(81166007)(6666004)(102446001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2022 13:48:22.7966 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e67316f-5def-40c7-570a-08da659f84d4 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[20.83.241.18]; Helo=[mailrelay000000.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-DM6NAM11FT040.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4605 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Abhimanyu Saini Regenerate MCDI headers from smartnic_registry:72940ad Signed-off-by: Abhimanyu Saini --- v2: * Fix checkpatch warnings * Add a cover letter v3: * Restructure patchset drivers/common/sfc_efx/base/efx_regs_mcdi.h | 36 ++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/drivers/common/sfc_efx/base/efx_regs_mcdi.h b/drivers/common/sfc_efx/base/efx_regs_mcdi.h index 2daf825..d1d8093 100644 --- a/drivers/common/sfc_efx/base/efx_regs_mcdi.h +++ b/drivers/common/sfc_efx/base/efx_regs_mcdi.h @@ -28071,18 +28071,26 @@ #define MC_CMD_VIRTIO_INIT_QUEUE_REQ_FEATURES_HI_WIDTH 32 /* Enum values, see field(s): */ /* MC_CMD_VIRTIO_GET_FEATURES/MC_CMD_VIRTIO_GET_FEATURES_OUT/FEATURES */ -/* The initial producer index for this queue's used ring. If this queue is - * being created to be migrated into, this should be the FINAL_PIDX value - * returned by MC_CMD_VIRTIO_FINI_QUEUE of the queue being migrated from. - * Otherwise, it should be zero. +/* The initial available index for this virtqueue. If this queue is being + * created to be migrated into, this should be the FINAL_AVAIL_IDX value + * returned by MC_CMD_VIRTIO_FINI_QUEUE of the queue being migrated from (or + * equivalent if the original queue was on a thirdparty device). Otherwise, it + * should be zero. */ +#define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_AVAIL_IDX_OFST 56 +#define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_AVAIL_IDX_LEN 4 +/* Alias of INITIAL_AVAIL_IDX, kept for compatibility. */ #define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_PIDX_OFST 56 #define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_PIDX_LEN 4 -/* The initial consumer index for this queue's available ring. If this queue is - * being created to be migrated into, this should be the FINAL_CIDX value - * returned by MC_CMD_VIRTIO_FINI_QUEUE of the queue being migrated from. - * Otherwise, it should be zero. - */ +/* The initial used index for this virtqueue. If this queue is being created to + * be migrated into, this should be the FINAL_USED_IDX value returned by + * MC_CMD_VIRTIO_FINI_QUEUE of the queue being migrated from (or equivalent if + * the original queue was on a thirdparty device). Otherwise, it should be + * zero. + */ +#define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_USED_IDX_OFST 60 +#define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_USED_IDX_LEN 4 +/* Alias of INITIAL_USED_IDX, kept for compatibility. */ #define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_CIDX_OFST 60 #define MC_CMD_VIRTIO_INIT_QUEUE_REQ_INITIAL_CIDX_LEN 4 /* A MAE_MPORT_SELECTOR defining which mport this queue should be associated @@ -28128,10 +28136,16 @@ /* MC_CMD_VIRTIO_FINI_QUEUE_RESP msgresponse */ #define MC_CMD_VIRTIO_FINI_QUEUE_RESP_LEN 8 -/* The producer index of the used ring when the queue was stopped. */ +/* The available index of the virtqueue when the queue was stopped. */ +#define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_AVAIL_IDX_OFST 0 +#define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_AVAIL_IDX_LEN 4 +/* Alias of FINAL_AVAIL_IDX, kept for compatibility. */ #define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_PIDX_OFST 0 #define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_PIDX_LEN 4 -/* The consumer index of the available ring when the queue was stopped. */ +/* The used index of the virtqueue when the queue was stopped. */ +#define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_USED_IDX_OFST 4 +#define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_USED_IDX_LEN 4 +/* Alias of FINAL_USED_IDX, kept for compatibility. */ #define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_CIDX_OFST 4 #define MC_CMD_VIRTIO_FINI_QUEUE_RESP_FINAL_CIDX_LEN 4 -- 1.8.3.1