From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 2900258C8 for ; Fri, 2 Dec 2016 15:44:28 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id a197so18962256wmd.0 for ; Fri, 02 Dec 2016 06:44:28 -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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=C/XMBjLkbCS4vGOjgkWmeCiUWLSlOZfQ+G0SimqvnB8=; b=NQKIQmE42BibJGTMoAghto8vFSLdeV/bYXGxH3Ldfos92LbeenWDU40pE8VWiQmB0r xaeAiswl6i3rAtFtHKZ56OPb684vQomJe174Dc9hOru8pzbdU+GkNTZ/dQErHAMia9uh HSVf/NqpaeUQwzFW5u0HrP4qmU8B13qOD0I7zsbnsBmpGxoy/srXxBB1smFO7DcGVDVg f3ZnaD1POwui6284Ka7hYWRVkBQDCj9jffO3DgibYSOyeKJiucPUKCsq4QDMxvg8iLTt DSSC/GZpceCcml+BYbYhU7JhznL2mnlOwytC6imCvQD9GYyTXqqDZCJ9OM2+A2A7U88U i4ag== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=C/XMBjLkbCS4vGOjgkWmeCiUWLSlOZfQ+G0SimqvnB8=; b=EKSaAr1yTsQstSpp2+WTrk+MxWlxX6DvjHNufDDNWXkSrCOVZrTSCvaWf4r64cDgzA fHuLdI6xzjkpmwfKvDEJ+pTK8hd64vy6k7LPjdObaDpzcfuEgY0h/U81FnVVmDMGG/ia 8ZGJGuFW0Y0aXfpqXUEgfIjAi10mNgQZr8Dap0IBTQbuuaMcp1agp5nP00U/zbcZOLU3 F9L8Gtpvq9UVi4f8Fz+cG6hJIXf6G569zerP13pFtiZ7PxFhCqlFdNQAaq5hqe0unN6W l//Or3ZPNBl6J9qwqOxBtpNiWtSBvFW1GyELPYkSqjQLs2a/dEO9QLzBlGoxfZ8WAk2v kuzA== X-Gm-Message-State: AKaTC016d1AVP3fIK6cX0xsEgN5QFz1dnPtHtk/2w/KyyOqrKwd1sUhvhGrpxrgCzVO/5uj5 X-Received: by 10.28.150.75 with SMTP id y72mr3479955wmd.47.1480689867912; Fri, 02 Dec 2016 06:44:27 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id f10sm5885323wjl.28.2016.12.02.06.44.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2016 06:44:27 -0800 (PST) From: Thomas Monjalon To: Jianfeng Tan Cc: dev@dpdk.org, yuanhan.liu@linux.intel.com, ferruh.yigit@intel.com, cunming.liang@intel.com Date: Fri, 02 Dec 2016 15:44:26 +0100 Message-ID: <1690999.5JB2ccKKLB@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1480689075-66977-1-git-send-email-jianfeng.tan@intel.com> References: <1480689075-66977-1-git-send-email-jianfeng.tan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/3] virtio_user as an alternative exception path 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: Fri, 02 Dec 2016 14:44:28 -0000 2016-12-02 14:31, Jianfeng Tan: > In v16.07, we upstreamed a virtual device, virtio_user (with vhost-user > as the backend). The path to go with a vhost-kernel backend has been > dropped for bad performance comparing to vhost-user and code simplicity. > > But after a second thought, virtio_user + vhost-kernel is a good > candidate as an exceptional path, such as KNI, which exchanges packets > with kernel networking stack. > - maintenance: vhost-net (kernel) is upstreamed and extensively used > kernel module. We don't need any out-of-tree module like KNI. > - performance: as with KNI, this solution would use one or more > kthreads to send/receive packets from user space DPDK applications, > which has little impact on user space polling thread (except that > it might enter into kernel space to wake up those kthreads if > necessary. > - features: vhost-net is born to be a networking solution, which has > lots of networking related featuers, like multi queue, tso, multi-seg > mbuf, etc. That's a really interesting trial. Have I already said that I don't like KNI? ;) > Known issues for current version: > - Multiqueue not supported yet. > - Offloading is completely enabled yet; to enhance, we will translate Is a "not" missing in this sentence? > the virtio header info into mbuf metadata when receiving packets > from kernel; and translate mbuf metadata info into virtio header > when sending packets to kernel. So what is the ambition for 17.02? Do you think it could be integrated?