From owner-freebsd-net@freebsd.org Fri Dec 22 02:13:14 2017 Return-Path: Delivered-To: freebsd-net@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 65A91E9D132 for ; Fri, 22 Dec 2017 02:13:14 +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 52DA42A4B for ; Fri, 22 Dec 2017 02:13:14 +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 vBM2DDwE076213 for ; Fri, 22 Dec 2017 02:13:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211062] [ixv] sr-iov virtual function driver fails to attach Date: Fri, 22 Dec 2017 02:13:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ultima@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 02:13:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211062 --- Comment #10 from Richard Gallamore --- (In reply to Piotr Pietruszewski from comment #9) Hello Piotr, Thank you very much for the link. After compiling and installing the driver everything appears to work though I have noticed an errors, i'm not sure if= it is a false positive and also I think the vf is short by one. I have done ba= sic testing (pinging) on the vfs and seems to work fine. Setting hw.ix.num_queues seems to no longer matter so I removed it from /boot/loader.conf. I'm not sure if this was intentional. One error I found = so far: Dec 21 15:50:42 S1 kernel: ix1: CRITICAL: ECC ERROR!! Please Reboot!! Not sure if its a false positive. Seems to happen after the 3rd invoke of iovctl after reboot, but not entirely sure of the trigger. 64 vfs per port should be available, However, vfs <=3D 63 everything appear= ed normal other than the occasional error previously mentioned. vfs >=3D 64 will return error: iovctl: Failed to configure SR-IOV: No space left on device. 64 is supposed to be the max vfs or am I mistaken? or is the first interface (ix1) count as one of the vfs? FreeBSD S1 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r327068: Thu Dec 21 13:00:34 PST 2017 # cat /boot/loader.conf if_ix_load=3D"YES" # cat /etc/iovctl.conf PF { device : ix1; num_vfs : 32; } DEFAULT { passthrough : true; } VF-0 { passthrough : false; } VF-1 { passthrough : false; } It would be nice to get this in head but after seeing r327031[1], I don't s= ee this happening anytime soon. Also want to mention, tested head driver(4.0.0-k) before 3.2.17 and sr-iov = is returning the similar/same errors mentioned in earlier posts on this thread. [1] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D327031 --=20 You are receiving this mail because: You are the assignee for the bug.=