From owner-freebsd-bugs@freebsd.org Wed Sep 9 06:06:20 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 440E4A001FB for ; Wed, 9 Sep 2015 06:06:20 +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 2F19317C4 for ; Wed, 9 Sep 2015 06:06:20 +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 t8966K8h065243 for ; Wed, 9 Sep 2015 06:06:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202983] ixv driver in 11.0-CURRENT(10.1 & 10.2 RELEASE) doesn't pass traffic using XEN hypervisor(AWS EC2) Date: Wed, 09 Sep 2015 06:06:20 +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 Some People X-Bugzilla-Who: jlpetz@gmail.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 attachments.created 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: Wed, 09 Sep 2015 06:06:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202983 Bug ID: 202983 Summary: ixv driver in 11.0-CURRENT(10.1 & 10.2 RELEASE) doesn't pass traffic using XEN hypervisor(AWS EC2) Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: jlpetz@gmail.com Created attachment 160852 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160852&action=edit 10.2 dmesg Similar problem to Bug 202875 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202875 Only the Hypervisor host is Xen+Qemu/EC2 I have ready access to AWS for testing of a guest ixv(Xen DomU) http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html. The driver detects the hardware correctly and sets everything up. But DHCP fails as there is no received packets(created guest packet capture in rc.d) from the the host Dom0. Unfortunately I can't check the host system with a packet capture as this is a IaaS platform. But on the upside you can be pretty much be guaranteed the host is setup fine for the guest as Linux/Windows work fine. I have spoken with both Colin Percival, Jack Vogel(Intel), George Neville-Neil and Jeffrey Pieper about this previously but never filed a bug for it. https://lists.freebsd.org/pipermail/freebsd-xen/2014-May/002114.html The last I heard on this was that it wass suspected to be a Xen+Qemu issue since KVM was working. However it seems more likely to be a that different host drivers as incompatible with certain guest drivers(based on below) and the fact KVM also has a bug report now(Bug 202875)? ------------------------------ > Since KVM works and Xen does not, this is basically a qemu issue. I'll > cut and paste my original findings: > > All, > > I was able to reproduce the failure Colin was seeing on SRIOV with Xen > and FreeBSD 9.2/ixgbe-2.5.15. I used SLES11-SP3 w/ Xen. I could not > acquire a dhcp license and nor could I pass traffic through the VF with > a manually assigned IP address. I tested this with the driver both > compiled in and out of the kernel. The interesting point is that the > exact same configuration works on RHEL 6.5 KVM. > > The good news, however is that FreeBSD 10.0/ixgbe-2.5.18 DOES work, with > the driver compiled both in and out of the kernel. I am able to acquire > a dhcp license at boot as well as pass traffic with a manually assigned > IP address. Another interesting data point is that with both > 9.2/ixgbe-2.5.18 and 10.0/2.5.18 both running in VMs and each assigned a > VF belonging to the same PF, 10.0/ixgbe-2.5.18 did not work either. > > I also attempted to use our out-of-tree ixgbe-2.5.18 on 9.2, but I get > SIOCGIF: ix0 no such device errors when attempting to acquire a dhcp > address or even assign an address manually. > > > Jeff ------------------------------ -- You are receiving this mail because: You are the assignee for the bug.