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 8E24F4404F; Wed, 12 Jun 2024 17:18:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC44342E45; Wed, 12 Jun 2024 17:05:50 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id A35F142EE3 for ; Wed, 12 Jun 2024 17:05:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204744; x=1749740744; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+vtR2zUyNrJjXJd7tQN3zDeXQZUymURfHpSXoz8NCbs=; b=Ju3WBfpnOjLIk5BeJbosSE5jRfk57wB2Yx9w92aNg8wAhE8xFCcJJDdS HrnvT5xc6tffvXQmN4KMLQZAYoan/2oPR31ZT7UjbJtuBqBSPpXU58V9S gf38lLABohi63wLbOsMuweLJei3YHf+/X7d+hx6s+osTs+aZwz9cd7gIK ihyoOFkHnwWAW0QGYnz3g6jOR54HwIFYuEzxve0xmIRyzVzvhh1yO+YBo YVlD3d5V1t9jPmBEvhPPx8+i/jrg2bSuAc3C6rlhIz5DMITE1e2Yvvi6X MmqEB4yHbC7ZoB5The9rxwT4b6Q90W8NDTTXvM1cWTiDctmQI/57Re5JV g==; X-CSE-ConnectionGUID: xYo70FE3QIWUW+jRXESVgA== X-CSE-MsgGUID: AlhKbn/PRHavbKhm+axq5g== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32459774" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32459774" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 08:05:43 -0700 X-CSE-ConnectionGUID: 2pwLwaewQVGgipNZxYMUdA== X-CSE-MsgGUID: Xm5YclCYTZ+ajua1GJV0iA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39925625" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:05:42 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Ian Stokes , bruce.richardson@intel.com, Stefan Wegrzyn Subject: [PATCH v2 089/148] net/ice/base : make ice_clear_vsi_q_ctx() non-static Date: Wed, 12 Jun 2024 16:01:23 +0100 Message-ID: <0a604c73556ca5e7902a8ececc38096004cfbb5d.1718204529.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: <20240430154014.1026-1-ian.stokes@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 From: Ian Stokes QV needs to call ice_clear_vsi_q_ctx() from outside of ice_switch.c so the function had to become non-static. Signed-off-by: Stefan Wegrzyn Signed-off-by: Ian Stokes --- drivers/net/ice/base/ice_switch.c | 2 +- drivers/net/ice/base/ice_switch.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c index 4c3e8047d1..37c61ed480 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -3125,7 +3125,7 @@ ice_save_vsi_ctx(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi) * @hw: pointer to the HW struct * @vsi_handle: VSI handle */ -static void ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle) +void ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle) { struct ice_vsi_ctx *vsi; u8 i; diff --git a/drivers/net/ice/base/ice_switch.h b/drivers/net/ice/base/ice_switch.h index bba1149528..dc26424054 100644 --- a/drivers/net/ice/base/ice_switch.h +++ b/drivers/net/ice/base/ice_switch.h @@ -456,6 +456,7 @@ int ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd); struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle); +void ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle); void ice_clear_all_vsi_ctx(struct ice_hw *hw); int ice_aq_get_vsi_params(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, -- 2.43.0