From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: vhost [query] : support for multiple ports and non VMDQ devices in vhost switch Date: Mon, 22 Aug 2016 15:19:46 +0200 Message-ID: <3244041.fTOXoYaKxg@xps13> References: <416fbf19-0592-176f-16fa-269b28ff4585@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "hemant.agrawal@nxp.com" , "shreyansh.jain@nxp.com" To: "Tan, Jianfeng" , Maxime Coquelin , Yuanhan Liu , Pankaj Chauhan Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id D2E3C3989 for ; Mon, 22 Aug 2016 15:19:48 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id f65so120272696wmi.0 for ; Mon, 22 Aug 2016 06:19:48 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-08-18 10:36, Tan, Jianfeng: > From: Maxime Coquelin [mailto:maxime.coquelin@redhat.com] > > > On 8/17/2016 7:18 PM, Maxime Coquelin wrote: > > >> On 08/17/2016 04:33 AM, Tan, Jianfeng wrote: > > >>> b. Abstract switching logic into a framework, so that we can develop > > >>> different kinds of switching logics. In this phase, we will have two > > >>> switching logics: (1) a simple software-based mac learning switching; > > >>> (2) VMDQ based switching. Any other advanced switching logics can be > > >>> proposed based on this framework. > > >>> c. Merge tep_termination example vxlan as a switching logic of the > > >>> framework. [...] > > >>> To be decided: > > >>> d. Support multiple physical ports. [...] > > >> Also, if we use pmd directly, then it would no more be a vhost switch > > >> only, as it could potentially be used with physical NICs also. > > > > > > You mean we are building a switch instead of vhost switch? Yes, a switch > > > can switch packets between virtio-virtio and virtio-physical nic. > > > > And physical-physical also, as we will be standard API with the > > vhost-pmd, nothing will prevent using it with only physical switches, > > no? > > Oh yes, I agree. It looks to be a nice project. I think you should start a new git repository in DPDK apps: http://dpdk.org/browse/ And we could remove tep_termination and vhost examples.