From patchwork Thu Feb 1 12:32:22 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: 34835 X-Patchwork-Delegate: thomas@monjalon.net 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 EC4AEA48F; Thu, 1 Feb 2018 13:32:38 +0100 (CET) Received: from mailfilter02.viettel.com.vn (mailfilter02.viettel.com.vn [125.235.240.54]) by dpdk.org (Postfix) with ESMTP id 1D0F9727A for ; Thu, 1 Feb 2018 13:32:37 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.46,444,1511802000"; d="scan'208";a="73674196" Received: from 125.235.240.44.adsl.viettel.vn (HELO mta1.viettel.com.vn) ([125.235.240.44]) by mailfilter02.viettel.com.vn with ESMTP; 01 Feb 2018 19:32:34 +0700 Received: from localhost (localhost [127.0.0.1]) by mta1.viettel.com.vn (Postfix) with ESMTP id 405CC6431F7; Thu, 1 Feb 2018 19:32:22 +0700 (ICT) Received: from mta1.viettel.com.vn ([127.0.0.1]) by localhost (mta1.viettel.com.vn [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id fbSCYCixEvR6; Thu, 1 Feb 2018 19:32:22 +0700 (ICT) Received: from localhost (localhost [127.0.0.1]) by mta1.viettel.com.vn (Postfix) with ESMTP id 1EE976431F1; Thu, 1 Feb 2018 19:32:22 +0700 (ICT) X-Virus-Scanned: amavisd-new at Received: from mta1.viettel.com.vn ([127.0.0.1]) by localhost (mta1.viettel.com.vn [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oD9wmlV64Muo; Thu, 1 Feb 2018 19:32:22 +0700 (ICT) Received: from localhost.localdomain (unknown [27.68.241.28]) by mta1.viettel.com.vn (Postfix) with ESMTPSA id E62496431F7; Thu, 1 Feb 2018 19:32:21 +0700 (ICT) To: cristian.dumitrescu@intel.com Cc: dev@dpdk.org, longtb5 Message-Id: <1517488514-70456-1-git-send-email-longtb5@viettel.com.vn> X-Mailer: git-send-email 2.7.4 MilterAction: FORWARD Date: Thu, 1 Feb 2018 19:32:22 +0700 (ICT) From: longtb5@viettel.com.vn Subject: [dpdk-dev] [PATCH] doc/ip_pipeline.rst: update f_post_init and correct f_track 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" Update f_post_init for pipeline frontend. Move f_track from pipeline backend to pipeline frontend. Signed-off-by: longtb5 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. | +------------+-----------------------+-------------------------------------------------------------------+