From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2CE44A0352; Thu, 16 Jan 2020 13:06:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F2A471C2C0; Thu, 16 Jan 2020 13:06:05 +0100 (CET) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by dpdk.org (Postfix) with ESMTP id 0DD1D1C2BF for ; Thu, 16 Jan 2020 13:06:05 +0100 (CET) Received: by mail-lf1-f65.google.com with SMTP id 9so15387040lfq.10 for ; Thu, 16 Jan 2020 04:06:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5r8bsNU41u1YuGkANIM2lUeYn1ecQY8AqdjTL4RFTF8=; b=o8jUyxqHEPPdZuhvJQa9BVKAh2VEjP7HsCG3VYSoOlf0WxvSZYgdJH5GjLvEzrsx9z S6VjkmOIMIFkcCJz2nJLog8qLIgSHOSgeVs0PkIkXNYhE5q0NmOFyW52axIIMLwThpvK mTfs02jghSnbdoT7be76OHElJUlFYHYeXfrQS1e8qUKsd7Zt4JyMkABuwnRg/nF4Aj8x bNhCJUCuazQKt63lUSF7dVPptSnoNaYyk0yVaBw6/zdFSnwk7vwgCbb9V3mFqhV2wNPU LIbWLZrUWJQlhjWAJ8d3wYRk3Fqfy4KdCtx+Mzg3nsCfqL39G3P/sRaL+onumdsRu4p5 Qm2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5r8bsNU41u1YuGkANIM2lUeYn1ecQY8AqdjTL4RFTF8=; b=dZw8q0r37UmaOWfr4a8S7QklQjkK/qy711RuEG8BP1dy7Qx4t3dhUxYMRftvDL7pW1 HpAvSTkhL7W+VuFmNzg3pWNJ3HsjKJ7g2JGfg6XhCiqlVErqRiF81RMfjW6psA3p8oBV /BIHUhBUkEHN3zGXbZRoFmdmgD9cjKn0ZuZgzI4j9KkoVL+hJE6LMxv7y4cnsSAzv3Ul p5NuPikuAzOcR31vlUYaSoCypmV45PfBhj6N+FEETjXoal6J0MbXT1K5q23klQzAtX/v gn3l35O4uTds3E2hE1EtRH2vk7i1cxfG+D9afA5gkqYy2PFOnkTMj4YI60xfEFWZgvsF Mh5Q== X-Gm-Message-State: APjAAAVG7FAFpF7FtnI4MeThBddG2KQRzab6Ewg3cmLYfWBP7cLWlcMD PJeeY7olqU+lX1mXC4SCn0aG/Kw1kjUTxw== X-Google-Smtp-Source: APXvYqyIQ8xSqP9Mqt2dCm6w83aEsC22yJgIvVuMdo9hhk5sWD6UiXwolc+f2iQcOs24t16vPyuYzw== X-Received: by 2002:a19:4901:: with SMTP id w1mr2270331lfa.168.1579176364366; Thu, 16 Jan 2020 04:06:04 -0800 (PST) Received: from [10.0.0.72] (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id n14sm10491360lfe.5.2020.01.16.04.06.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2020 04:06:03 -0800 (PST) To: =?UTF-8?Q?Morten_Br=c3=b8rup?= , Jerin Jacob Cc: Bruce Richardson , dpdk-dev References: <20200114142517.29522-1-aostruszka@marvell.com> <98CBD80474FA8B44BF855DF32C47DC35C60CE0@smartserver.smartshare.dk> <3d3bec6c-723e-0f4e-4b67-d4b9e0ee6902@semihalf.com> <20200115101537.GA1666@bricha3-MOBL.ger.corp.intel.com> <98CBD80474FA8B44BF855DF32C47DC35C60CEC@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35C60CF3@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35C60CF6@smartserver.smartshare.dk> <2d686f1b-0fbe-055f-1a1c-493c317ab770@semihalf.com> <98CBD80474FA8B44BF855DF32C47DC35C60CFA@smartserver.smartshare.dk> <928ffe12-be45-1f5b-8adb-365bac2f92af@semihalf.com> <98CBD80474FA8B44BF855DF32C47DC35C60CFC@smartserver.smartshare.dk> From: Andrzej Ostruszka Message-ID: Date: Thu, 16 Jan 2020 13:06:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35C60CFC@smartserver.smartshare.dk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy 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" Morten First of all thank you for your feedback. If anything else pops into your mind please do not hesitate to share it. We just had a quick internal discussion and we decided that we'll try to come up with both options (callback and message queue). On 1/16/20 11:58 AM, Morten Brørup wrote: >> -----Original Message----- >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Andrzej Ostruszka >> Sent: Thursday, January 16, 2020 11:43 AM [...] >> You'd still need to repack the message and that could be the job of the >> callback. >> >> At the moment we don't have much experience with the library and to me >> the callback is more generic approach with which one can achieve >> different designs. However nothing here is curved in stone so if we >> figure out that this is too generic we will change it. >> > > Please re-read my reply to Jerin Jacob why I prefer a pull model instead: > https://mails.dpdk.org/archives/dev/2020-January/155386.html Yes - I got your point first time. Remark above was not meant to imply that "pull mode" is not a valid way (it is perfectly valid and probably most often used in DPDK). I just noted that by staying at callback level only one can still implement it. But it is true that this way would impose more burden on the application writer - so instead we now plan to provide both options. > Take a stab at the example application, and see which design pattern is the best fit. We will. This is a definitely a good idea to work out things in "battle". With regards Andrzej Ostruszka