From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by dpdk.org (Postfix) with ESMTP id F04C02BD9 for ; Sun, 27 Mar 2016 20:17:57 +0200 (CEST) Received: by mail-qk0-f172.google.com with SMTP id i4so46402376qkc.3 for ; Sun, 27 Mar 2016 11:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cbcg-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=e+fd16AaaqDHrInWl7EwXWW6WZvReun3mVQs1itLI2A=; b=Fc2yJgDZwUwa4Jjge3UsnGQvppG/NenjZNsE4c8ZPYD+Yo2dBHvZWRq+sp4zGnikk+ KuPmG/zO7noa4Bsc7tXSnXuHoAjyxctf+QFIC/v3z+OT4CXaibWrX80+YBcYtBnv31yr 6LEWhv5RLIqF6+C7PkboDgxNqA70VOoO0c5/kS13qODYT2gf54inmk+2gwIRUq45lcHC irf95VNwxZKgEXxl82yXRbYN/FKI1gZxDdVHevm+zERHgCHMZZVVd/eNXf/N01wBRh3M RzonftCo6EazkD/PhVwY6Qz/yl2L6n0NjlSaPPMrCs/OTm7p4EiICoqYl2achTLLtLAC 6Zdg== 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=e+fd16AaaqDHrInWl7EwXWW6WZvReun3mVQs1itLI2A=; b=XO6urW6xVtu8oFxU3x88lyTm8Ffls5OvYPLlNhterKUm/9I96DoCk5jFbD1t3oa1c0 Qq0hDEm94aBTAWFucVvf52qhJzZXdVIy1LY9fmVHph9NcrmLx0keMwKb7GYia9zNNJjK V4bQSj8FaUBuSBtHI0RJVP3V2mis0Byp4RqJWokW5Spl464DzMM5UKgOCE6Bgl4rf49M DwsYyD9o1Xb+z+yyhVU1o9LWZLC/NUitFqJuM1bhnnBTkuwWkxBcIrS3ZOeCgtMxSBVb GqYt0XvPKL1EZjLVkVs7EEwiGjloKyWGi7yp2H4rBN7NKYt5IkJ5fkurF9zzYQwK2liy HLvg== X-Gm-Message-State: AD7BkJLmbFOorY3yKjv915x/mw6SlthuNDED4JkVUqp3FiEjjahCv0//0oXKNIc14XPhNWkmiFpQvSOtIWccXA== MIME-Version: 1.0 X-Received: by 10.37.32.136 with SMTP id g130mr11842585ybg.45.1459102677367; Sun, 27 Mar 2016 11:17:57 -0700 (PDT) Received: by 10.13.235.214 with HTTP; Sun, 27 Mar 2016 11:17:57 -0700 (PDT) In-Reply-To: References: Date: Sun, 27 Mar 2016 14:17:57 -0400 Message-ID: From: Toby DiPasquale To: Jesper Wramberg Cc: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-users] pkts not transmitting with DPDK 2.2.0 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2016 18:17:58 -0000 Hi Jesper, Neither ethtool nor ip return for this NIC: # ethtool -S eth1 Cannot get stats strings information: No such device # ip link show eth1 Device "eth1" does not exist. The NIC has been disconnected from the OS via dpdk_nic_bind.py. The MAC addresses do match, also. If the NIC is not visible to the OS, and I'm not turning spoof checking on in the DPDK app, would the setting while it is attached to the kernel make a difference? On Sun, Mar 27, 2016 at 4:57 AM, Jesper Wramberg wrote: > Hey Toby, > > It seems you are using a VF yes ? I did some testing of SR-IOV a while ago > on an Intel NIC. I remember having to fiddle with it to get it working, so > here are a new notes/questions you might find useful (or maybe not :-)). > > Are there any errors in the stats on the physical function (ethtool -S > ) ? > Since you are receiving packets the MAC is probably correct. But anyway: > Did you check the MAC addresses of the VF using "ip link show interface>" - do they match what DPDK uses ? > Is spoof checking enabled on the PF ? > > My tests were with an XL710 only using Linux (no DPDK). To be able to TX > from the VF after changing stuff with "ip link set..." I think I may have > had to reset the VF or PF using "ip link set .. down/up". > > I know I'm not exactly providing any answers here - and my memory isn't > helping - but maybe something can point you in the right direction. > > Regards, > Jesper > > > 2016-03-26 20:24 GMT+01:00 Toby DiPasquale : >> >> Hi all, >> >> I'm having an issue getting packets to actually transmit out of the >> NIC with DPDK 2.2.0. I've built a simple UDP echo server here: >> https://github.com/codeslinger/udpecho >> >> Packets are received just fine, and they appear to say they are >> transmitted, as well, but they never actually leave the NIC. Here is >> some sample output with the details of how I'm running this: >> https://gist.github.com/codeslinger/d2e59b00bdc1208f4369 >> >> I'm kinda stumped. I had a local person with DPDK experience look at >> this code and he was similarly confused as to why it wasn't working. >> Anyone have any ideas on this one? Thanks in advance! >> >> -- >> Toby DiPasquale > > -- Toby DiPasquale