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 49EAFA00C5; Thu, 14 Jul 2022 09:52:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F60142B82; Thu, 14 Jul 2022 09:52:22 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2076.outbound.protection.outlook.com [40.107.100.76]) by mails.dpdk.org (Postfix) with ESMTP id B0F7242B73 for ; Thu, 14 Jul 2022 09:52:20 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=Jws1EK1/21ydX2GFv0rlIOe55+DCwBPG2Szr/8JB4GP1nKWLR7VX0c5EUehjEgGatFXI+8NKY6BRm+L824V5irH1vxvv1Ea3lIe/o2Bf8z48xnJ0mfiqN07PtX+T5XiZbM7Fu+FMk5gMj67GpExK+lJSU5ScKEeQRhQnWJT07nwpDT4niFtkAzWe8Z7LqWJpjVqrKKKDCTMxqUPH3bKtBDXd2rUZ6F/Qa8mpEUaWjM7cSXi5B0bVQ6IR5E4mei2GZ6aE84HyoCUrClGKqh2N4Y8HLW2MlOJkP3onzEXGPkn2ZXV+3+wGu+o47lLNW84nCd3XlxFJvw7jhZ9IH/SQmw== 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=VZKc8u83TPqHYO13KnvIvXuPn7Y/3VZ6iphLAdYOg44=; b=B/Ll3f/DplX/BrOqLPR8nqyQdTp7kmqMP9RZyV86Be/dloJjy1NU3g62Idx/XUm8Yjz7Wo+yIu0LOHweKhMPiQmpTUg2b04Lr3kXOnPeKG98TwGCqS57X2IBglV5ePVzJuIdAJ24tfGuEVgA/Q6m3fwWrHbF52pCpLfg08dm48HJ+Fv+Y+BppfTQR13BGjGl1OBc09FntPfcQyHt4d9+t2UMMgrZ17qyi+xEB4M7LqNm4d3SXenILdi9mK2qG+2GHJFBR0y5Iqn5cUx+ui2z9AtHylOgfZtsazgwYAb00ysx/tMJNHh4VlFGla/7VP6XUftxHCU2pBEU0p19hBfnHw== 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=VZKc8u83TPqHYO13KnvIvXuPn7Y/3VZ6iphLAdYOg44=; b=E7owcWVFwyGevBjb52fpxgGYHrqHvmHn3nvwgUBjDM7TxsYGLzFrAnUL9TrgAWeSzlU5beoduYdRuoVmm70F0Gt7tznmTzq3UbouTymO0IWGJIYnS1A86Fqv19bIIF3cD5mcZf2nZXfJ/4pOKXGBxYNwLaiUqA8iiAtc+qY3KuRPZUxgYy/y4AluYKfdt91746+jgEEXM95733mwFHCKVb31JerIVsxrjLPCHKlI41GvpIx2qUE8yInodPwxBkT1CJVWPDVmYaCQtsfe+UltSOjjL+H/J7FYnTNKOjcoTwnN8oCAnGvljuJC9DWFPNML+J+q3BhfTva5TTU5nrfYag== Received: from BN8PR04CA0019.namprd04.prod.outlook.com (2603:10b6:408:70::32) by MW2PR12MB2395.namprd12.prod.outlook.com (2603:10b6:907:3::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12; Thu, 14 Jul 2022 07:52:18 +0000 Received: from BN8NAM11FT049.eop-nam11.prod.protection.outlook.com (2603:10b6:408:70:cafe::d8) by BN8PR04CA0019.outlook.office365.com (2603:10b6:408:70::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20 via Frontend Transport; Thu, 14 Jul 2022 07:52:18 +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=mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net; pr=C Received: from mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (20.83.241.18) by BN8NAM11FT049.mail.protection.outlook.com (10.13.177.157) 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 07:52:17 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (Postfix) with ESMTPS id 202E23F036; Thu, 14 Jul 2022 07:52:17 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eWMm227h2/nIH8G97pjeaSpB6/+fycmg3SyXGYHRskcUh2MQm/hNjwzDAqZ8pXQoRczAD2PBRbxE6fGYsHHRufh30PzRtva/afMqWr5cpgThkVudzyOeimsIIQs679Y3ImSbc7w7rnQ0a3smDuX7JdvyDbuH7+Y3NqaJXNibBX+UkXz9YNNvPXfagrjfsY1QIO+IQ5lIt96nplX/Kmuxuji9mPYqH6AJem5tko5rRJRG5YNneQEcs43E8StKzCQSFsQslTBpqVZFHytr7V5oOgv1BLSsnHlo3K7NqlrYkFRN57R/20IxTh86cFN2MXU2TM3CpGM0PJMaj1jQjauu3g== 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=VZKc8u83TPqHYO13KnvIvXuPn7Y/3VZ6iphLAdYOg44=; b=k2fYt1Yy/VYF7LXn+eU7z6oLzgC+NPQV1UPbqiPgcjwS+xTox/W2CiGMdI9qbdSRuPkTx9/6FzpAmne4qQQFfKorG7FNQoKcTHvEv5+1u8SbIYcNALFvD0izXe9GX+IOF46VXYy0mAhaH/d2oNT8hwcl3B99MbwFA/FhGnhmLSQGFQSC9Nvss9HF+qvLXL82IJphwitjXF43JfGlsuYBcqK4EFo7HAnOEJT3Kgvw3GSCwXQsQk29jjcoTMrYqjsXOl0RRFKmXspoxMvEHil8WR5oW+CvaHPa38pw/BfCu4KY8cyqsp+886rwB9S/IEFQ1cp91cPwaNcSePAvUf7bSw== 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 DS7PR03CA0179.namprd03.prod.outlook.com (2603:10b6:5:3b2::34) by CH2PR02MB6476.namprd02.prod.outlook.com (2603:10b6:610:67::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26; Thu, 14 Jul 2022 07:52:16 +0000 Received: from DM3NAM02FT032.eop-nam02.prod.protection.outlook.com (2603:10b6:5:3b2:cafe::fa) by DS7PR03CA0179.outlook.office365.com (2603:10b6:5:3b2::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14 via Frontend Transport; Thu, 14 Jul 2022 07:52:16 +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-pvapexch02.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT032.mail.protection.outlook.com (10.13.5.65) 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 07:52:15 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) 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 00:52:15 -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 00:52:15 -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=50692 helo=xndengvm004118.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1oBtdu-0002Lo-Pz; Thu, 14 Jul 2022 00:52:15 -0700 From: To: CC: , , , Abhimanyu Saini Subject: [PATCH 3/5] common/sfc_efx/base: update MCDI headers Date: Thu, 14 Jul 2022 13:22:00 +0530 Message-ID: <20220714075202.31826-3-asaini@xilinx.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20220714075202.31826-1-asaini@xilinx.com> References: <20220708080135.31254-1-asaini@xilinx.com> <20220714075202.31826-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: 97bbe4e8-275e-4394-0d04-08da656dc676 X-MS-TrafficTypeDiagnostic: CH2PR02MB6476:EE_|BN8NAM11FT049:EE_|MW2PR12MB2395:EE_ X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: u5uwopezCohxvlO36LqG8bIC3f5XIejQffZ1PXG7/mS3R3fQ3EsAyhDcmQZW8kGUux0fCd2CrSUPpjgbOLYtt3jSONavK4yzFFrsc3gSE7O8Cl+SHI0mwRWljOuSGT2w6lgNO8cmziOfwfvsWuxI14D2mfyYmllZj9Thbv/hAadONNNlr4B/dNiyi/POAP4atuxaDJ6zpsUR3XHy119WlXlBB7yKivQ3VdA8/TBTIGB+HcqaUTaR08I+E0Z4gPNojjnrz1h/nKT+45VmwMPC9NRR73ENhaMNExED72OAzABUc96UVQYkNhabmZ5Xd3Lp/fmsR8TNkeuwem0Zxu+QKLGm/rWHuQtnjEuShJuc6HtHDugznevHqYjPytKqVsoBUyJzkaoaw2uhWcKNtnzjvKSRQz/zAM0K8+WA6LOut1JxRvsajP2BUGV2wx8pYLCEvxRnz8VHpU/DjENLMK1cK6Yv7CWaYDaGMkFQ0NLE+C5lMJ4ezVGGDqXnnGUUJLNeI76OP6hDxrpjSJKc562b9hZgSOyLP+IzzSp+b4UAn5Tz/RK3OrVVY3xX6aGewS0w0u0ebP4lzTQWQVeVmUVXdwg2VNrbqdWN3Dmq0uewtrt0dvqqJTkWcqBrJ8Ny5D3P0/7Zb4j3MA5QCG0+hoVtbWDRfG0K1CMrTNhdcXR79fPo02qKBu5y6ezV2kT47dlmGlhVohxnEBEoVmt6IRjx80HI9yDhMRk3G/xLO5kF2gROKLrzUiP8tVnJPQckW189W4bgdhLN7GCxSkDkD+w5pU/6syMvT7VsnoOpiyAzqVifUMVEAn9BjSrGfbSvr6j6UdeR5KQSwk1vAQuPyepqyg== X-Forefront-Antispam-Report-Untrusted: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(396003)(376002)(39860400002)(346002)(136003)(46966006)(36840700001)(40470700004)(82310400005)(47076005)(9786002)(26005)(1076003)(2616005)(336012)(426003)(478600001)(8936002)(36860700001)(2906002)(186003)(7696005)(2876002)(8676002)(356005)(83380400001)(6916009)(7636003)(40460700003)(5660300002)(4326008)(54906003)(70586007)(316002)(36756003)(41300700001)(40480700001)(6666004)(82740400003)(70206006)(102446001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6476 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN8NAM11FT049.eop-nam11.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 73ed2f2f-fd9e-4c7f-29e4-08da656dc52b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eX+IsB6dm8c1Btsds/1qZrrAQCirOslf1iEMst5IZku0Ir5k44BUaaRattFbJirCcHe2yu9jwbm2vBuls8hvBKpltDXPhu8TdqrMCmXKsF15mUTk34RteIZ/zPwQzDPj+QLkV8XeMsepa8zR16/s22HCoQds6cgwnMyfcuZxZzMdd4E8Adv5XPnyYv6a9ha9093bmdxyVXzvXPv7X+uX0th7tMhV10HIvLhs0/YNX3WedmEuUnc9Q4S/xQuPDMvSaZuOJTJNi7KUzRQYlozujALEUQrFn2IHSUmSP+wZbTjYgSSq+sXBjKQh7qiQO69XLMBGGFtxUnt9C9GI4tMNI4EJzFk8tsoVxpaLTHQuvTNv0tOhufv0aMw2EnPd3VSRaqBbW2gT4BJhHRJ1fcCsx38moMkBwNXN8IayUXve4I0BZtNGTQ82k1ErrRabHMtGwvmLBGQEP9mIwGAQGq5dXgbZQgCJeIi1i8fXL4hK9BnAfGPZshKxDQLRYhT3x4CR9MbX7TLV1D2h9IZA63zFDFIu7MQRdLinxXOwTsd7DdzxSWS9VGilBuLiKI8MXK5fnHZxsaC4RgvclatjnwAc8Iu/5SUEHkHwPffh6WOlApvPsUTyqnS8RhYwTH9iH5c7St/s6Et9sSDXEX0UqsTestoAjV/UBkrvlrA3p0v1YHTv0VMHI1W3eUqvfvi/H4jLiBOs8QnBGBze9q/QyD54812cQxoX2cSAiHLV0h8gX8Sj9W6jC9YCm7Ju31HULAZYhO/Y+cEejhA/l6Io0p3B3X6U6YSlMHiaCAPbOa1bqRupCxMrBHXSsusXE6cUNzENEolLuAxeiXyf7bFwyMZAjg== X-Forefront-Antispam-Report: CIP:20.83.241.18; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(346002)(39860400002)(396003)(136003)(376002)(36840700001)(46966006)(316002)(2906002)(42882007)(6666004)(41300700001)(6916009)(8676002)(54906003)(1076003)(26005)(36756003)(426003)(47076005)(70206006)(7696005)(4326008)(186003)(2876002)(336012)(81166007)(9786002)(83170400001)(82740400003)(2616005)(40480700001)(83380400001)(8936002)(82310400005)(5660300002)(478600001)(36860700001)(102446001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2022 07:52:17.9625 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97bbe4e8-275e-4394-0d04-08da656dc676 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=[mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-BN8NAM11FT049.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2395 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 --- 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