From patchwork Mon Mar 27 12:32:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pattan, Reshma" X-Patchwork-Id: 22439 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 43ACBFAE0; Mon, 27 Mar 2017 14:32:23 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 09882FADE for ; Mon, 27 Mar 2017 14:32:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490617942; x=1522153942; h=from:to:cc:subject:date:message-id; bh=XPbbm//GWC2PymLusUR6n2g3YKkNV1U2YThIniaEQrM=; b=nVf/Flra6HHEjMzm3eiTXeMiWQl6SIYdEUMC0v3hklHYWpEebWSGtTim cLf4Xhen9et5d40LFcU+dR9krXJK5Q==; Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Mar 2017 05:32:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,231,1486454400"; d="scan'208";a="70925097" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by orsmga004.jf.intel.com with ESMTP; 27 Mar 2017 05:32:19 -0700 From: Reshma Pattan To: dev@dpdk.org Cc: Reshma Pattan Date: Mon, 27 Mar 2017 13:32:17 +0100 Message-Id: <1490617937-12063-1-git-send-email-reshma.pattan@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] doc: add option to install PMD driver shared library 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 the document with the available EAL command line option to install the pmd drivers that are built as shared libraries. Signed-off-by: Reshma Pattan Acked-by: Ferruh Yigit --- doc/guides/linux_gsg/build_sample_apps.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst index 29739a5..12fefff 100644 --- a/doc/guides/linux_gsg/build_sample_apps.rst +++ b/doc/guides/linux_gsg/build_sample_apps.rst @@ -113,7 +113,7 @@ The following is the list of options that can be given to the EAL: .. code-block:: console ./rte-app [-c COREMASK | -l CORELIST] [-n NUM] [-b ] \ - [--socket-mem=MB,...] [-m MB] [-r NUM] [-v] [--file-prefix] \ + [--socket-mem=MB,...] [-d LIB.so|DIR] [-m MB] [-r NUM] [-v] [--file-prefix] \ [--proc-type ] [-- xen-dom0] The EAL options are as follows: @@ -137,6 +137,11 @@ The EAL options are as follows: * ``--socket-mem``: Memory to allocate from hugepages on specific sockets. +* ``-d``: + Add a driver or driver directory to be loaded. + The application should use this option to load the pmd drivers + that are built as shared libraries. + * ``-m MB``: Memory to allocate from hugepages, regardless of processor socket. It is recommended that ``--socket-mem`` be used instead of this option.