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 59868A04DC; Tue, 20 Oct 2020 13:41:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 190F1AC56; Tue, 20 Oct 2020 13:41:18 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 29483A9B9 for ; Tue, 20 Oct 2020 13:41:14 +0200 (CEST) IronPort-SDR: D/hifXhp7k1BcIVwxuNgE75hvssj2j1r2GdCe8BGdyZjyDMyEml3nHXLuq6NPocPvE4NNlpQKc CpUz3rL+NRMQ== X-IronPort-AV: E=McAfee;i="6000,8403,9779"; a="184819938" X-IronPort-AV: E=Sophos;i="5.77,396,1596524400"; d="scan'208";a="184819938" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2020 04:41:13 -0700 IronPort-SDR: 8rA9CrehAyJjBUEjI9M3tydrmuWQxMrbpmQG1z25uRIJJvwjN/y3pYTeswYMAs8shSAkJxkigs HM+oqk2Z4ONg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,396,1596524400"; d="scan'208";a="523476244" Received: from unknown (HELO npg-dpdk-cvl-simeisu-118d193.sh.intel.com) ([10.67.119.195]) by fmsmga005.fm.intel.com with ESMTP; 20 Oct 2020 04:41:11 -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: Tue, 20 Oct 2020 19:32:40 +0800 Message-Id: <20201020113242.453712-2-simei.su@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20201020113242.453712-1-simei.su@intel.com> References: <20201016084419.439699-1-simei.su@intel.com> <20201020113242.453712-1-simei.su@intel.com> Subject: [dpdk-dev] [PATCH v5 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