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 A937DA00C5; Thu, 14 Jul 2022 09:52:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82A4D42B79; Thu, 14 Jul 2022 09:52:24 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2047.outbound.protection.outlook.com [40.107.243.47]) by mails.dpdk.org (Postfix) with ESMTP id 0659742B79 for ; Thu, 14 Jul 2022 09:52:23 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=PsEwgj4+y+fWb9/s3Zz0w89LzPqabDhyjyg1wgQX86QTm/7RZNSuKY0jaTVXUvc094LMQ16sz4L0Q9r+/T4+88+F9zNiN2szIUHpyKH+gEKn5jE2LmJBi5MmxtMdlAoEYMCWPzC5S8R0IWZGF0r+bP8biZJKFFUW2IsUAkM9D6xOBBbLT721hjiv7QEMEbdkTjM5LYxzo3osGp1Wh2Qt7ii42CvjxECSCsxRx4mVJLklZVwsmfIWIYS4QQm3k4GK9nNKVGbAEC1Qd5Y/o6snfbJP0TqMKVuHwd5Y7bjjllTmm1RdZUeGyjyO82RuBzqWTrmLQvtzPu5Zrcp81xBGFQ== 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=3tRrITCPgZvYU6gonZC1T3uXI7lIdNfEldTWgWnYQ/I=; b=j2QmSqMPnijsbz5wpSMYFz6zBxOVlZR9pFGPWdu57+UyFz7jkLL4OkRxIu8h3DML9SUm5KaPKHprDAkD2tCO3dPbFaG+tUiuD4PdwMCGzoGRpjBLPJDTKmkeLjjkbbBmnYZ5OlzqqGaieP5I5MJ+Kcyd018S649M3/FPzsbFMwDz3E0/D7Npt9AiwRo0OBvF9ePcdapkSQFEuoRiOMzIQHJnfadZPUXbn7Xr9oVGIDW3Z968agY19cMmZw7UYbFL1nsLKsRxFwNgA99yBAQvvR0Gw/1rYFePAPNu3UjV2WxevlxoGKKeyeAZErBdBAg27hn8OLbF6idjG01vyZyKlA== 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=3tRrITCPgZvYU6gonZC1T3uXI7lIdNfEldTWgWnYQ/I=; b=PBLEtv0XriRYh5ZNkUlNG6arF6wsFRcW1WhZfrydNN8FAhj6jFirwgW4a/mmqht2YWkn44OSLqMpdXA+MTDpIlU1SdXs+8XvFrvNg4JNVfJ68yjxQ1Av6cQL0dMU4TrgoxSbdyzrSJy7QqH6gRqwac8lq2lKjFxSapJO+USDdzXgFn8UR9C/wwNhloB99H5DWRnzW+7uTBqg2YNhylSWphxrIwOOTk3toDztnQkLtU5HbunacOMNJJS0wZRwykVupF5jimuCgNuCab+D7ysmn1QtxuraiZj2GXdg2Xg3erVziI2pAAV4HLR5AsEp7dvbSuSTRKKVsyLSD7hwpA1idA== Received: from MW4P220CA0028.NAMP220.PROD.OUTLOOK.COM (2603:10b6:303:115::33) by DM6PR12MB2651.namprd12.prod.outlook.com (2603:10b6:5:42::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.23; Thu, 14 Jul 2022 07:52:20 +0000 Received: from CO1NAM11FT049.eop-nam11.prod.protection.outlook.com (2603:10b6:303:115:cafe::b5) by MW4P220CA0028.outlook.office365.com (2603:10b6:303:115::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26 via Frontend Transport; Thu, 14 Jul 2022 07:52:20 +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 CO1NAM11FT049.mail.protection.outlook.com (10.13.175.50) 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:20 +0000 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2177.outbound.protection.outlook.com [104.47.59.177]) by mailrelay000001.14r1f435wfvunndds3vy4cdalc.xx.internal.cloudapp.net (Postfix) with ESMTPS id 796EA41D7A; Thu, 14 Jul 2022 07:52:20 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EOG7HhZ2i8yC0MmgRseNFWc6HwoNLsrlljp75XQMi+bvLSXINmbmPGqXFvpWAE7enlkW88hVoMxhW43XkNRcNOiyl4svuHMmchIqkZObvwNtw6Gs4ZTsscSqbHrsEGua5B7xapPr1tcyLn/LFd/v4DT93VdSKICVL0Pr7w8pvbrC5Kr1WuKAs30vHKpBvgtIiiwNdYXrRqo9F550eiyhUN+MrjvLCqYaQ+ZghHqQyVPLFAzmawL9RlwlCSTCQCtOtkszAVzMac0qr7QzHxoEeESwODzHYy9x0SdHPs2HJoVpGj30X8C3P259+S0ezzs2NtyCl44DKjLqezcyfYqkBQ== 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=3tRrITCPgZvYU6gonZC1T3uXI7lIdNfEldTWgWnYQ/I=; b=QXmkw9vO/opDt1YvWoTjyrMn25GOnjIVRHYNrj0/jxm/z0g7/cxld8ij2Chb1ShFLHm9TZnKwLJYkIIMGSFBzMZVSr8tQHXCDMeejrcbNUCzzJyJfALGkZ4M3/3D5jPz7iDk2dyE77VUOuV4zN/+IAr7hxPtngTGmMDyM6juUzNDe0+pc5kvMoeYjObtM0XUwcuAmnWOsfzKYDmap4LNsN+nCp++5fUpRadK7e8NHJO789vZtWLOk7IA4A5FEvON/XWqj6109+Sg8zIkhUX1yYPzikdBzUgLASfhZIZMHj0V1S68lxSPLbyASdOr9WU2rRezvBPdLY/hQ8I2r6LXGQ== 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 DM6PR02CA0102.namprd02.prod.outlook.com (2603:10b6:5:1f4::43) by DM6PR02MB4969.namprd02.prod.outlook.com (2603:10b6:5:fd::21) 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 DM3NAM02FT043.eop-nam02.prod.protection.outlook.com (2603:10b6:5:1f4:cafe::82) by DM6PR02CA0102.outlook.office365.com (2603:10b6:5:1f4::43) 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:18 +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 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 07:52:18 +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:17 -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:17 -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 1oBtdx-0002Lo-0R; Thu, 14 Jul 2022 00:52:17 -0700 From: To: CC: , , , Abhimanyu Saini Subject: [PATCH 4/5] common/sfc_efx/base: use the updated definitions of cidx/pidx Date: Thu, 14 Jul 2022 13:22:01 +0530 Message-ID: <20220714075202.31826-4-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: 4bfcbdc4-92be-4bdd-e6b2-08da656dc7f1 X-MS-TrafficTypeDiagnostic: DM6PR02MB4969:EE_|CO1NAM11FT049:EE_|DM6PR12MB2651:EE_ X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: nkaWJwfnfQW4F3b+nnTIaAPuVtUQecmv+7n6Kg8lQiMW404ahusueuuVwwxMNfQ9bGhMvVgxYH13V20iXA60Gg17A8u2nzrKfTOmXM+X4XrPayvNht5ZdHuVPI35Jc8zv+/DztxxUkLPwuLPw+aHnn/WW7xrK7C0njCZivvLwYGh8Xytz2NPJd9rosG8RSoHIknPxTYgoHlER+99VlvOsl9wL772w4KwQKBm2N+apWRhYwzUFUFwr3ib0gfhwknBEMHOfmQ9XlhbINii6Zlg8Q5G60o6asAqYfIV2Fkqoy2eXhMa/UFMMEUege5ba0cYneXsfsu+qD7KQn40c+sl2XNXoq18eHLHJWc9lhpBOEgFOW+MDScuLQ6nl8eGks+u8pGZeJ6VSVKD0f39MojYyCiGFvzq1qWJzub8s8nVzk6Ru7CTimGqZNaqziPtNTQVdWUWQVCPzVc2WBzFxr2KLUnZE4KiIOUkir7gaWXaLSUCehcVNTCYQorIPdn0sMO87AlzfrcpAAQiA/+02WEL5N4OW4srcnbetZC1/DibvjkpeHlC/J+9f6atQzM67sQfGFex3/zbJwIebkTHMov2gebk0gxOEabItsv7j6ibN+Z6k459bRjbpbF0GN0nr8dG0w67gJ70y7pfa/wzluI3N4uCMrarq9ujQVUI/8tt2gdcDzP2SfYlbwd7nyR9xuPph0cC2IB5RQGiRX+KCssLg0GgKtPfyxv4eqd8xmFKMWaOZ8znNdmuezT2WSgeAgoDVvv9WBoTKn0sYMh5XTNVFE+L95YjugxV94eg1RC8GObRtTIO6sM3pfAemVF77v05tXQsWRqOJ7ypR2yji+xncRkbh5070EJsZyufHjOPLUg= 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)(346002)(376002)(39860400002)(136003)(396003)(36840700001)(46966006)(40470700004)(2876002)(6666004)(40460700003)(186003)(83380400001)(2906002)(5660300002)(40480700001)(478600001)(7636003)(82740400003)(8676002)(4326008)(54906003)(70206006)(26005)(70586007)(36756003)(356005)(36860700001)(41300700001)(7696005)(6916009)(82310400005)(1076003)(2616005)(9786002)(8936002)(47076005)(336012)(316002)(426003)(102446001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4969 X-MS-Exchange-Transport-CrossTenantHeadersStripped: CO1NAM11FT049.eop-nam11.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: d2e04806-c1f1-4fc2-e3c8-08da656dc6b7 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NqrQ2OKZ9EAqj0seMVckBJgj7AmDRC0P3Fn2ycNYw63KqSpQz4dMDcV7VHUepsoaa0MWMzEK3SPD7/Q+zaNPsIksjx0Q80ffb2W0yag/rAbtM/e/YGwaqzgxk1oMada8zGHTeu04+ffCsA3gKQWOvbElMUrxTAwJEuDHVIN0Ff68X2figMGFvRHTPzmkVwzmCguvJ7FYI70fIemChzlRS0+Vbme/iY0GauNMDm/l6XdyvllBoltWOqDLeDHIS+WoPrihWpvAgeBp6LuzQH6ydgnPdztNMa0+SEXaCeyhzCU567r0RP7tDJ7HVO7o1Bmpp2pkwqJSIQK9ctNOZF+py9buGPmAPvEwpOUIlDf01tNVFHpgjmj/9KZ7sfkX/1bkDWIUehDZ6BA4luS9+OQe9qD1mP7HgzLSX6/1lfoCKvjUMtPiCPxWSO/jzcFcZXGGm2LpW59aRIbc38tElITGrfuC1eljcB3iQdJrA75/KLPYRD4LBYUalXrxCQrxVQ3jdAI0D9jLAezx+OioYX9W1LiWS8qJOwIKIhj+JeCWvuS2sPt7+M/WziTxZNzvgZg/9BDL1RboA+/j05UBwOHIzbQy2X9vE9Dvi9ebmU5yBHOu2nbbPaaC/6CkUzI0x4qefHqNVZNrEF2bf+2c92UrDiYpqWSYsO40637pXRySLOJzXWshVNMSc7GWG7ED8dEsba7Nfq+tNZxO49TsTVE8XxLEdpoTV2hJsVCCsLKILr6v468D4R20+NUNV0zAG3r0zxtdbnNJnn/a0Fiqg3mS9ATcuXoEoRYtdtOf3SeAL2vjp1A3hg6GqfBbV4yrDnRZt2rDZ+rT7MiQGvzrFTP+MJhmdsRJ/RPz93F+TvJVpGU= 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)(396003)(39860400002)(376002)(136003)(36840700001)(46966006)(82740400003)(81166007)(36860700001)(83170400001)(70206006)(36756003)(54906003)(2876002)(316002)(6916009)(42882007)(426003)(186003)(5660300002)(47076005)(2906002)(336012)(2616005)(6666004)(83380400001)(41300700001)(26005)(4326008)(7696005)(478600001)(82310400005)(8676002)(9786002)(40480700001)(8936002)(1076003)(102446001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2022 07:52:20.6237 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4bfcbdc4-92be-4bdd-e6b2-08da656dc7f1 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-CO1NAM11FT049.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2651 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 Change cidx and pidx definition to mean used queue and avail queue index respectively. Signed-off-by: Abhimanyu Saini --- drivers/common/sfc_efx/base/efx.h | 12 ++++++------ drivers/common/sfc_efx/base/rhead_virtio.c | 16 ++++++++-------- drivers/vdpa/sfc/sfc_vdpa_ops.c | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc_efx/base/efx.h index 95f5fb6..c19205c 100644 --- a/drivers/common/sfc_efx/base/efx.h +++ b/drivers/common/sfc_efx/base/efx.h @@ -4886,17 +4886,17 @@ extern __checkReturn __success(return != B_FALSE) boolean_t typedef struct efx_virtio_vq_dyncfg_s { /* - * If queue is being created to be migrated then this - * should be the FINAL_PIDX value returned by MC_CMD_VIRTIO_FINI_QUEUE + * If queue is being created to be migrated then this should be + * the FINAL_AVAIL_IDX value returned by MC_CMD_VIRTIO_FINI_QUEUE * of the queue being migrated from. Otherwise, it should be zero. */ - uint32_t evvd_vq_pidx; + uint32_t evvd_vq_avail_idx; /* - * If this queue is being created to be migrated then this - * should be the FINAL_CIDX value returned by MC_CMD_VIRTIO_FINI_QUEUE + * If queue is being created to be migrated then this should be + * the FINAL_USED_IDX value returned by MC_CMD_VIRTIO_FINI_QUEUE * of the queue being migrated from. Otherwise, it should be zero. */ - uint32_t evvd_vq_cidx; + uint32_t evvd_vq_used_idx; } efx_virtio_vq_dyncfg_t; /* diff --git a/drivers/common/sfc_efx/base/rhead_virtio.c b/drivers/common/sfc_efx/base/rhead_virtio.c index 7f08717..5a2ebe8 100644 --- a/drivers/common/sfc_efx/base/rhead_virtio.c +++ b/drivers/common/sfc_efx/base/rhead_virtio.c @@ -95,10 +95,10 @@ evvcp->evcc_features >> 32); if (evvdp != NULL) { - MCDI_IN_SET_DWORD(req, VIRTIO_INIT_QUEUE_REQ_INITIAL_PIDX, - evvdp->evvd_vq_pidx); - MCDI_IN_SET_DWORD(req, VIRTIO_INIT_QUEUE_REQ_INITIAL_CIDX, - evvdp->evvd_vq_cidx); + MCDI_IN_SET_DWORD(req, VIRTIO_INIT_QUEUE_REQ_INITIAL_AVAIL_IDX, + evvdp->evvd_vq_avail_idx); + MCDI_IN_SET_DWORD(req, VIRTIO_INIT_QUEUE_REQ_INITIAL_USED_IDX, + evvdp->evvd_vq_used_idx); } MCDI_IN_SET_DWORD(req, VIRTIO_INIT_QUEUE_REQ_MPORT_SELECTOR, @@ -161,10 +161,10 @@ } if (evvdp != NULL) { - evvdp->evvd_vq_pidx = - MCDI_OUT_DWORD(req, VIRTIO_FINI_QUEUE_RESP_FINAL_PIDX); - evvdp->evvd_vq_cidx = - MCDI_OUT_DWORD(req, VIRTIO_FINI_QUEUE_RESP_FINAL_CIDX); + evvdp->evvd_vq_avail_idx = + MCDI_OUT_DWORD(req, VIRTIO_FINI_QUEUE_RESP_FINAL_AVAIL_IDX); + evvdp->evvd_vq_used_idx = + MCDI_OUT_DWORD(req, VIRTIO_FINI_QUEUE_RESP_FINAL_USED_IDX); } return (0); diff --git a/drivers/vdpa/sfc/sfc_vdpa_ops.c b/drivers/vdpa/sfc/sfc_vdpa_ops.c index e4cde34..426c7ac 100644 --- a/drivers/vdpa/sfc/sfc_vdpa_ops.c +++ b/drivers/vdpa/sfc/sfc_vdpa_ops.c @@ -260,8 +260,8 @@ vq_cfg.evvc_used_ring_addr = vring.used; vq_cfg.evvc_vq_size = vring.size; - vq_dyncfg.evvd_vq_pidx = vring.last_used_idx; - vq_dyncfg.evvd_vq_cidx = vring.last_avail_idx; + vq_dyncfg.evvd_vq_used_idx = vring.last_used_idx; + vq_dyncfg.evvd_vq_avail_idx = vring.last_avail_idx; /* MSI-X vector is function-relative */ vq_cfg.evvc_msix_vector = RTE_INTR_VEC_RXTX_OFFSET + vq_num; -- 1.8.3.1