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 2826A440F2; Tue, 28 May 2024 10:18:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEDD840E5E; Tue, 28 May 2024 10:17:36 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 8AD3D40A6F for ; Tue, 28 May 2024 10:17:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716884255; x=1748420255; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=i1+l/Ljviwe1Gne2BoiIRpPyHH038oBwIfu56PVWcDM=; b=QVjyx1dB94PE9K6SBuvjhjaqVzb2sdhUzzN0xUTxmKDhJ1MLsfp8Tyvj /TV/vT+PGfu9aAz3xyDSxdHhmKLgJUCdL3dZ/mHhnbiHHFWn8cXM8xCFn B6K1cAHwVJnyaNy4uboPbtNm3b5i7JF5+mKljPPLp/B1Rw1a2b2DFO5aP f/HQCBfhZT5Uxf4LMtoc3ylw8BTbz3ks9tv9qULQPOxUqVfNuAV/tTYdX vIwzc+CwpNY2V1KGGCmu/M/6uPi4pbs3zba0DeypHCFPS4+Emj8BtWUtC Ew/ZpywgjhCYQMA3p/3BQQqrADu/XAX10vAk6X8CprE9uGLlDx7RPFrHl A==; X-CSE-ConnectionGUID: sEvOAlCuS4SSGR354+RWcw== X-CSE-MsgGUID: yCyyWeYFTdyPEH7mUwoMJQ== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="35728422" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="35728422" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2024 01:17:35 -0700 X-CSE-ConnectionGUID: M+cQsjnSRxGVzmVFSeiJlQ== X-CSE-MsgGUID: N8fLd77QRHuMPo8pQx7SDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="34976606" Received: from unknown (HELO npf-hyd-clx-03..) ([10.145.170.182]) by fmviesa008.fm.intel.com with ESMTP; 28 May 2024 01:17:33 -0700 From: Soumyadeep Hore To: jingjing.wu@intel.com Cc: dev@dpdk.org Subject: [PATCH 19/25] common/idpf: updating common code of latest base driver Date: Tue, 28 May 2024 07:35:59 +0000 Message-ID: <20240528073559.867121-10-soumyadeep.hore@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240528073559.867121-1-soumyadeep.hore@intel.com> References: <20240528073559.867121-1-soumyadeep.hore@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Based on latest implemenation of struct VIRTCHNL_QUEUE_TYPE_RX in virtchnl2.h, qg_info field is removed and its members are updated in the abve mentioned structure. Hence updating the same. Signed-off-by: Soumyadeep Hore --- drivers/common/idpf/idpf_common_virtchnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/idpf/idpf_common_virtchnl.c b/drivers/common/idpf/idpf_common_virtchnl.c index c46ed50eb5..f00202f43c 100644 --- a/drivers/common/idpf/idpf_common_virtchnl.c +++ b/drivers/common/idpf/idpf_common_virtchnl.c @@ -366,7 +366,7 @@ idpf_vc_queue_grps_add(struct idpf_vport *vport, int err = -1; size = sizeof(*p2p_queue_grps_info) + - (p2p_queue_grps_info->qg_info.num_queue_groups - 1) * + (p2p_queue_grps_info->num_queue_groups - 1) * sizeof(struct virtchnl2_queue_group_info); memset(&args, 0, sizeof(args)); -- 2.43.0