From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) by dpdk.org (Postfix) with ESMTP id E506DC33E for ; Thu, 4 Jun 2015 16:47:04 +0200 (CEST) Received: by qkx62 with SMTP id 62so24863965qkx.3 for ; Thu, 04 Jun 2015 07:47:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=qeWBSaJR90cHRVwCod0S9sbEYk0dzFfLxIBShO5istM=; b=WfOxRkkayvoTq16WPHVqpz9KDc8BmGA1f5jrEGV/enl9Fm+AhwAmCFVMU4rbBl5VGC AlWIPe9/hQDHi7GfhfBzrR1UWjpugix2EWIu0uaYnLKEg8aP+L4V2sjph+FZ7FLQTj4S yTMPXfbNnkOuWGmqmR0ngQw3CkzAfpR83HxRdonwYmFfJvEmoyEqS4Qn3KL6Bb9uJIEL 6QOvm+oGHlq2CoAvJN3o8AErx4Ngl6ROa7qJHYWdBl7AOrp2fj3GFEq/zIS7JpRrkHAj V7gmOF7vSwYJXzOr/wMfthUcuEUDgXcFPRknms5knb2Cr1Pf53I1Nfsqqo6wRPIoVVls 7Vow== X-Gm-Message-State: ALoCoQlVPB3VANQkQ9e5pXMh9beBMOnr8DZDwWacZineOuNwBwimJlwSd4j26Ta3J+PVM88AST8Y X-Received: by 10.140.34.162 with SMTP id l31mr43830115qgl.14.1433429224529; Thu, 04 Jun 2015 07:47:04 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id 195sm2445788qhr.13.2015.06.04.07.47.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 07:47:04 -0700 (PDT) Date: Thu, 4 Jun 2015 07:47:04 -0700 From: Stephen Hemminger To: Neil Horman Message-ID: <20150604074704.2ce0514b@urahara> In-Reply-To: <20150604135542.GC24585@hmsreliant.think-freely.org> References: <1433357393-54434-1-git-send-email-keith.wiles@intel.com> <20150603171255.545e0df8@urahara> <20150604135542.GC24585@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [RFC PATCH] eal:Add new API for parsing args at rte_eal_init time 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: , X-List-Received-Date: Thu, 04 Jun 2015 14:47:05 -0000 On Thu, 4 Jun 2015 09:55:42 -0400 Neil Horman wrote: > That said, I'm not sure theres much value in adding this to the API. For one, > it implies that dpdk arguments need to come first on the command line. While > all the example applications do that, theres no requirement that they do so, and > this function silently implies that they have to, so any existing applications > in the wild that violate that assumption are enjoined from using this I found that the only way to support daemon command line args is to put local arguments first, then call EAL to parse it's args.