From owner-freebsd-net@freebsd.org Mon Mar 20 14:02:01 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 168ACD13326 for ; Mon, 20 Mar 2017 14:02:01 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C95DD7EB for ; Mon, 20 Mar 2017 14:02:00 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x229.google.com with SMTP id r203so18244797oib.3 for ; Mon, 20 Mar 2017 07:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UZXac3X8WkbIgIDGNGomPsIehQsoBLuRA6QFoFSVcMU=; b=dfIhcwLRlLeuJcUMgnypP+JwS3ER/w2lVKr+7dhOKPCkhHtgmziFNobyotCURKfLl5 X8A3Cy84VPBY46VcAiTICkdzpa57HQ62/1nhG52SdDeoIJDMhzFGg7zQZutwyChF6yRg tBmkw3gLzho93yACmPlgbcxs8sy7TlF/Jw+lzwIexfeIkLJj3++z+fhazjVYLPoILgI7 Ae38zjKgf6CJdYyPtZc/77lt3UdiJaUNIRO2GWyLV9vZs/PAZJADLU+dDqcCzgZys6pz ZbEykET+GLkO0ryal9dywhQNWA5hnQmVttsiFxKZSrOkiffVe0Pnq8nAW29Tk/I3z7sp 8YLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UZXac3X8WkbIgIDGNGomPsIehQsoBLuRA6QFoFSVcMU=; b=jxmiKVdPwbe+/55UeU9Qiitbp1BDMJ940OO8MDfoJuRK1BBUOBxV12p0ysfiFcN7yd J/xmkBWNG4MP11CObXFvJAf2ZVr7nJM8opJn+2mruQ9tWX7TGVoT4JTXmHOQZhkCS3Yh go0wcUb6VFSDEgm0QbhqK2WJfSlpGSDvGk6O1LPRoSOA0wNcT5hzJ4Zv3p6o6nJp40Ih 33VfNXyfT3qMLlOlnCQ4wY/CZ8PCKd2omYQdulJu+3lTYK7pMhLWG+RNrUtPPjkue1Co wpzxyqsTPJPkUEkFJwLPmYa45bx7vvzLksV6L9CR40XVY85K43gijdXbzz3tB4NRvvt+ AI6Q== X-Gm-Message-State: AFeK/H2Ou/B31M3Q91T5U3p8NNP1PpKY0K7wowvwsus3T7C72qFmmXb9VIxQoDcbm9Gb8x1OplemOcXfcBGiyg== X-Received: by 10.202.68.132 with SMTP id r126mr13159651oia.32.1490018520081; Mon, 20 Mar 2017 07:02:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.50.45 with HTTP; Mon, 20 Mar 2017 07:01:59 -0700 (PDT) In-Reply-To: <58CFA394.8070901@omnilan.de> References: <58CBCD7A.8060301@omnilan.de> <58CC23F5.7060507@omnilan.de> <58CFA394.8070901@omnilan.de> From: Vincenzo Maffione Date: Mon, 20 Mar 2017 15:01:59 +0100 Message-ID: Subject: Re: [panic] netmap(4) and if_lagg(4) To: Harry Schmalzbauer Cc: freebsd-net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Mon, 20 Mar 2017 14:02:01 -0000 2017-03-20 10:40 GMT+01:00 Harry Schmalzbauer : > Bez=C3=BCglich Vincenzo Maffione's Nachricht vom 17.03.2017 22:28 (localt= ime): > > Two things here: > > > > - We pushed an important fix to stable/11 1-2 months ago, that prevents > > panic on emulated netmap mode. Maybe you are still getting that panic > > because you are using an older stable/11 image, you should check. > > - If you are using "software devices" like if_lagg or even vlan > > interfaces, netmap and VALE won't help you a lot, because the drivers > > are not patched for netmap (and cannot be) > > Thank you for your explanation. I'm aware of loosing most advantages, > but it gives me the possibility to use different MTUs with one > switch/bridge. > > > I'll try to provide more info about the panic this week. Like discussed > offlist, the panic happend on a machine with the mentioned fix (latest > stable). > Perhaps this panic can be fixed, especialy for the vlan children. > Ok, so if you create a vlan on an interface, and use netmap over the vlan, you get a deterministic crash? Does the crash happen when you start transmitting, receiving or both? > Otoh., I guess it's NIC (igb) related and em/igb overhaul will hit > stable/11 eventually. And afaik, theres no native netmap support > anymore :-( > So probably resources are better spent on that instead of fixing a panic > which doesn't seem to affect anyone else than me. > There is an overhaul in progress, yes, but netmap support is going to be restored. > > Thanks, > > -harry > --=20 Vincenzo Maffione