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 0FC19A04DB; Fri, 16 Oct 2020 10:52:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6939E1D90E; Fri, 16 Oct 2020 10:52:22 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E38DF1D721 for ; Fri, 16 Oct 2020 10:52:18 +0200 (CEST) IronPort-SDR: edT20PuF4kt/T7hJcQsAIgeucp8DdEOYgSFBBHR3P3J0i7sDR+MsQPVnMRosKLdfEjsyrOvMG2 IIGWJQo8cTSQ== X-IronPort-AV: E=McAfee;i="6000,8403,9775"; a="163942914" X-IronPort-AV: E=Sophos;i="5.77,382,1596524400"; d="scan'208";a="163942914" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2020 01:52:18 -0700 IronPort-SDR: M0rHPliglBELRPlTLoeJ6lH7SXsm7Z6JpvnN0EEWXuq5oiBqw1oSn7bGM4UQB7gNzgLv/sMMgM 2Hi6GT4ByD4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,382,1596524400"; d="scan'208";a="522166780" Received: from unknown (HELO npg-dpdk-cvl-simeisu-118d193.sh.intel.com) ([10.67.119.195]) by fmsmga005.fm.intel.com with ESMTP; 16 Oct 2020 01:52:16 -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: Fri, 16 Oct 2020 16:44:17 +0800 Message-Id: <20201016084419.439699-2-simei.su@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20201016084419.439699-1-simei.su@intel.com> References: <20201014085415.177872-1-simei.su@intel.com> <20201016084419.439699-1-simei.su@intel.com> Subject: [dpdk-dev] [PATCH v4 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