From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic310-15.consmr.mail.bf2.yahoo.com (sonic310-15.consmr.mail.bf2.yahoo.com [74.6.135.125]) by dpdk.org (Postfix) with ESMTP id DE9067D14 for ; Fri, 25 Aug 2017 00:19:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1503613175; bh=p2vMW+U+iXGXTaCuylXLMvpfzFWSD0SR8CLiKJjXNxY=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=b2aoeFg9d5TCmsC62TX6IdZp5eQV6Z6LHt74hPSrgyqAzATtwdzi56x8hMVGVMtOvW1APxresiZEamuoA1xYssHW/zk4Y5is4bKP6nuQC/i2qVN9SQV485RtrjYpbCTAdUbc4So8ZjHQ+GeOWbCApvatnfQ/VVd3YJH5clLLxb40EhMGwY/1nBoMk26lBbrhHD1TZ7SlPQFH/KcjKB3DyqoJ60po2PyLS5lFcgc3qjEoIDKcJK7OgUJu72HG5rXF4Fu+YUCdX+dBfIwfxQ88EJ+h28IuqMy1SZTwo/u2bKK5CFYPhRukkCe083PGA8gEPKGM4xOCzZ4reW6ro7/SAw== X-YMail-OSG: u6p6IvEVM1nYEelkXWNyP42FENTkaMve0YNIPm8j0qYgIKUFj2d9wZ3XCsRk.g_ t4Un3WosKlonDExykJMgWeYbiNOtWlGm5BeZ5C64GDfQByc5pF0sM_sX.VKM59NulH2Tw0LwPMHN GD8tpMH0ZJUQra_YZ2Ncu_dB9GUJcnVSvQ_T9ZcjyZw5atW8aWD4AzaXwj4woSco0mjDpdNExu.F L9urNmN8AwSAYIy81vzDTdsj6ogUQH8Y86Gc_q2zN1UdkYYHrm1entKYqXn2ksq7aZh.cgUOegAF pq1wcl6uC_EJ0Z1csA.bNV.sQ07Foz.uBzG468QmcekKWm8w8wos_y5BVHcRAKDQ.3ipZDY6zhFl 1v0UB7QtlDIPTiuJoqNFtHTod7tuAKUsOCXDnm_j9g2OWCdlLoQZCOYpm1r1gmzrILkrYKjNOLLf iPELuytgVVts2qR.g5rwHrEmEZjEimtvsJ.S.DZN9Tak- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Thu, 24 Aug 2017 22:19:35 +0000 Date: Thu, 24 Aug 2017 22:19:27 +0000 (UTC) From: Dharmesh Mehta To: Users Message-ID: <1098935201.614169.1503613167623@mail.yahoo.com> MIME-Version: 1.0 References: <1098935201.614169.1503613167623.ref@mail.yahoo.com> X-Mailer: WebService/1.1.10451 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Fails to receive data more than 1500 bytes. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Dharmesh Mehta List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 22:19:36 -0000 Hello, I am using Intel i350 NIC card, and I am not able to receive data more than 1500 bytes in a packet. I tried igb_uio as well as uio_pci_generic driver, but both fails. If I reduce data <= 1500 bytes than it works, but any thing more than 1500 is not able to receive. Do I have to tune any config parameter in order to support more than 1500? I tried to set MTU from code using API - rte_eth_dev_set_mtu(port_id, mtu) , but no success. 0000:03:00.0 'I350 Gigabit Network Connection 1521' drv=igb_uio unused=vfio-pci,uio_pci_generic0000:03:00.1 'I350 Gigabit Network Connection 1521' drv=uio_pci_generic unused=igb_uio,vfio-pci0000:03:00.2 'I350 Gigabit Network Connection 1521' drv=uio_pci_generic unused=igb_uio,vfio-pci0000:03:00.3 'I350 Gigabit Network Connection 1521' drv=uio_pci_generic unused=igb_uio,vfio-pci Thanks in advance.DM. >From cpaquin@redhat.com Fri Aug 25 00:20:11 2017 Return-Path: Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by dpdk.org (Postfix) with ESMTP id C6B5E7D30 for ; Fri, 25 Aug 2017 00:20:10 +0200 (CEST) Received: by mail-oi0-f47.google.com with SMTP id k77so7445140oib.2 for ; Thu, 24 Aug 2017 15:20:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TMCerZd8ZMXWScBEdbcsBc8Uh+4i0/QseZ31Gf4xl+E=; b=gZCHBHLZHhM28QdRJNll9DRx9/xJ1Xx2oAaDYZC4CmmNhv78Awzv/ub5OECv3Nj+C5 jYraOe60Y55dQLEtaLCp3fSnBBAe+cUuTQ7G2sNuL9t8WOU7N+Joz0dbzt4R2S/8WevU h00eOs+QdP6P/wzsn3sWi+MxHKCjA8zrG6yDEvrIPkW5onaXY/wxz7Om2yp6u8gG2UGK 9gM46SAEfN+PZYHPN38asz9Ow0GdsoSLjnGodf6kPinr23ssplP8yKCQaLlBbCbbpSaC FgRvZYSlz17Jy+i50m5gyTRFGg/lzmM0cO6v1rfvJMkttQIpXU7yguTFTOazjywfbDjZ O2Mg== X-Gm-Message-State: AHYfb5hG7bE+wclk+S+BJpXetfagiZgl7kJZ9a9qPt6gRjukfMYxsL0R vZsWPzoqMtnyvmH1cZqJXrbPMe/vwjAVkvNgWQ== X-Received: by 10.202.188.7 with SMTP id m7mr10498479oif.55.1503613209813; Thu, 24 Aug 2017 15:20:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.150.195 with HTTP; Thu, 24 Aug 2017 15:19:49 -0700 (PDT) In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F93DBDF0EB@HASMSX110.ger.corp.intel.com> References: <9B0331B6EBBD0E4684FBFAEDA55776F93DBDF0EB@HASMSX110.ger.corp.intel.com> From: Chris Paquin Date: Thu, 24 Aug 2017 18:19:49 -0400 Message-ID: To: "Rosen, Rami" Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] [SRIOV][TestPMD][OpenStack] No probed ethernet devices X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 22:20:11 -0000 Rami, I misspoke, I was actually told not to use igb_uio as it was old and was replaced by virtio_pci. I am now seeing that this is not the case. After compiling 17.08, I was able to successfully bind using igb-uio. Regarding the kernel params you mention. I did set them, but am used to those configurations only being used for SR-IOV passthrough on Compute nodes. Is it also correct to set them in the guest? Or are you actually talking about the compute node? FYI - I do have testpdm up and running, now reading through docs and figuring out how to config. Thanks for the reply. CHRISTOPHER PAQUIN SENIOR CLOUD CONSULTANT, RHCE, RHCSA-OSP Red Hat M: 770-906-7646 On Thu, Aug 24, 2017 at 5:56 PM, Rosen, Rami wrote: > Chris, > > >(not igb_uio - which I read was deprecated). > Interesting, can you please give a link to where you read it ? > > Do you have "iommu=pt intel_iommu=on" in the kernel command line ? does > "cat /proc/cmdline" show it ? > > What does "dmesg | grep -e DMAR -e IOMMU" show ? > > Regards, > Rami Rosen > > > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Chris Paquin > Sent: Thursday, August 24, 2017 22:21 > To: users@dpdk.org > Subject: [dpdk-users] [SRIOV][TestPMD][OpenStack] No probed ethernet > devices > > Hello. I am trying to get testpmd up and running in a RHEL 7.4 guest (DPDK > 17.08), however, I am unable to get my interface to bind to a dpdk > compatible driver. > > [root@localhost ~]# dpdk-devbind --status > > Network devices using DPDK-compatible driver ============================== > ============== > > > Network devices using kernel driver > =================================== > 0000:00:03.0 'Virtio network device' if=eth0 drv=virtio-pci > unused=virtio_pci,vfio-pci *Active* > 0000:00:05.0 '82599 Ethernet Controller Virtual Function' if=eth1 > drv=ixgbevf unused=vfio-pci *Active* > > I am trying to bind the vfio-pci driver (not igb_uio - which I read was > deprecated). > > I am running into the following error. > > [root@testpmd-vm ~]# dpdk_nic_bind --bind=vfio-pci 0000:00:05.0 > Error: bind failed for 0000:00:05.0 - Cannot bind to driver vfio-pci > > Has anyone seen this before? Can someone confirm that I am attempting to > bind correctly? >