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 8A28D137D for ; Mon, 11 Apr 2016 16:09:02 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id a140so14552148wma.0 for ; Mon, 11 Apr 2016 07:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=JfYyQVFKKMastnFT0BVIyXLPHsdvcr9kjCa/BUHWX6o=; b=mLCk3UKqvf9yYcEU/G3FTZgnIF1cGGZJU9KliC+A8k953DQ3NhmNiFxEUbfAYsy7Vb 5RUkShmjVedbrEe6oMIopwZ/FJrHh06rCcuelw4MPhtovbtFV0w1ret8tvcq8f68rH31 zpc8VyrsUvSSaKAAD+O9FwA2NTRy7tzvXamVNxgygCyimdtE1aZ37yeNddcoC407qx1d 7DxM6GLiMNb/EWymtrLToTvOw6t2G41cvjrBDYNL+O0Am3hdRYdGeuRDhz+7IL1jhHOW vnHJHo3Jk3+JkKZSf8HnAd36mNsHTOnASLpAilvNtJzjRxc2Kcb7WYPblwei1Gqf/Il+ P3RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=JfYyQVFKKMastnFT0BVIyXLPHsdvcr9kjCa/BUHWX6o=; b=F5EzAsDyrA2RX/iy/JI9hqJVMtDPelPFRPwpDwHM17SqTsqoMN3bmipJ7k1CxdJ/ML dFh6uUhFJ7k4oTcNI/ZTMaCFaTRDIFjU6k+bVKgoNNViSdrL05DZBX7t2FLb4t4PXhwf vLMkl9Wz2PQhRlrqfi/7CkNisddbyhGLpC898zvNcRf5aRBMDq0HqlvSmhXyUv2OTXYN xCMS/d8WqiQ5cWx2XGFxC7CjRolTaDKdKbu67ReyrGOIPBKjeMYhHbB93GWSfbtQ8cV2 lCUGJj92VszUhyMBE7dL0L0jSZH8DjsUmfgvm0s+Gwjtgc+iEJH85BE8eOBYO+++boMA 6wSw== X-Gm-Message-State: AOPr4FVRxPejIsGapERHHxfc/46MXEwih+yVR/Qy4ZvWhnHkTemXwX9C7KTjlcOHMuNwFmuLY+A8UzhlioGsJg== MIME-Version: 1.0 X-Received: by 10.194.6.225 with SMTP id e1mr389251wja.152.1460383742335; Mon, 11 Apr 2016 07:09:02 -0700 (PDT) Received: by 10.194.111.35 with HTTP; Mon, 11 Apr 2016 07:09:02 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Apr 2016 10:09:02 -0400 Message-ID: From: chintu hetam To: "Xie, Huawei" Cc: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] DPDK 2.2 build failing with vhost-kni X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 14:09:02 -0000 Thanks Xie. I am trying to test FreeBSD-9.3-virtio as guest. Somewhere in the forum i found virtio-kni combination reaching around 2.7 Gbps performance, which is enough for my test, though i dint find equivalent driver performance characterization for qemu-vhost user space combination. Also, as per nics-2.2 user guide, "Linux kernel with KVM module; vhost module loaded and ioeventfd supported. Qemu standard backend without vhost support isn=E2=80=99t tested, and probably isn=E2=80=99t supported",which i= s bit different from vhost user space support,but still.. Just to be sure vhost user space =3D qemu virtio backend- tap-linux-bridge configuration, as per nics guide, right? Thanking in advance, again. On Mon, Apr 11, 2016 at 4:25 AM, Xie, Huawei wrote: > On 4/10/2016 7:26 AM, chintu hetam wrote: > > I am compiling DPDK 2.2 on Fedora 23 and i am seeing following build > error > > > /home/vcr/devel/dpdk/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/k= ni_vhost.c: > > In function =E2=80=98kni_sock_poll=E2=80=99: > > > /home/vcr/devel/dpdk/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/k= ni_vhost.c:254:25: > > error: =E2=80=98SOCK_ASYNC_NOSPACE=E2=80=99 undeclared (first use in th= is function) > > (!test_and_set_bit(SOCK_ASYNC_NOSPACE, &q->sock->flags) && > > ^ > > Hi, besides the issue, now user space vhost is the preferred way to > switch packets with the virtual machine, and we have plans to remove kni > vhost support. Do you have any reason to use kni vhost? >