From owner-freebsd-net@freebsd.org Sat May 27 18:58:52 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 DA1BED85D77 for ; Sat, 27 May 2017 18:58:52 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64F551D8F for ; Sat, 27 May 2017 18:58:51 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v4RIwmEc085067; Sat, 27 May 2017 20:58:48 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 1D261561; Sat, 27 May 2017 20:58:48 +0200 (CEST) Message-ID: <5929CC67.4020508@omnilan.de> Date: Sat, 27 May 2017 20:58:47 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Vincenzo Maffione CC: FreeBSD Net Subject: Re: [panic] netmap(4) and if_lagg(4) References: <58CBCD7A.8060301@omnilan.de> <58CC23F5.7060507@omnilan.de> <58CFA394.8070901@omnilan.de> <5926EE96.1010000@omnilan.de> <5926F9F9.4040706@omnilan.de> <592701D6.7030301@omnilan.de> <592742A8.4010207@omnilan.de> <5927D560.10003@omnilan.de> <5927D77A.60502@omnilan.de> <5927E974.6060706@omnilan.de> <5927EF05.9040208@omnilan.de> <59281DF8.20402@omnilan.de> In-Reply-To: <59281DF8.20402@omnilan.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Sat, 27 May 2017 20:58:48 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2017 18:58:53 -0000 Bezüglich Harry Schmalzbauer's Nachricht vom 26.05.2017 14:22 (localtime): > Bezüglich Vincenzo Maffione's Nachricht vom 26.05.2017 11:06 (localtime): >> Yes, it should integrate and compile out of the box, I've done that >> several times with FreeBSD-11.0 and 10.3. > Impressive, it needed just a small addition to sys/conf/files to make > the linker happy :-) I perpared a diff to merge HEAD's netmap code to 11.1-prerelease for further tests (preferred over replacing stable/11 code with upstream clone, since there were some post-sync (r307394, 2016 Oct.) fixes, which I haven't check if they are FreeBSD specific or also included upstream). This hasn't changed anything regarding my problems (vale-ctl -a vale0:em0 not usable anymore: netmap_ring request size 65792 too large, panic when adding trying to add vale0:lagg0), but hopefully make things easier to narrow down the problems. If anybody else is interested in closer upstream netmap code on stable/11, here's the diff of the inofficial MFC: ftp://ftp.omnilan.de/pub/FreeBSD/OmniLAN/misc/MFC-netmap-to-11.1-prerelease.diff I hope I found all related commits, but I've done by hand; no idea if there's a way to let svn do the same job... List of repspected revisions: r306772, r307394-r307396, r307569, r307572, r307574, r307703, r307706, r307728, r308000, r308038, r309306, r310822, r311045, r311986, r313747, r314915. No guarantee that I missed something! No tests regarding pt_netmap done yet, I just wanted to provide a better testing platfrom! -harry