From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 8DBF72949 for ; Mon, 11 Apr 2016 21:02:56 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id v188so98713232wme.1 for ; Mon, 11 Apr 2016 12:02:56 -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=IlVRAsRZEg+YoLXZ+oqHy32kaBYnULWXAfC1FxMP/5g=; b=EtTXHnlBKTuSyElv/Q6WC26sZYC76x+M6XTgoujqKwObaRmh9WkJpm2SQEXg3SzKOE 8Qq1lAfayvDcYRmvVvTCWCMS5jjdwHTMwcO98nb2mQ0+blS10frE0zh365CxE7X/0ElJ nII4nB8ya3Aut40zxJQavC/HwrVCtXADyV/M2rHBxdwTyz2rLQr6MyK8gq2gEpDNUufh i6YxkQbjwbY9daxkXhyG6ucTzvo1/BFZedQCcI3YXqOdGiAWP4i6r3TwkUMBJTnopFym IP2q50CMKIkOitdWmZoLNzJ1nz6VbWqREeMyni8s66QDlOOHile6DEAPbBn+JxhBqsaq Dsow== 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=IlVRAsRZEg+YoLXZ+oqHy32kaBYnULWXAfC1FxMP/5g=; b=Kl4LbPPdnphWkFb0UNE0BB9MFXpuhkwzaH7GHLmc6eqfQ8oP72K9yrgmLO2ORmiUKE 4T14ImjPWSeD4L+GJWYhRq82ddEqkHN5hNTnV2CMDpZcVWdRehIbdXDO2dQ8FMIVjs3p xL1RQBczAe5e/X9qwNDoN9YxxpiXXTxrLrwdhq1jj2/jHY0Zaxqb0Z5+VdWqJLaas0hx l2WM8F3d8eDk+/50l/qWAF9dxAsPx3dQF+VLsM89jItwnNsHpj+0xx5Rnr0gVV/uRozu veoTjc93HpGUxcvHU197Y1TOFRNvwgA8or4Vlz6kgzedgEVDFUFyYxjRNJLjjeVdQKhd 130A== X-Gm-Message-State: AD7BkJLlUI38g2/B7yeO7GSv6H0EpSg/yp2kg8fqN2ar6hSkek7GtU0SrPFCqRD0piNPVSNeRCfdKphbImFmnQ== MIME-Version: 1.0 X-Received: by 10.28.129.208 with SMTP id c199mr20781375wmd.75.1460401375420; Mon, 11 Apr 2016 12:02:55 -0700 (PDT) Received: by 10.194.111.35 with HTTP; Mon, 11 Apr 2016 12:02:55 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Apr 2016 15:02:55 -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 19:02:56 -0000 thanks ferruh yigit!! cheers On Mon, Apr 11, 2016 at 2:57 PM, chintu hetam wrote: > I tried vhost-user mode, and during init of ./vhost-switch it fails > with > PMD: eth_ixgbe_dev_init(): port 0 vendorID=3D0x8086 deviceID=3D0x1528 > pf queue num: 0, configured vmdq pool num: 64, each vmdq pool has 2 queue= s > EAL: Error - exiting with code: 1 > Cause: Cannot initialize network ports > > it's failing in port_init function, and it seems from > http://dpdk.org/doc/guides-1.8/rel_notes/resolved_issues.html > > this has to with ixgbe checking for eeprom pba parameters. is that > correct, coz rebuilding ixgbe 4.3.13 by disabling those lines dint help > either? > > i tried enabling configure > CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=3Dy > but still i don't see the log messages under /var/log nor on stdout? > > just to keep ball rolling i'd like to see at least kni compiling and > working. > > FYI, i am using X540-AT2 > > cheers > > On Mon, Apr 11, 2016 at 10:09 AM, chintu hetam > wrote: > >> 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 vho= st >> support isn=E2=80=99t tested, and probably isn=E2=80=99t supported",whic= h is bit different >> from vhost user space support,but still.. >> >> Just to be sure vhost user space =3D qemu virtio backend- tap-linux-brid= ge >> 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= /kni_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= /kni_vhost.c:254:25: >>> > error: =E2=80=98SOCK_ASYNC_NOSPACE=E2=80=99 undeclared (first use in = this 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 kn= i >>> vhost support. Do you have any reason to use kni vhost? >>> >> >> >