X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Flinux_gsg%2Fbuild_sample_apps.rst;h=0cc5fd173c67bc70804a8a70b2d9f2a62bc509e4;hb=43f7ff9de4781fb8d1a93a016fa26d638bf03a0e;hp=29739a5bd4fdeeb5888a86380f0d49794904c200;hpb=35b09d76f89e7d5a4f38a2926cf6915028ed1e56;p=dpdk.git diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst index 29739a5bd4..0cc5fd173c 100644 --- a/doc/guides/linux_gsg/build_sample_apps.rst +++ b/doc/guides/linux_gsg/build_sample_apps.rst @@ -98,12 +98,14 @@ Running a Sample Application .. warning:: - The UIO drivers and hugepages must be setup prior to running an application. + Before running the application make sure: -.. warning:: + - Hugepages setup is done. + - Any kernel driver being used is loaded. + - In case needed, ports being used by the application should be + bound to the corresponding kernel driver. - Any ports to be used by the application must be already bound to an appropriate kernel - module, as described in :ref:`linux_gsg_binding_kernel`, prior to running the application. + refer to :ref:`linux_gsg_linux_drivers` for more details. The application is linked with the DPDK target environment's Environmental Abstraction Layer (EAL) library, which provides some options that are generic to every DPDK application. @@ -113,7 +115,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 +139,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.