From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 3A5CE1B024 for ; Wed, 16 May 2018 14:40:38 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E4353CB9EB; Wed, 16 May 2018 12:40:36 +0000 (UTC) Received: from ktraynor.remote.csb (ovpn-117-234.ams2.redhat.com [10.36.117.234]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5CEB21134CC7; Wed, 16 May 2018 12:40:35 +0000 (UTC) To: Wisam Monther , "jingjing.wu@intel.com" , "wenzhuo.lu@intel.com" , Thomas Monjalon Cc: Raslan Darawsheh , "dev@dpdk.org" , Shahaf Shuler References: From: Kevin Traynor Organization: Red Hat Message-ID: Date: Wed, 16 May 2018 13:40:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 16 May 2018 12:40:37 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 16 May 2018 12:40:37 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ktraynor@redhat.com' RCPT:'' Subject: Re: [dpdk-dev] [PATCH 1/2] app/testpmd: add custom topology command 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: , X-List-Received-Date: Wed, 16 May 2018 12:40:38 -0000 On 05/15/2018 03:05 PM, Wisam Monther wrote: > Hey Kevin, > > What if I have 10 ports and want all 9 ports to forward packets to port > 0, this cannot done in paired. > But with this topo the user can overwrite the topo. > E.g: > - Set custom-topo 1 0 > Will make those paired and those two as active only. > > - set custom-topo 2 0 > Will make those two as paired, but still port one will forward packets > to 0. > And the active ports will be 3 ports (0,1,2) > And so on... > With this topo you can create your own topo. (Mixed between all topos or > even non-pattern topo for any usage) > In my case its needed for representors and virtio. > > Any traffic coming from representors/vhost (from VM) need to be > forwarded from PF/phy port to the wire. > Thanks for sharing the use case. Will it be an issue that multiple cores may be sending to the same TxQ? I didn't check to see if there is locking provided in the app. > This new topo is useful for such cases. > > BRs, > Wisam jaddo >