From mboxrd@z Thu Jan 1 00:00:00 1970 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 BAE6F1F5 for ; Fri, 8 Apr 2016 17:48:08 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id l6so69791861wml.1 for ; Fri, 08 Apr 2016 08:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=+3EcmcgLh9hBqeoTw6rWl/hlBvUTWit7y6TIDheIcCI=; b=c5aQA3bbtpyxUobGqbL9iJk+8y3Xi2qSMk505E7cZiQqxm/gn/Hp/Mpwru6EAzcy5o YeOOfdRyAjR4gTjwbVtWkbUJyYfAfvEg/YQuJoszEs4mYkPJyrMj3KZg7PwHZ0TXjvSC xVCygowiGOWBmKHLLWw1TxBLokA1S+eXLMnAIkiITRafVDne2Hker84tg56rBDd6h+ky bhIBcHMvoK6xzbA0NxvOVJqXsF/ly/s6kKXX4BCQSvsgpZLEvVTLQYvlMEx6PMA50guP IMJAUtTBLpcrO37iDHCkq5lX24ZCBX9OgOjh8NLOc0+2iAk6BRwqlNH5bn/ndlvYzsbv JRGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=+3EcmcgLh9hBqeoTw6rWl/hlBvUTWit7y6TIDheIcCI=; b=afY+j0jl0QvuCohOG1BZ3cZo/yMSmbEp79+AlG/UiEnImGASjSLZKU1xpDraGRPTPu 0kqR/TUas6kdyg/CTF+BT+btY63l/9EtDkGVkVaQ/msklKpKM8DRHvWpoB/GG2tu50h/ 8nYYn0e113lvKQ2YbLCg0aUbgvTLXTHOJ3O2FzQyqAEmXqV0aKPYvXt7kDwoOeBLyuFc 0uiBQNgyh81w1qwSFos0Jwey3nuLasLTO9dkFd4JbsiJjZd5esJl1Le9e+gorXD1uVBy shmHTcuzagGMVewOD2FtWK3tZn7hsdnj10w/YNtOvMNrTKM6/2jSsxdySIjSd2bMqOyl vwMg== X-Gm-Message-State: AD7BkJImJB5DN3K8BEBwRkHpvwfZmF3EIOmKcLo0R6iJkE4h7ZQT4O7STifTBQc0Wf/1N/dPOPFyjX+NG0i96w== MIME-Version: 1.0 X-Received: by 10.194.62.110 with SMTP id x14mr11425201wjr.68.1460130488518; Fri, 08 Apr 2016 08:48:08 -0700 (PDT) Received: by 10.194.111.35 with HTTP; Fri, 8 Apr 2016 08:48:08 -0700 (PDT) Date: Fri, 8 Apr 2016 11:48:08 -0400 Message-ID: From: chintu hetam To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK 2.2 issue with dpdk kni-virtio 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: Fri, 08 Apr 2016 15:48:08 -0000 Hello All, We are trying to test virtio-vhost-kni performance, I able to start kni application but after that when i looked for /sys/class/net/vEth0, there's no sock_fd and sock_en parameters, hence i am stuck from attaching fd to virtio-qemu. Host: Fedora 23 HugetblsFS: 1G pages Following is my config. [root@localhost dpdk-2.2.0]# ./tools/dpdk_nic_bind.py --status Network devices using DPDK-compatible driver ============================================ 0000:02:00.2 'I350 Gigabit Network Connection' drv=igb_uio unused=igb 0000:02:00.3 'I350 Gigabit Network Connection' drv=igb_uio unused=igb 0000:86:00.0 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=ixgbe 0000:86:00.1 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=ixgbe Network devices using kernel driver =================================== 0000:02:00.0 'I350 Gigabit Network Connection' if=ens2f0 drv=igb unused=igb_uio *Active* 0000:02:00.1 'I350 Gigabit Network Connection' if=ens2f1 drv=igb unused=igb_uio 0000:89:00.0 'Ethernet Controller 10-Gigabit X540-AT2' if=enp137s0f0 drv=ixgbe unused=igb_uio 0000:89:00.1 'Ethernet Controller 10-Gigabit X540-AT2' if=enp137s0f1 drv=ixgbe unused=igb_uio Other network devices ===================== examples/kni/build/app/kni -c 0xf -n 4 -- -p 0xc -P --config="(2,0,1),(3,2,3)" : : : PP: Port ID: 3 APP: Rx lcore ID: 2, Tx lcore ID: 3 APP: Initialising port 2 ... PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f1d3ffef6c0 sw_sc_ring=0x7f1d3ffef180 hw_ring=0x7f1d3ffefc00 dma_addr=0x533ffefc00 PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f1d3ffdcfc0 hw_ring=0x7f1d3ffdf000 dma_addr=0x533ffdf000 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=2). KNI: pci: 86:00:00 8086:1528 APP: Initialising port 3 ... PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f1d3ffcc6c0 sw_sc_ring=0x7f1d3ffcc180 hw_ring=0x7f1d3ffccc00 dma_addr=0x533ffccc00 PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f1d3ffb9fc0 hw_ring=0x7f1d3ffbc000 dma_addr=0x533ffbc000 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=3). KNI: pci: 86:00:01 8086:1528 KNI: pci: 86:00:01 8086:1528 Checking link status ............................done Port 2 Link Up - speed 100 Mbps - full-duplex Port 3 Link Up - speed 100 Mbps - full-duplex APP: Lcore 1 is writing to port 2 APP: Lcore 2 is reading from port 3 APP: Lcore 3 is writing to port 3 APP: Lcore 0 is reading from port 2 ls /sys/class/net/vEth2/ addr_assign_type broadcast dev_id duplex ifalias link_mode netdev_group phys_port_name proto_down statistics type address carrier dev_port flags ifindex mtu operstate phys_switch_id queues subsystem uevent addr_len carrier_changes dormant gro_flush_timeout iflink name_assign_type phys_port_id power speed tx_queue_len As this is sysfs, it has to be in kmod, but i don't see any mention of these two parameters, what's going on? Any help on what causes this issue? -thanks-