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 6EFF4A052E; Mon, 9 Mar 2020 11:09:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E80371C038; Mon, 9 Mar 2020 11:09:07 +0100 (CET) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 7D2941C029 for ; Mon, 9 Mar 2020 11:09:07 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id n2so2416471wmc.3 for ; Mon, 09 Mar 2020 03:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ZxHGlDEXPJrVSaRGuQ4nqzJy/ChprWxnhnCT/K+QXyM=; b=fTam7R9ouwfLpdn780wcvFUYS78mTt0Su3+UwRCFI+nZp0Vjc5QCcZQ7VB0Bbkkdhj K5pGG+W21ymsbbN5qnRIsgU1LQzBgYyALIuMNXi4u9Ea+pcOeh9yBA1H6ZvGn6w8VCj5 6RxswPhRaoLVztJ+kjWYrTVGTHjT4f7nRi3Z0/2vbnRt10BiFKqTJ0emuI5kPfOP8789 Neo6XzKnxarsP9A4ppnyOGcuTfTRgvD0C8wknZLNodb5tRNhuwyhpKzGudH/IVuSNN0b aYExk6NMUvYI9hlj/XwJA2swJthNes8Yc/tQ3ik+9mVCKjF+LJEUrj8N0V3fNuu1GxYM swwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=ZxHGlDEXPJrVSaRGuQ4nqzJy/ChprWxnhnCT/K+QXyM=; b=mwOgUcV7W/3AvqtszumyeC3zNHsFLxK7AkcivMECZFDKSKtC/uGStEjoCo+DRPRx8c yzTAH0/GQ7eg5mZiMw/4nURDtQmPtCHK7imhX+sVJkENmMUBrLV/VmwKV4s+6MH4pxGl mB1Ugd13TMBZo1Gy/6KehctytVtL89WIlKGzlnYG6ImgXOuP5BRb2huctKgL2jCcgBUq +zu4hvIatqa2lRtIKknehjvTWFa4EV9eLhJeY7PK7mM6Vf8k11vEnU3pFNlg22woCWpn 6GorgyYc9euhMASMSndswjiyWDRHoYaQB8tk/PtpFThgUxHps3EkAH5Eq+FJ6MPsceOy fjYQ== X-Gm-Message-State: ANhLgQ09B88YYgv8CQ8p0ldB1hQg7G1i+wILmrZqk1Evy/5dgDotM7Kp pE6gFrDe/qGZt5QkTZ2MAQk= X-Google-Smtp-Source: ADFU+vsVlK+47uvSLVYj/xH8wKdADKetw6HZKxuihCHxNYwOwVhiGrOu6yqmZw7hRXrSbyjBmCNRUQ== X-Received: by 2002:a1c:f21a:: with SMTP id s26mr19478745wmc.39.1583748547266; Mon, 09 Mar 2020 03:09:07 -0700 (PDT) Received: from vbox (81.89.53.154.host.vnet.sk. [81.89.53.154]) by smtp.gmail.com with ESMTPSA id t18sm10785778wml.17.2020.03.09.03.09.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Mar 2020 03:09:06 -0700 (PDT) Date: Mon, 9 Mar 2020 13:09:05 +0100 From: =?iso-8859-1?Q?J=FAlius?= Milan To: Ferruh Yigit Cc: dev@dpdk.org, jgrajcia@cisco.com Message-ID: <20200309120905.GA22024@vbox> References: <20200219081840.GA11729@vbox> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH 1/2] net/memif: enable loopback 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" On Thu, Feb 27, 2020 at 04:46:09PM +0000, Ferruh Yigit wrote: >On 2/19/2020 8:18 AM, Július Milan wrote: >> With this patch it is possible to connect 2 DPDK memifs into loopback, >> i.e. when they have the same id and different roles, as for example: >> "--vdev=net_memif0,role=master,id=0" >> "--vdev=net_memif1,role=slave,id=0" >> >> Signed-off-by: Július Milan >> --- >> drivers/net/memif/memif_socket.c | 30 ++++++++++++++---------------- >> drivers/net/memif/rte_eth_memif.c | 1 + >> drivers/net/memif/rte_eth_memif.h | 1 + >> 3 files changed, 16 insertions(+), 16 deletions(-) > >Hi Július, > >Can you please document this new feature in the memif documentation, and it may >be good to give a sample testpmd commands like ones already exist in that doc? > >Thanks, >ferruh > Hi Ferruh Sure, I will send a next patch containing changes to doc/, not sure about the best workflow in cases like this. Thanks, Julius