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 383E3454EF; Tue, 25 Jun 2024 13:23:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C75F42FB2; Tue, 25 Jun 2024 13:18:18 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id BA379427DE for ; Tue, 25 Jun 2024 13:16:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719314217; x=1750850217; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cslgfxE5NRwR9qDwwakToykGJqsc5CG7TSnTYT7wRW0=; b=TiIBNzL8/ES4jHqSmqeB2HFiv/FrzC2F9osJezIwC6fcy3B+IYxvdeMC imE13oVwUECv8C/ODAQ2EEOGg4E6xUzQLbDKXwQt6ECdxTfYsJ1i2YYym 7OA3Gu+iNvbtw0NzWdC0wfcTp3e+uI4SRQ/x2r61B9Md1J01EgTyJPUXC qhNLqEXgna2O+xAEkS38wwt2hjjryx/S0IbhoZSrUSe5Hrf99ZdXM9JGO 4g5e3GN8aHy36k+Q1bNaQzVwHbR7+Qk9aVo1lNFd54iPejxqRAH4oEuKl E8JWHS2P8agAI1NwwLHNWeFF4Cb+AsV0kFEzy/JIvly9rqXZNiedUmowQ Q==; X-CSE-ConnectionGUID: gYw7ta+FS7yjkTLfj/WgTQ== X-CSE-MsgGUID: WXOyDLLgRVefq/Cvww4j3Q== X-IronPort-AV: E=McAfee;i="6700,10204,11113"; a="16080352" X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="16080352" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2024 04:16:54 -0700 X-CSE-ConnectionGUID: izyzKK8wTL6Rc3GAnq40Tw== X-CSE-MsgGUID: JqCfciqbQi+LwULvmENygQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="43719420" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 25 Jun 2024 04:16:53 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Stefan Wegrzyn , bruce.richardson@intel.com, ian.stokes@intel.com Subject: [PATCH v3 071/129] net/ice/base: make ice_clear_vsi_q_ctx() non-static Date: Tue, 25 Jun 2024 12:13:16 +0100 Message-ID: <2a319c9245c09cda4156a9b8e42e1e06e489c24a.1719313663.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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: Stefan Wegrzyn Driver tools need 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 9f7fceb85e..97e351e89e 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -3120,7 +3120,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 ec4a63819c..41004a38b1 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