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 D8AF8A00C5; Thu, 14 Jul 2022 10:45:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D4A9642B95; Thu, 14 Jul 2022 10:45:22 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 9329A41156 for ; Thu, 14 Jul 2022 10:45:21 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=R0I09bS5peyVZxwXwnsiMkta8h8sNh/UB4kh3jAE7p8hbsJKU1wgiaAHjKC4IihP71hP0E/ChKKiM9IogBvPxYs2O8802OBySn22XYaUp78eqJEmsvAw+jVpdD0cUX8Mpbo9ZQ1+2Y1zaA3VHd4ona5Iw/vtEecBXVmYOleNtHVsh52hlTBDELkHpnRazwmPt9ZNZqp9NbjnM6mFf2bn1UoQcALHFuTFyvmzA6YLf0JRU8QZelKRPLJlQANAkFgh/qZ+T3x2a9LrQL/3hoo4bwRxH9NKgoBgx3Ki6uVeQx+3d4pVZhzUNXcUsrOV3xuokoG0BFOKLIGZ/QMRrKbDcQ== 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=4oOixDH0fbVGkGjhkmovqbjCI20b5e5TTTUVbHSY1hU=; b=ic1gohRsFN5TQSyfiTr7j/shS/Wfs2ntA0NmCGqyPOXCa2jawbaVc++saEilTiGurP7kQn15IRwoAToxURkVm3qn9urMc+7YJkmjNPXBGf3PzJpEzMhenMacE5n+tW8uVG5tKeECO7bCng8BtxP6ksJaNlmxSBaBhA5bROCgQC7cIzKOvKNsDfux2PMmKksVWaWXNT0cjtImQLyCIHw9jyzMrDAIw3+SxsAu1qdnQsSB5HqHhWiUEAkYKneSEzwvQDRUfC4xCqLoCfSQiLaKSz2g5Tn0cRqemzlpub3rBcQmJk5Q8W0oGomXIZrPDNrLEDpj2oPKwPXIbWMhcSnrYw== 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=4oOixDH0fbVGkGjhkmovqbjCI20b5e5TTTUVbHSY1hU=; b=MJBfNHkgSadnC8xJHC+sVRrGq4iHFeJPc6sV695OnBq019XExcpuEiJ/4sIpSykIxJ7sjkhgGWYcm97U2hOf/BGxebxBM7ALiTcn/LrwAfBWiIGMGUHXEmq5S16q8LXqDRy2KW43J75Kut1jhfLhXrm9TiIwR3OcyWbs7CWuK+M5RbQ+KClSznbv43MVzQexc+eD0gY5OOjjqJwW86iGJ2e1/kvRuvSol/W46DHQ5dlQXxH0Ck+sJ4ZNNEKtrfrweko5WVbkK/Cj6ylUnS1si7RhwPp+gkmVYYfaJYwKM1M+oS7J1UfajeWnIwK5yWjjRLrX4q5vuQf79j0Nx5H0mw== Received: from DS7PR03CA0223.namprd03.prod.outlook.com (2603:10b6:5:3ba::18) by DM5PR12MB1370.namprd12.prod.outlook.com (2603:10b6:3:76::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.25; Thu, 14 Jul 2022 08:45:19 +0000 Received: from DM6NAM11FT056.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3ba:cafe::41) by DS7PR03CA0223.outlook.office365.com (2603:10b6:5:3ba::18) 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 08:45:19 +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 DM6NAM11FT056.mail.protection.outlook.com (10.13.173.99) 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 08:45:19 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (Postfix) with ESMTPS id E13DE41F7C; Thu, 14 Jul 2022 08:45:18 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dg5c8P1tl9ttSzrSnA1KKKDcHwbmxeibd7/2+I9JbVuYJvxLvylw4CTKAENmiEfflzGnLjxg23JryKqEMdhkflbMnQ0wl8dmrnEampABeH8zoP5nw5L6S5i5oX/g47KlCkKz/5r8wQkMdzlUuDG7iebnSpLutGlTlR9XPF2vAPh+R8qQvSmf8m9rhBnDEWNUScNetwVN1VENjMkFxPyfFx7z390JKKMtSHv9UYjBiHxT5rYGE9r2FNAL2gQRp9kZzR9oS70QevPD2Pzuwk8QrtbHH+WaQBtgYgjVNPjyY3Lvw0NmZAdOir28e65gzFKyWpzPffzm+RWCzm5FpDPXdA== 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=4oOixDH0fbVGkGjhkmovqbjCI20b5e5TTTUVbHSY1hU=; b=hqjgylrCTYBZzTXKaPfczRl4eVY4pHIV/q6hZ453bkLxYtg5kOcd7z3BgB8y4dv+aiczbUAbDeq/uRE2mWkXKx+K4ChSNvpk8o3ydzsYrYdsGUf7mKdut6f4g3YHp2tkz/RsBskYU3I3riOSeHW2+lKWI+3wVTgZudjyiwO3WXpKF7s81AUFlMjTG5KP9vMaGMqyBw40FMBoogg423cfkCTHyGr21//0AsxU174zAAXHwprnmyTu7SotPWprZZ8g7cHFKRwiSRezZUwjcdwlmMnf+H4rnjITbbVHA2GDPqfCzQBBqhdor+8fveMzWjXvIYvKKiqnYJskLfana6oWtw== 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 DM6PR07CA0075.namprd07.prod.outlook.com (2603:10b6:5:337::8) by BL0PR02MB4787.namprd02.prod.outlook.com (2603:10b6:208:2a::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Thu, 14 Jul 2022 08:45:16 +0000 Received: from DM3NAM02FT043.eop-nam02.prod.protection.outlook.com (2603:10b6:5:337:cafe::2a) by DM6PR07CA0075.outlook.office365.com (2603:10b6:5:337::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.17 via Frontend Transport; Thu, 14 Jul 2022 08:45:15 +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 DM3NAM02FT043.mail.protection.outlook.com (10.13.4.237) 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 08:45:15 +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 01:45:14 -0700 Received: from smtp.xilinx.com (172.19.127.95) 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 01:45:14 -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=50766 helo=xndengvm004118.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1oBuT0-0005xh-3e; Thu, 14 Jul 2022 01:45:02 -0700 From: To: CC: , , , Abhimanyu Saini Subject: [PATCH v2 2/5] common/sfc_efx/base: update MCDI headers Date: Thu, 14 Jul 2022 14:14:48 +0530 Message-ID: <20220714084451.38375-3-asaini@xilinx.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20220714084451.38375-1-asaini@xilinx.com> References: <20220714084451.38375-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: 48688793-ab9b-4084-b928-08da65752ea9 X-MS-TrafficTypeDiagnostic: BL0PR02MB4787:EE_|DM6NAM11FT056:EE_|DM5PR12MB1370:EE_ X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: kuyW6uGsPO95YilBI/u9lkyjW11gvFKwlKEmxZZwN+Z2BoeUj6BO9FlOCjFmB3QTdB3EOJ5VXP98UOkFum1oaxm+40Dbf24/BlPkTLMtWLMpea2FHkxvzTpvsqE5YFdnpHPJMjN/wzjGzRmbNMhBIfyPlK8XTuWk9mLCyhz3rr3L03AxnA1FulxM8Qq92H8NNTXJamdE9JBVciXexhJgDaLFhIta2JMSi6T2UZZLfX0S94XQg9MP+pvHKRNLEE3d+eQeGfvlDlntu1saDGSv/4eNjAfQmMQYhhh0XcZs9O4vbU3wbOLIOm7kaNt76iGOC8be2P37hzjLylDdlx+vL8VuHeqlgrCH/uDXag3gPMBDraRWFWOOe3sTUU8T3Q/QJtjt/OvloouF+6GQP6NkCL9RVSHuh85XMAGuYSlyEJTLURKHcuHz3vqKsVFGEmUSLaZm33Tsmagt5Xf2+9TWdnyfD6XrvBZXadW0vuHeMLMHlqsRiB0ptNnKgH3xyXNJ/SmzPgVgZIDFDfzopSpdEvdkEeqMITcJgbOAXRKZciTukqK7akUIX4rr16/eaxrCoQxWchPuCRMpCB4gHcdL+/Y7fB6G5wSKHoqflu8oUGaLTbpM4JYZ0ZopfEavjVH8PA0tBsAqZzq/HSH+toPF3aUKyb8+Np65Lj/5+AmLuWUBqFy4gDfUUJwf3++6VqFnrdmu36eLBLf4p4hZBq8YMUxogvy+jUtCFtToUI2xaAaZGZxzdVBSjzEWiZPq3XRPSfSETSP86QFiByx7BM3Z7iTzm0iGsBYlhhQO3pOI/IiyKYkjl4inDFWYkGHxQldgnaMjTYSWfD6zdQD8fO3YgQ== 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)(346002)(39860400002)(376002)(396003)(136003)(46966006)(36840700001)(40470700004)(426003)(26005)(47076005)(2876002)(336012)(40480700001)(186003)(356005)(40460700003)(7696005)(6666004)(2906002)(2616005)(1076003)(36860700001)(6916009)(82310400005)(36756003)(83380400001)(316002)(8676002)(82740400003)(54906003)(70586007)(8936002)(5660300002)(478600001)(4326008)(7636003)(9786002)(41300700001)(70206006)(102446001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4787 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DM6NAM11FT056.eop-nam11.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 09219465-dc23-4971-efa0-08da65752c80 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zmWmTXbDtSOL7f30MF0HxU3OOp2+C23bAJRA6BZfv57oqzuGlYGuyDjs7GbXoHsCOmALD+tu4J/yGuLHIxnm1onz8nEMrfA8oD/vrULkEWUlfO4caqdCZjWGXKqXxMFx/IE0bzn3sM0ftZchIWfa8AHBIXtGnO1HWIHNucV6LOIXyoIuWVWzFHfZbEX6pH3Axpe6ty5dTcBdW9Pr/WK2K11mcFmROAN+vOYUw3mcorWVARBqPyXH3CkwK4Nh/TU3x5e0H35YfSMjSjvtwBB1LtbdhMI80A9YM+6vEJ5hHd9umnQgPu+Lo5K6xuaVH1yBvxntT6RQs2FuuA2DLuxfhAnwgw3/IzJnyY+2TzXNHbiIAwjF8LrRw/Z2382wGPAByHh6XQOCnuSEvBJft9i26J+H9BCvNgW2JFJNAcM2L/WgrzPcyK6DoA7TfRqgm32BceviWmFOiajF90erqxhP9gsk9zAwnXIKUI+h/VtOp5MxAFqNPxBpsNdo6FcVoZtE9HmSCZ2ggPrNEhhWj7xOxDZUHFxUdF4j3b/i5kK7N5xhmAeiSgJLl7KcrpdkHD67+6u3O3ZEtQKK83pAUpmgad3LzJKRgNdxLZms3YlMmXqOR1QVsqHyqi3EthTi6pj5Lk8PcVu3n2HdtgQvFcBXO9R//ar/kEPPfoXOdkNmH3C+ucesfAOsnqtuhnrgufn9rzdEmrjCOkMQo40cPiLETgkuiaFReyzbjTgoCLIAp3hld+Mc/f6Y9asskYdrr9/mPbb8wejXOw9/ZiYe9OZFUcGGAupjezieDRTASxr/ACNiGnXLI3/jpHKhjGsIl6DY6C55nI7IRW+eXBMId2wE0Q== 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)(39860400002)(136003)(396003)(376002)(346002)(36840700001)(46966006)(2616005)(36756003)(41300700001)(7696005)(9786002)(2906002)(8936002)(36860700001)(40480700001)(6666004)(6916009)(54906003)(336012)(4326008)(42882007)(426003)(83170400001)(26005)(47076005)(316002)(82310400005)(5660300002)(2876002)(70206006)(8676002)(1076003)(186003)(478600001)(82740400003)(81166007)(83380400001)(102446001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2022 08:45:19.3550 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 48688793-ab9b-4084-b928-08da65752ea9 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-DM6NAM11FT056.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1370 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 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 2daf825a36..d1d8093601 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 -- 2.18.2