From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id ECB1FA04C0; Wed, 14 Oct 2020 11:02:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8511A1D5F0; Wed, 14 Oct 2020 11:02:04 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 8F8651C298 for ; Wed, 14 Oct 2020 11:02:01 +0200 (CEST) IronPort-SDR: RmoedA3rq2Lnv/n4FWrwYr04fk5ybEGgvD6/YRPXHHKVXBi9Gg64noxmUyBA5wlL9cpp3mbpmr cGefLRh2IElw== X-IronPort-AV: E=McAfee;i="6000,8403,9773"; a="145930057" X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="145930057" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 02:02:01 -0700 IronPort-SDR: 1K4VWfX++ArNvynSDIWuqzAX/5Wkcin+BUeq5o85QH12pF19ZtFjqC8WwPGor1fHqZTlArRii7 C7BqPDu93exw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="530746219" Received: from unknown (HELO npg-dpdk-cvl-simeisu-118d193.sh.intel.com) ([10.67.119.195]) by orsmga005.jf.intel.com with ESMTP; 14 Oct 2020 02:01:59 -0700 From: Simei Su To: qi.z.zhang@intel.com, qiming.yang@intel.com Cc: dev@dpdk.org, haiyue.wang@intel.com, beilei.xing@intel.com, xuan.ding@intel.com, Simei Su Date: Wed, 14 Oct 2020 16:54:13 +0800 Message-Id: <20201014085415.177872-2-simei.su@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20201014085415.177872-1-simei.su@intel.com> References: <20200929015632.109364-1-simei.su@intel.com> <20201014085415.177872-1-simei.su@intel.com> Subject: [dpdk-dev] [PATCH v3 1/3] net/ice/base: change API from static to non-static X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch changes static API "ice_flow_assoc_prof" to non-static API in order to let it be used by other files. Signed-off-by: Simei Su --- drivers/net/ice/base/ice_flow.c | 2 +- drivers/net/ice/base/ice_flow.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c index de5dfb2..80ac0b6 100644 --- a/drivers/net/ice/base/ice_flow.c +++ b/drivers/net/ice/base/ice_flow.c @@ -2125,7 +2125,7 @@ ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle, * Assumption: the caller has acquired the lock to the profile list * and the software VSI handle has been validated */ -static enum ice_status +enum ice_status ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) { diff --git a/drivers/net/ice/base/ice_flow.h b/drivers/net/ice/base/ice_flow.h index 0a52409..698a230 100644 --- a/drivers/net/ice/base/ice_flow.h +++ b/drivers/net/ice/base/ice_flow.h @@ -499,6 +499,9 @@ ice_flow_add_prof(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir, enum ice_status ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id); enum ice_status +ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, + struct ice_flow_prof *prof, u16 vsi_handle); +enum ice_status ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle, u16 vsig); enum ice_status -- 2.9.5