From patchwork Thu Feb 8 01:19:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: longtb5@viettel.com.vn X-Patchwork-Id: 35050 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 99C3E1B773; Thu, 8 Feb 2018 02:19:09 +0100 (CET) Received: from mailfilter02.viettel.com.vn (mailfilter02.viettel.com.vn [125.235.240.54]) by dpdk.org (Postfix) with ESMTP id A52771B770 for ; Thu, 8 Feb 2018 02:19:07 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.46,476,1511802000"; d="scan'208";a="73825697" Received: from 125.235.240.45.adsl.viettel.vn (HELO mta2.viettel.com.vn) ([125.235.240.45]) by mailfilter02.viettel.com.vn with ESMTP; 08 Feb 2018 08:19:05 +0700 Received: from localhost (localhost [127.0.0.1]) by mta2.viettel.com.vn (Postfix) with ESMTP id DF585692E11; Thu, 8 Feb 2018 08:19:03 +0700 (ICT) Received: from mta2.viettel.com.vn ([127.0.0.1]) by localhost (mta2.viettel.com.vn [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4LWBjtfVMvTc; Thu, 8 Feb 2018 08:19:03 +0700 (ICT) Received: from localhost (localhost [127.0.0.1]) by mta2.viettel.com.vn (Postfix) with ESMTP id BFA09692E19; Thu, 8 Feb 2018 08:19:03 +0700 (ICT) X-Virus-Scanned: amavisd-new at Received: from mta2.viettel.com.vn ([127.0.0.1]) by localhost (mta2.viettel.com.vn [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id jwGxQp17Jzyd; Thu, 8 Feb 2018 08:19:03 +0700 (ICT) Received: from localhost.localdomain (unknown [27.68.241.28]) by mta2.viettel.com.vn (Postfix) with ESMTPSA id 83A41692E07; Thu, 8 Feb 2018 08:19:03 +0700 (ICT) To: marko.kovacevic@intel.com Cc: dev@dpdk.org, longtb5 Message-Id: <1518052913-4862-1-git-send-email-longtb5@viettel.com.vn> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517488514-70456-1-git-send-email-longtb5@viettel.com.vn> References: <1517488514-70456-1-git-send-email-longtb5@viettel.com.vn> MilterAction: FORWARD Date: Thu, 8 Feb 2018 08:19:03 +0700 (ICT) From: longtb5@viettel.com.vn Subject: [dpdk-dev] [PATCH v2] doc: update ip pipeline callback functions 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" From: longtb5 Update f_post_init for pipeline frontend. Move f_track from pipeline backend to pipeline frontend. Signed-off-by: Bao-Long Tran Acked-by: Marko Kovacevic --- doc/guides/sample_app_ug/ip_pipeline.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/ip_pipeline.rst b/doc/guides/sample_app_ug/ip_pipeline.rst index e0aa148..dd0a23f 100644 --- a/doc/guides/sample_app_ug/ip_pipeline.rst +++ b/doc/guides/sample_app_ug/ip_pipeline.rst @@ -876,8 +876,6 @@ The front-end communicates with the back-end through message queues. | | | of some requests which are mandatory for all pipelines (e.g. | | | | ping, statistics). | +------------+------------------+--------------------------------------------------------------------+ - | f_track | Function pointer | See section Tracking pipeline output port to physical link | - +------------+------------------+--------------------------------------------------------------------+ .. _table_ip_pipelines_front_end: @@ -892,6 +890,10 @@ The front-end communicates with the back-end through message queues. | f_init | Function pointer | Function to initialize the front-end of the current pipeline | | | | instance. | +------------+-----------------------+-------------------------------------------------------------------+ + | f_post_init| Function pointer | Function to run once after f_init. | + +------------+-----------------------+-------------------------------------------------------------------+ + | f_track | Function pointer | See section Tracking pipeline output port to physical link. | + +------------+-----------------------+-------------------------------------------------------------------+ | f_free | Function pointer | Function to free the resources allocated by the front-end of | | | | the current pipeline instance. | +------------+-----------------------+-------------------------------------------------------------------+