From e3092b96f69b44abe22e8e65468c03245b7a9fd9 Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Wed, 23 Mar 2016 15:14:39 +0200 Subject: linux-generic: dpdk: pass ODP_PKTIO_DPDK_PARAMS environment variable to dpdk init Pass ODP_PKTIO_DPDK_PARAMS environment variable to rte_eal_init(). This can be used to pass DPDK only configuration options from command line. E.g. configuring vdev interfaces. Signed-off-by: Matias Elo Signed-off-by: Maxim Uvarov --- DEPENDENCIES | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DEPENDENCIES') diff --git a/DEPENDENCIES b/DEPENDENCIES index 9fee177b6..0091f24ce 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -209,6 +209,11 @@ Prerequisites for building the OpenDataPlane (ODP) API $ cd $ sudo ./test/performance/odp_l2fwd -i 0,1 -c 2 -m 0 + Additionally, DPDK command line options can be passed to the application + using ODP_PKTIO_DPDK_PARAMS environment variable. For example, allocate + 1024MB of memory: + $ sudo ODP_PKTIO_DPDK_PARAMS="-m 1024" ./test/performance/odp_l2fwd -i 0 -c 1 + 4.0 Packages needed to build API tests Cunit test framework version 2.1-3 is required -- cgit v1.2.3