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 8358FA00C3; Mon, 15 Aug 2022 01:06:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18FCD42C32; Mon, 15 Aug 2022 01:04:03 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id DD10B42C33 for ; Mon, 15 Aug 2022 01:04:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660518241; x=1692054241; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3ZWMWZPSefuWyo8h73tzB1bqnNx/P3gSNGzWNiA+R1c=; b=Fw55ymP6JjWv702wifM8qXPSgOuAUdieC+Z50eZJFEM//RM746EbMAWg +z/847WmBAZdGfkiB0OrDfqs256+45kpJK6izcrNDsAtLGpKaKog6T6Xy dizNMxZYkljQeDy8sTROPyWxNr23cadUNkALoCxfP2W7RgEQcC+hBRBL0 1MjfOV8JToS3sJG3EwTfhdk9tsFIPgELnRYVRQtGEk0VsZXxjU9MaPLha pEKKpDD4l0wi6eZ4o3nDKWftJfLHxr2W5vz6xkHsCi5vDise7louU9aqw JgJ+4tcS54H54bCm03YlsN7bNH+T3uEX9Xw0TZZsmRNKyGZcyUgsq/Vly Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="289427605" X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="289427605" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 16:04:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="934296709" Received: from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4]) by fmsmga005.fm.intel.com with ESMTP; 14 Aug 2022 16:03:59 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: dev@dpdk.org, Qi Zhang , Junfeng Guo Subject: [PATCH 31/70] net/ice/base: move function to internal Date: Mon, 15 Aug 2022 03:12:27 -0400 Message-Id: <20220815071306.2910599-32-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220815071306.2910599-1-qi.z.zhang@intel.com> References: <20220815071306.2910599-1-qi.z.zhang@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 The function ice_disable_fd_swap should be defined as static. Signed-off-by: Junfeng Guo Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flex_pipe.c | 2 +- drivers/net/ice/base/ice_flex_pipe.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_flex_pipe.c b/drivers/net/ice/base/ice_flex_pipe.c index 0840b976aa..aea0d97b9d 100644 --- a/drivers/net/ice/base/ice_flex_pipe.c +++ b/drivers/net/ice/base/ice_flex_pipe.c @@ -3133,7 +3133,7 @@ ice_add_prof_attrib(struct ice_prof_map *prof, u8 ptg, u16 ptype, * @hw: pointer to the HW struct * @prof_id: profile ID */ -void ice_disable_fd_swap(struct ice_hw *hw, u16 prof_id) +static void ice_disable_fd_swap(struct ice_hw *hw, u16 prof_id) { u8 swap_val = ICE_SWAP_VALID; u8 i; diff --git a/drivers/net/ice/base/ice_flex_pipe.h b/drivers/net/ice/base/ice_flex_pipe.h index 777790a9c0..8fde36dfa6 100644 --- a/drivers/net/ice/base/ice_flex_pipe.h +++ b/drivers/net/ice/base/ice_flex_pipe.h @@ -38,7 +38,6 @@ bool ice_hw_ptype_ena(struct ice_hw *hw, u16 ptype); /* XLT2/VSI group functions */ enum ice_status ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig); -void ice_disable_fd_swap(struct ice_hw *hw, u16 prof_id); enum ice_status ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id, ice_bitmap_t *ptypes, const struct ice_ptype_attributes *attr, -- 2.31.1