From patchwork Mon Aug 1 05:49:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rao, Nikhil" X-Patchwork-Id: 15062 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 [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id E6AB65587; Mon, 1 Aug 2016 07:55:28 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id EF0A33777 for ; Mon, 1 Aug 2016 07:55:27 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 31 Jul 2016 22:55:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.28,453,1464678000"; d="scan'208"; a="1017345573" Received: from inteluser-desktop.iind.intel.com ([10.224.122.91]) by fmsmga001.fm.intel.com with ESMTP; 31 Jul 2016 22:55:23 -0700 From: Nikhil Rao To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, john.mcnamara@intel.com, Nikhil Rao Date: Mon, 1 Aug 2016 11:19:48 +0530 Message-Id: <1470030588-7825-1-git-send-email-nikhil.rao@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch fixes a typo in the eth device API doc, device config. not stored between calls to rte_eth_dev_start/stop() should be restored before a call to rte_eth_dev_start() instead of after a call to rte_eth_dev_start(). Signed-off-by: Nikhil Rao Acked-by: John McNamara --- lib/librte_ether/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index b0fe033..099aeb1 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -118,7 +118,7 @@ * - NIC queue statistics mappings * * Any other configuration will not be stored and will need to be re-entered - * after a call to rte_eth_dev_start(). + * before a call to rte_eth_dev_start(). * * Finally, a network application can close an Ethernet device by invoking the * rte_eth_dev_close() function.