From owner-freebsd-bugs@freebsd.org Thu Sep 3 16:35:47 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 426499C9643 for ; Thu, 3 Sep 2015 16:35:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E79D3AF for ; Thu, 3 Sep 2015 16:35:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t83GZlAj030879 for ; Thu, 3 Sep 2015 16:35:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202875] ixv driver in 11.0-CURRENT doesn't pass traffic using KVM hypervisor Date: Thu, 03 Sep 2015 16:35:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jeffrey.e.pieper@intel.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 16:35:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202875 Bug ID: 202875 Summary: ixv driver in 11.0-CURRENT doesn't pass traffic using KVM hypervisor Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: jeffrey.e.pieper@intel.com ixv-1.4.0 (11.0-CURRENT snapshot 20150804) will not pass traffic using a KVM hypervisor on a Linux host. Tested using RHEL 7.1 x86_64 with ixgbe-4.1.2 as the host OS/PF driver. ixv-1.2.5 (10.2-RELEASE amd64) works as expected. There were a few other commits at the same time, but this is the likely cause. Reproduce steps 1. Load PF driver on the host and bring interface up. 2. Create 2 VF's on a single port using sysfs. 3. Attach one VF to a FreeBSD 11.0 guest and one VF to a FreeBSD 10.2 guest. 4. Boot both guests and load ixv (if not static)on both guests. 5. Assign an IP address to ixv0 and bring the interface up on both guests. 6. Attempt to pass traffic to a link partner. Both broadcast and unicast ICMP traffic fails on the 11.0 guest, while the 10.2 guest passes traffic. ixv-1.4.0: ixv0: mem 0xfc054000-0xfc057fff,0xfc058000-0xfc05bfff at device 9.0 on pci0 ixv0: Using MSIX interrupts with 2 vectors ixv0: MBX API 2 negotiation: 0 ixv0: Ethernet address: 72:05:dc:1c:14:2a ixv0: netmap queues/slots: TX 1/1024, RX 1/1024 ixv0: link state changed to UP ixv0: flags=8843 metric 0 mtu 1500 options=405bb ether 72:05:dc:1c:14:2a inet 190.0.7.20 netmask 0xffff0000 broadcast 190.0.255.255 nd6 options=29 media: Ethernet autoselect status: active PING 190.0.255.255 (190.0.255.255): 56 data bytes --- 190.0.255.255 ping statistics --- 26 packets transmitted, 0 packets received, 100.0% packet loss ixv-1.2.5: ixv0: mem 0xfc054000-0xfc057fff,0xfc058000-0xfc05bfff at device 9.0 on pci0 ixv0: Using MSIX interrupts with 2 vectors ixv0: Ethernet address: 26:a1:8c:3e:3c:fe ixv0: link state changed to UP ixv0: flags=8843 metric 0 mtu 1500 options=405bb ether 26:a1:8c:3e:3c:fe inet 190.0.7.21 netmask 0xffff0000 broadcast 190.0.255.255 nd6 options=29 media: Ethernet autoselect status: active PING 190.0.255.255 (190.0.255.255): 56 data bytes 64 bytes from 190.0.8.13: icmp_seq=0 ttl=64 time=0.382 ms 64 bytes from 190.0.8.10: icmp_seq=0 ttl=64 time=0.397 ms (DUP!) 64 bytes from 190.0.8.7: icmp_seq=0 ttl=64 time=0.410 ms (DUP!) 64 bytes from 190.0.8.14: icmp_seq=0 ttl=64 time=0.423 ms (DUP!) 64 bytes from 190.0.8.9: icmp_seq=0 ttl=64 time=0.439 ms (DUP!) --- 190.0.255.255 ping statistics --- 14 packets transmitted, 14 packets received, +196 duplicates, 0.0% packet loss round-trip min/avg/max/stddev = 0.200/0.750/3.637/0.906 ms I believe this commit to be the culprit: https://svnweb.freebsd.org/base/head/sys/dev/ixgbe/ixgbe_vf.c?revision=285590&view=markup There were a few other commits at the same time, but this is the likely cause. -- You are receiving this mail because: You are the assignee for the bug.