From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id ECA1EC166 for ; Tue, 16 Feb 2016 17:38:11 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id g62so116987164wme.1 for ; Tue, 16 Feb 2016 08:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=r4V3+BpmW354PFNxxlXxAC4RRtfz7fYvcCQ2dwbK+Gw=; b=QDuVb3C7CCr3uKQpkzpDb21DXc4deBxsZpMjtUsn0OeOQuL6mNGpB03N+oYHrvr9Ur l6FqOo3RKb+gHETs/XNAea1FMoQsDrAIeJADy7P8bi5IlLaBgP00W6dtjvd6hXR0TwA/ Pc53cnDT6PC2SAkLPyVaOpCJESgL42r5t4KhmMVYCP9NzM/HmbjdQ1Yevf4HuF3qNqsL EfZbqp3bEnP3XEXmn0NiV+VnFS05TrsU9emRmtIKaqcp6LykO+JoKhbDkvAzD5k7+O6y QKsxDaBSX/mDbNhq84Hsoni/SsxiooF0wr0VuR6Essy8W2JZOaV2Hb+D3i+W1tgv/KeE yCjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=r4V3+BpmW354PFNxxlXxAC4RRtfz7fYvcCQ2dwbK+Gw=; b=dWmcjRrUiUywBNWBMpr2LreLXtFdMFcGqi0QNfFIczrc+Fywsm5zjeTLndwT9LmCH1 3Ze7VFD31ZyTXeYERD2dhAgrMsCUgXO4NAycvyc2EjFTRrV6tj90lhMgagb5CjztDbeU fJQJyeT1r5IiELrFNVxj5IxH+RVw2T8HCL9KW7avMC/MbRr2fudnxC1HYbLafAkqcskJ RoUefolAYmHqCpnQKPgQTay7IvrGRMzvunHJUdqEcGAS4TQEuJLDONijMxx6eAGt5ZlW KVbr7/dSQjsdxA1QPGepdk1mI0NBrVLFv8CGp6rOrbLdrOM1v7Y68QJw0rTOSMgry3jw PQbA== X-Gm-Message-State: AG10YOQdRE6K+DGjvVDrAoziSsMQSa80kBZCHJhhV4y1CLrCJUEsYYvUQruYYeM8HRtmHxvg X-Received: by 10.194.48.7 with SMTP id h7mr26724780wjn.81.1455640691676; Tue, 16 Feb 2016 08:38:11 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id g1sm27435399wmc.0.2016.02.16.08.38.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Feb 2016 08:38:11 -0800 (PST) From: Thomas Monjalon To: Wojciech Andralojc Date: Tue, 16 Feb 2016 17:36:39 +0100 Message-ID: <6407659.igNN1mJeGf@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1454074193-133635-1-git-send-email-wojciechx.andralojc@intel.com> References: <1454074193-133635-1-git-send-email-wojciechx.andralojc@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: Initial implementation of PQoS EAL extension 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: Tue, 16 Feb 2016 16:38:12 -0000 2016-01-29 13:29, Wojciech Andralojc: > EAL extension allows CAT and CDP technologies to be > configured via "--l3ca*" parameters. EAL should not depend on the PQoS library. Please could you hook the command line parsing and help to add these new options from outside? > Reworking existing applications to make use of DPDK PQoS library is > a heavy lift. This EAL extension is to make it easier by adding > new command line options. These new options allow to leverage CAT and > CDP technologies with existing code base without any additional > development effort. The command line options may be convenient in some cases but not straightforward for some applications. >>From now, the runtime options must be also configurable with an API. Please consider a clean configuration API first in the library. Then it can be hooked in the EAL command line. A thought: should we move the EAL command line in a separate library with a hook API?