From owner-freebsd-net@freebsd.org Mon Sep 11 03:01:54 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 8C7A8E15035 for ; Mon, 11 Sep 2017 03:01:54 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 5562C6CB72; Mon, 11 Sep 2017 03:01:54 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-qt0-x236.google.com with SMTP id b1so6915941qtc.4; Sun, 10 Sep 2017 20:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=sHjsis+JsAvR0oqiHxVaaSZY5IC9dQWQ0z6vVyP/A04=; b=j2BGuY9gEatyLwp5TK6QQXrPvuFnXucN0lMKL9K5IrvWlMO9ZobZVe9BaWpEx7fyIg SHM2gFRq1kqu9ocSy33Uo0a5v4Pecn2jM39xF5lbbwukNx2ybPPMp+I7ZaSsU+vkfBSX wlvMfG9PpbeYutQB3KQ9IqbmLFcMPSrukcedbwCx1+RhywoTqRT4+bt3+3vuiv63bthy cvvaO0oUxU7p3caFEeqiPOvL0fCZ7dsU+P5cJ9sILl3o6iXonbTo4viI2yXA8iafRwHT wPre+bi2u+qhICWTjFE0dR59NB7K4kMgihnpUuPt3Fj4dEp83U2Xx3m5bQv3xz8tQ6CI X8NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sHjsis+JsAvR0oqiHxVaaSZY5IC9dQWQ0z6vVyP/A04=; b=VuQFuJ8hTIKnQfFupP64gJsvrxaNGx/vjj1KdbcN/04+8FV57u9jydQ/18kGsvd9Bg 5mdbbfCqoTBHTVdlS8AmmDX4E6GFMsDfp7lplrDhm+gFneCYbl+iDyXGiFyMtYXgapeM zQwyhrDmeWerkYnd+Qk/JA0sOFUtlgyC9FPo7yJxOidUa7eHejH/YNDD+gHdJ5um6CT2 QEYyFuf7RY0hfbk7Q2gsBumeOynD9fDHLSdI4Z5fb1d7q7D3vFw3mAbfNJdgDu6qL7R+ Wsnb+rH7XXu+tZT9jNu5HJx8OrDunlroIJZpO8HhX9kMbsI3bsG3KKRxgYrQ2gGO1MQb R4mA== X-Gm-Message-State: AHPjjUhNldwby9P4bSKK1Fzpp0lTM+5dY0zXmxOXiVGN37RLAPWB0yMo 91QMxBxCA3XDPBCM0pkXAvkFq0xuepJ7 X-Google-Smtp-Source: AOwi7QB0Z4SX3Ya3nDWeGcIt96128wB4FsEr4AQUWtsrlkHgs86FdZ+vEc+73UqQ8H4bFVXOZw870SuYooLbpz0yS1Q= X-Received: by 10.200.24.203 with SMTP id o11mr14579278qtk.35.1505098913092; Sun, 10 Sep 2017 20:01:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.106.102 with HTTP; Sun, 10 Sep 2017 20:01:52 -0700 (PDT) From: Sepherosa Ziehau Date: Mon, 11 Sep 2017 11:01:52 +0800 Message-ID: Subject: ixl(4) RSS hash type To: "freebsd-net@freebsd.org" , Sean Bruno , erj@freebsd.org, Robert Watson , Adrian Chadd , Andrew Gallatin Content-Type: text/plain; charset="UTF-8" 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, 11 Sep 2017 03:01:54 -0000 Hi all, I am on the way to cleanup the UDP_IPV4_EX bit. The only effective consumer of this undefined RSS hash type is ixl. So I took a bit close look at it, then I have several question about its hash type configuration: ixl_set_rss_pctypes(). It tries to set hash for IPV6 fragment, if RSS_IPV6_EX is set for "options RSS". RSS_IPV6_EX never meant IPV6 fragments: https://docs.microsoft.com/en-us/windows-hardware/drivers/network/rss-hashing-types#ndishashipv6ex ixl_ptype_to_hash(). As far as I understand, the decoded.outer_frag means "outer packet header indicates a fragment", which has nothing to do with the any of the IPV6_EX related bits: https://docs.microsoft.com/en-us/windows-hardware/drivers/network/rss-hashing-types I believe these all should be fixed. Thanks, sephe -- Tomorrow Will Never Die From owner-freebsd-net@freebsd.org Mon Sep 11 08:11:41 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 73477E221F5 for ; Mon, 11 Sep 2017 08:11:41 +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 6227175C53 for ; Mon, 11 Sep 2017 08:11:41 +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 v8B8B9Cj074251 for ; Mon, 11 Sep 2017 08:11:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217606] Bridge stops working after some days Date: Mon, 11 Sep 2017 08:11:09 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mops@punkt.de 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.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, 11 Sep 2017 08:11:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217606 --- Comment #17 from punkt.de Hosting Team --- Hi there, we applied Fabian's patches for TCP and if_bridge (thanks!) but unfortunate= ly the production server's jails came to a halt again last night. Depending on your point of view at a fortunate time of day (2am). The customers were har= dly affected but the operator on duty might see that differently. ;-) Uptime of the system was roughly 10 days. The colleague was too tired when = the alarm woke him to think of trying things like `/etc/rc.d/netif restart` or similar, so he just rebooted the system. Is there any way we could help to nail this and fix it? Some suggestions on a suitable course of action at the next incident would = be greatly appreciated. Kind regards, Patrick --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 11 08:54:48 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 9E4A0E23DA6 for ; Mon, 11 Sep 2017 08:54:48 +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 8CC3D7C20E for ; Mon, 11 Sep 2017 08:54:48 +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 v8B8sltB078078 for ; Mon, 11 Sep 2017 08:54:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217606] Bridge stops working after some days Date: Mon, 11 Sep 2017 08:54:47 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kp@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: cc 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.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, 11 Sep 2017 08:54:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217606 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erj@freebsd.org --- Comment #18 from Kristof Provost --- I'm afraid I don't have any ideas at this point. I'd like an ix driver expe= rt to take a look at this so I've cced erj. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 11 17:15: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 797C1E1779C for ; Mon, 11 Sep 2017 17:15:52 +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 67E4F696E5 for ; Mon, 11 Sep 2017 17:15:52 +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 v8BHFpCR076832 for ; Mon, 11 Sep 2017 17:15:52 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: Mon, 11 Sep 2017 17:15:52 +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: erj@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: cc 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.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, 11 Sep 2017 17:15:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211062 Eric Joyner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erj@freebsd.org --- Comment #6 from Eric Joyner --- (In reply to Richard Gallamore from comment #4) Err, so what's your setup again? It's hard to follow from the previous comments. Are you using a linux host with a freebsd guest? Just running the= VFs alongside the PFs on the same OS? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 11 17:25:05 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 5414FE1807B for ; Mon, 11 Sep 2017 17:25:05 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-yw0-f171.google.com (mail-yw0-f171.google.com [209.85.161.171]) (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 1914E69CB4; Mon, 11 Sep 2017 17:25:04 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-yw0-f171.google.com with SMTP id s62so23044175ywg.0; Mon, 11 Sep 2017 10:25:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=20UY3VEH8sQwlyD+Ift4FNlWZyBiHIomMOLsMebKJ04=; b=CfR2ZRkT1L6vidmpnTHzuFGbhbcBQTwEgrLTIuPAU3yNqGME1RPYouJ0ZUYbzHWK5D JXZBt086QbUIGGe0mJSEX9NV4d9kM9GNil0ax9rrmonRExltW5Q+w56Ayg7M3YeLjnEX z4iqCypihXvz3IEQ7mMEKaAg7DD53uokPpN2qEHU8UfEprVHvaj/oP2cBMC963GgB4Mt AefO2Gmr2NLpnlM69CqXc1kgdMPvLWZF9CFJ2HoqaKTJL4bhcXbSdoKXeREq7xYKeLic j317v6WN10ENYFXpqxDH/wNEX86Hqjeyejd25mgJzejJ74WRWZ6Z0aJuoVRqT5mgOUnE qsdQ== X-Gm-Message-State: AHPjjUiptZd7TirMKpXOS2ikz7WzUmKBhw3LFCJEKPVQJc/LqAiM2+qk 4C7zXKNo86IRKcHeBneRZA== X-Received: by 10.37.35.147 with SMTP id j141mr10207322ybj.214.1505150316745; Mon, 11 Sep 2017 10:18:36 -0700 (PDT) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com. [209.85.223.181]) by smtp.gmail.com with ESMTPSA id h186sm3262937ywh.52.2017.09.11.10.18.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 10:18:35 -0700 (PDT) Received: by mail-io0-f181.google.com with SMTP id n69so29564496ioi.5; Mon, 11 Sep 2017 10:18:35 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDgQ1h4tbzgytxQSlgY+5mly05tgn+VzS95xT5BzMWFMhzkJabIIYSXO8smtU4OKBEbzUj3+MkonHHImpgpqYM= X-Received: by 10.202.78.205 with SMTP id c196mr7374403oib.183.1505150315325; Mon, 11 Sep 2017 10:18:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Eric Joyner Date: Mon, 11 Sep 2017 17:18:24 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ixl(4) RSS hash type To: Sepherosa Ziehau , "freebsd-net@freebsd.org" , Sean Bruno , Robert Watson , Adrian Chadd , Andrew Gallatin Content-Type: text/plain; charset="UTF-8" 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, 11 Sep 2017 17:25:05 -0000 I think that sounds right; but Adrian is the one who put the code in the #ifdef RSS blocks in. We don't have it enabled/defined in our testing here. - Eric On Sun, Sep 10, 2017 at 8:01 PM Sepherosa Ziehau wrote: > Hi all, > > I am on the way to cleanup the UDP_IPV4_EX bit. The only effective > consumer of this undefined RSS hash type is ixl. > > So I took a bit close look at it, then I have several question about > its hash type configuration: > > ixl_set_rss_pctypes(). It tries to set hash for IPV6 fragment, if > RSS_IPV6_EX is set for "options RSS". RSS_IPV6_EX never meant IPV6 > fragments: > > https://docs.microsoft.com/en-us/windows-hardware/drivers/network/rss-hashing-types#ndishashipv6ex > > ixl_ptype_to_hash(). As far as I understand, the decoded.outer_frag > means "outer packet header indicates a fragment", which has nothing to > do with the any of the IPV6_EX related bits: > > https://docs.microsoft.com/en-us/windows-hardware/drivers/network/rss-hashing-types > > I believe these all should be fixed. > > Thanks, > sephe > > -- > Tomorrow Will Never Die > From owner-freebsd-net@freebsd.org Mon Sep 11 18:00:08 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 CD09FE19D96 for ; Mon, 11 Sep 2017 18:00:08 +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 BB6D16AFFE for ; Mon, 11 Sep 2017 18:00:08 +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 v8BI08W5080675 for ; Mon, 11 Sep 2017 18:00:08 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: Mon, 11 Sep 2017 18:00:08 +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.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, 11 Sep 2017 18:00:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211062 --- Comment #7 from Richard Gallamore --- (In reply to Eric Joyner from comment #6) This is a FreeBSD host using the iovctl program to create vfs with the X540-AT2 network card. I haven't attempted to test the vfs with a guest in = over a year but I doubt it will work because the error is similar or possibly sa= me with new error message. Also, Ultima was my old bugzilla account so sorry if this brings some confusion. My previous tests (over a year ago) once the iovctl command is invoked and= the vfs spawn, the network port no longer functions until iovctl removes the vf= s. I am pretty sure I have tested with and without pf on the previous test but I can't say for certain. The recent test was with pf enabled. When I have some time I'll do a more complete test with errors provided by= the bhyve guest as using a vf if this will help. Here are the relevant configuration files. loader.conf: hw.ix.num_queues=3D"4" iovctl.conf: PF { device : ix1; num_vfs : 4; } DEFAULT { passthrough : true; } VF-0 { passthrough : false; } VF-1 { passthrough : false; } pf.conf: (omitted jail specific rules and variables to keep private) set block-policy drop set skip on { lo, bridge, tap } # skip on bridge and tap, they can cause is= sues with bhyve scrub all no-df max-mss 1440 random-id reassemble tcp block on ix0 all pass in proto tcp to $host port { $host_tcp } modulate state pass in proto udp to $host port { $host_udp } modulate state pass in proto tcp from $nfs_clients to $host port { $host_nfs_ports } modul= ate state pass in proto udp from $nfs_clients to $host port { $host_nfs_ports } modul= ate state pass out all modulate state pass in inet proto icmp all icmp-type echoreq pass in inet6 proto ipv6-icmp all icmp6-type { 1, 2, 3, 4, 128, 129, 133, 1= 34, 135, 136, 137 } --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 11 18:41:07 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 5A0BBE1C4D5 for ; Mon, 11 Sep 2017 18:41:07 +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 48B806CDCC for ; Mon, 11 Sep 2017 18:41:07 +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 v8BIf71k033572 for ; Mon, 11 Sep 2017 18:41:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217606] Bridge stops working after some days Date: Mon, 11 Sep 2017 18:41:07 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@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.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, 11 Sep 2017 18:41:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217606 --- Comment #19 from Eric Joyner --- (In reply to Kristof Provost from comment #18) I don't really have any, either. :p @Fabian, can you report your system configuration (network card, OS, boot dmesg, driver versions), too? I'm going to assume it doesn't exactly match Aiko's. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 11 23:15:54 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 5FE2BE06424 for ; Mon, 11 Sep 2017 23:15:54 +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 4D39F775E4 for ; Mon, 11 Sep 2017 23:15:54 +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 v8BNFqHN033862 for ; Mon, 11 Sep 2017 23:15:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213814] AWS/EC2: no egress traffic stats on ixv(4) xn(4) Date: Mon, 11 Sep 2017 23:15:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: IntelNetworking, needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pete@nomadlogic.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? 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.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, 11 Sep 2017 23:15:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213814 --- Comment #15 from pete@nomadlogic.org --- (In reply to Jeff Pieper from comment #12) The commited fix does *not* work on 11.1-RELEASE on AWS: $ uname -ar FreeBSD snap-prod2.iad0.tribdev.com 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1= #0: Wed Aug 9 11:55:48 UTC 2017=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I've confirmed on multiple C4 instances running the same official AMI. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 12 09:00:12 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 B21D6E2309A for ; Tue, 12 Sep 2017 09:00:12 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 536326917A for ; Tue, 12 Sep 2017 09:00:12 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 72DB82DBB757 for ; Tue, 12 Sep 2017 12:00:03 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS for ; Tue, 12 Sep 2017 12:00:03 +0300 (MSK) Date: Tue, 12 Sep 2017 12:00:03 +0300 (MSK) From: "Igor V. Ruzanov" To: freebsd-net@freebsd.org Subject: Need help Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Tue, 12 Sep 2017 09:00:12 -0000 Hello, FreeBSD colleagues! Trying to forward my question to freebsd-net@ group, meybe there is a chance to dig the answer I have modern network card Intel i350T2V2 (peripheral dual gigabit port NIC). And as far as i know all Intel cards should be normally detected by the system. But with this NIC i have some troubles: - the system sees the card as some ethernet device but cannot find proper (igb) driver: pcib6: irq 47 at device 3.2 on pci0 pci6: on pcib6 pci6: at device 0.0 (no driver attached) pci6: at device 0.1 (no driver attached) - its from dmesg log. Fnd `pciconf -lcvb' says: none75@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x151f8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0x91920000, size 131072, enabled bar [18] = type I/O Port, range 32, base 0x2020, size 32, enabled bar [1c] = type Memory, range 32, base 0x919c4000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit, vector masks cap 11[70] = MSI-X supports 10 messages Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link x4(x4) speed 5.0(5.0) ASPM disabled(L0s/L1) ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected ecap 000e[150] = ARI 1 ecap 0010[160] = SRIOV 1 ecap 0017[1a0] = TPH Requester 1 ecap 0018[1c0] = LTR 1 ecap 000d[1d0] = ACS 1 none76@pci0:6:0:1: class=0x020000 card=0x00008086 chip=0x151f8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0x91900000, size 131072, enabled bar [18] = type I/O Port, range 32, base 0x2000, size 32, enabled bar [1c] = type Memory, range 32, base 0x919c0000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit, vector masks cap 11[70] = MSI-X supports 10 messages Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] cap 10[a0] = PCI-Express 2 endpoint max data 256(512) FLR RO NS link x4(x4) speed 5.0(5.0) ASPM disabled(L0s/L1) ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected ecap 000e[150] = ARI 1 ecap 0010[160] = SRIOV 1 ecap 0017[1a0] = TPH Requester 1 ecap 000d[1d0] = ACS 1 My server is: - system is FreeBSD-10.3-RELEASE-p20 - motherboard: Intel S2600WT (dual CPU socket board) - one CPU installed Maybe someone has experience with this inetl NIC? As seen from pciconf output the NIC has a set of VFs (Virtual Functions) needed in virtualization environments. And chip id is 0x151F8086 - the id that igb-driver does not know about. Maybe i need some preconfiguration of this card? Or this device is not compatible with non-virtualization systems like usual physical server? Big thanks in advance! From owner-freebsd-net@freebsd.org Tue Sep 12 13:23:53 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 8F9B4E09317 for ; Tue, 12 Sep 2017 13:23:53 +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 32D7C71373 for ; Tue, 12 Sep 2017 13:23:53 +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 v8CDNntk064646; Tue, 12 Sep 2017 15:23:49 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 5192D5DF; Tue, 12 Sep 2017 15:23:49 +0200 (CEST) Message-ID: <59B7DFE5.7020404@omnilan.de> Date: Tue, 12 Sep 2017 15:23:49 +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: "Igor V. Ruzanov" CC: freebsd-net@freebsd.org Subject: Re: Need help References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 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]); Tue, 12 Sep 2017 15:23:49 +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: Tue, 12 Sep 2017 13:23:53 -0000 Bezüglich Igor V. Ruzanov's Nachricht vom 12.09.2017 11:00 (localtime): > Hello, FreeBSD colleagues! > Trying to forward my question to freebsd-net@ group, meybe there is a > chance to dig the answer > > I have modern network card Intel i350T2V2 (peripheral dual gigabit > port NIC). And as far as i know all Intel cards should be normally > detected by the system. But with this NIC i have some troubles: > - the system sees the card as some ethernet device but cannot find > proper (igb) driver: > pcib6: irq 47 at device 3.2 on pci0 > pci6: on pcib6 > pci6: at device 0.0 (no driver attached) > pci6: at device 0.1 (no driver attached) > - its from dmesg log. > > Fnd `pciconf -lcvb' says: > none75@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x151f8086 > rev=0x01 hdr=0x00 Hmm, neither https://svnweb.freebsd.org/base/releng/10.3/sys/dev/e1000/e1000_hw.h?view=co nor https://svnweb.freebsd.org/base/head/sys/dev/e1000/e1000_hw.h?view=co have 151f as E1000_DEV_ID defined. Qick web search reveals a spec update mentioning your card: https://www.intel.com/content/.../ethernet-controller-i350-spec-update.pdf So if would have time to read the sec update and wouldn't find any obvious reason why simply adding the id can't work, I'd try the following diff (notice: Just a unqualified blind guess, but at least one first step to make the card beeing recognized) Index: sys/dev/e1000/e1000_hw.h =================================================================== --- sys/dev/e1000/e1000_hw.h (Revision 322342) +++ sys/dev/e1000/e1000_hw.h (Arbeitskopie) @@ -168,6 +168,7 @@ #define E1000_DEV_ID_82580_COPPER_DUAL 0x1516 #define E1000_DEV_ID_82580_QUAD_FIBER 0x1527 #define E1000_DEV_ID_I350_COPPER 0x1521 +#define E1000_DEV_ID_I350_COPPER_NOEE 0x151F #define E1000_DEV_ID_I350_FIBER 0x1522 #define E1000_DEV_ID_I350_SERDES 0x1523 #define E1000_DEV_ID_I350_SGMII 0x1524 From owner-freebsd-net@freebsd.org Tue Sep 12 13:32:57 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 36E60E099AD for ; Tue, 12 Sep 2017 13:32:57 +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 D96FF71951 for ; Tue, 12 Sep 2017 13:32:56 +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 v8CDWtEq064680; Tue, 12 Sep 2017 15:32:55 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id D400C5E5; Tue, 12 Sep 2017 15:32:54 +0200 (CEST) Message-ID: <59B7E206.8020500@omnilan.de> Date: Tue, 12 Sep 2017 15:32:54 +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: "Igor V. Ruzanov" CC: freebsd-net@freebsd.org Subject: Re: Need help References: <59B7DFE5.7020404@omnilan.de> In-Reply-To: <59B7DFE5.7020404@omnilan.de> Content-Type: text/plain; charset=ISO-8859-1 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]); Tue, 12 Sep 2017 15:32:55 +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: Tue, 12 Sep 2017 13:32:57 -0000 Bezüglich Harry Schmalzbauer's Nachricht vom 12.09.2017 15:23 (localtime): > Bezüglich Igor V. Ruzanov's Nachricht vom 12.09.2017 11:00 (localtime): >> Hello, FreeBSD colleagues! >> Trying to forward my question to freebsd-net@ group, meybe there is a >> chance to dig the answer >> >> I have modern network card Intel i350T2V2 (peripheral dual gigabit >> port NIC). And as far as i know all Intel cards should be normally >> detected by the system. But with this NIC i have some troubles: >> - the system sees the card as some ethernet device but cannot find >> proper (igb) driver: >> pcib6: irq 47 at device 3.2 on pci0 >> pci6: on pcib6 >> pci6: at device 0.0 (no driver attached) >> pci6: at device 0.1 (no driver attached) >> - its from dmesg log. >> >> Fnd `pciconf -lcvb' says: >> none75@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x151f8086 >> rev=0x01 hdr=0x00 > Hmm, neither > https://svnweb.freebsd.org/base/releng/10.3/sys/dev/e1000/e1000_hw.h?view=co > nor > https://svnweb.freebsd.org/base/head/sys/dev/e1000/e1000_hw.h?view=co > have 151f as E1000_DEV_ID defined. > Qick web search reveals a spec update mentioning your card: > https://www.intel.com/content/.../ethernet-controller-i350-spec-update.pdf Sorry, should read: https://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/ethernet-controller-i350-spec-update.pdf > So if would have time to read the sec update and wouldn't find any > obvious reason why simply adding the id can't work, I'd try the > following diff (notice: Just a unqualified blind guess, but at least one > first step to make the card beeing recognized) > > Index: > sys/dev/e1000/e1000_hw.h > > =================================================================== > --- sys/dev/e1000/e1000_hw.h (Revision 322342) > +++ sys/dev/e1000/e1000_hw.h (Arbeitskopie) > @@ -168,6 +168,7 @@ > #define E1000_DEV_ID_82580_COPPER_DUAL 0x1516 > #define E1000_DEV_ID_82580_QUAD_FIBER 0x1527 > #define E1000_DEV_ID_I350_COPPER 0x1521 > +#define E1000_DEV_ID_I350_COPPER_NOEE 0x151F > #define E1000_DEV_ID_I350_FIBER 0x1522 > #define E1000_DEV_ID_I350_SERDES 0x1523 > #define E1000_DEV_ID_I350_SGMII 0x1524 > Either add E1000_DEV_ID_I350_COPPER_NOEE elsewhere, or try without _NOEE appendix if datasheet suggests. -harry From owner-freebsd-net@freebsd.org Tue Sep 12 13:40: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 EC8D8E09D8D for ; Tue, 12 Sep 2017 13:40:01 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9084A71D59 for ; Tue, 12 Sep 2017 13:40:01 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward101j.mail.yandex.net (Yandex) with ESMTP id C7E7D1242D69; Tue, 12 Sep 2017 16:39:57 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id cEod2KU2U3-dv5Wcngk; Tue, 12 Sep 2017 16:39:57 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505223597; bh=5pp70wgWStqYWOVP5SjmR8S+YThcKCl9TD5KftdPY68=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=fTP2yddr9OQo/Hdgx/RNRIBHs4DwPDPXK9mvtu8PYFPs4zTP0CL9jSMxWavtmjHkV EtqZQKcaz6DZjEoNB20J22MvHacZtg9GKApPKdE/mA9zY0ILj59m3Inqej4OlimkCJ r8C/XUA2yudYgj6C044ABYHKI47IbY3aWFzdffNQ= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id W4HH1BB0Or-duTemrsT; Tue, 12 Sep 2017 16:39:56 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505223596; bh=5pp70wgWStqYWOVP5SjmR8S+YThcKCl9TD5KftdPY68=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=QZXa997osAyZ0jNG8CL8QNOdnZ3oQzd5KZUoEOOKtjhRs/VSrVhjQ3HkFETuiM/nN cLuGgJ5563Lzz9P9zFgD24PPWFsNwJyCP8KO1B338diHpzKqcUwurpJE1/08CA+khC EHVzmeTS3oQ1NF59NCqdWQN8f1+kMSvB9OfrR4no= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: Need help To: Harry Schmalzbauer , "Igor V. Ruzanov" Cc: freebsd-net@freebsd.org References: <59B7DFE5.7020404@omnilan.de> <59B7E206.8020500@omnilan.de> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Tue, 12 Sep 2017 16:35:56 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <59B7E206.8020500@omnilan.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bdejEPc3Qp67JaR40OuKwUv12H25fEi8G" 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: Tue, 12 Sep 2017 13:40:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bdejEPc3Qp67JaR40OuKwUv12H25fEi8G Content-Type: multipart/mixed; boundary="dET6RTkXlTcfiUulPlsdbO566f4ej5hvT"; protected-headers="v1" From: "Andrey V. Elsukov" To: Harry Schmalzbauer , "Igor V. Ruzanov" Cc: freebsd-net@freebsd.org Message-ID: Subject: Re: Need help References: <59B7DFE5.7020404@omnilan.de> <59B7E206.8020500@omnilan.de> In-Reply-To: <59B7E206.8020500@omnilan.de> --dET6RTkXlTcfiUulPlsdbO566f4ej5hvT Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 12.09.2017 16:32, Harry Schmalzbauer wrote: >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- sys/dev/e1000/e1000_hw.h (Revision 322342) >> +++ sys/dev/e1000/e1000_hw.h (Arbeitskopie) >> @@ -168,6 +168,7 @@ >> #define E1000_DEV_ID_82580_COPPER_DUAL 0x1516 >> #define E1000_DEV_ID_82580_QUAD_FIBER 0x1527 >> #define E1000_DEV_ID_I350_COPPER 0x1521 >> +#define E1000_DEV_ID_I350_COPPER_NOEE 0x151F >> #define E1000_DEV_ID_I350_FIBER 0x1522 >> #define E1000_DEV_ID_I350_SERDES 0x1523 >> #define E1000_DEV_ID_I350_SGMII 0x1524 >> >=20 > Either add E1000_DEV_ID_I350_COPPER_NOEE elsewhere, or try without _NOE= E > appendix if datasheet suggests. Hi, just defining device id in the header usually doesn't automatically add support for this device. You need to teach probe function to use defined id. So, you need to add this id to some array in the if_em.c, probably this is igb_vendor_info_array. --=20 WBR, Andrey V. Elsukov --dET6RTkXlTcfiUulPlsdbO566f4ej5hvT-- --bdejEPc3Qp67JaR40OuKwUv12H25fEi8G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlm34rwACgkQAcXqBBDI oXriFggAwZnuGogBkYISD2qs5ZifmMydn1oMZOlcyATSSSsx3O8VYqJZUPstJqJz GYJ9XVRq9FDV+s+Q8ITCtnimv00WwVuNCpGlrcKgOrCBcCHOt4HsLemU6chGjKkM 6VRK4WYMvvw8KforBs7lEr2TLn0eYaXVD1SNi+VczKskW8I2IE025ppWudxSjHOW bifX+LJxxfmTabtY2qZGMk63pGRw07T8AgbO1pL6779vUmT6QhvTEs6Mp25v1ssB g5ByONIEaGQEWz2BSkpJZxvQQiG7cvJ6mIxG1fAoGYw2imF/lbbRZcwXJqTB2IS7 ddOSbsm4SMF+I5e4OVXBQbVBN7wcUg== =G6IN -----END PGP SIGNATURE----- --bdejEPc3Qp67JaR40OuKwUv12H25fEi8G-- From owner-freebsd-net@freebsd.org Tue Sep 12 13:42:47 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 13AC9E0A23E for ; Tue, 12 Sep 2017 13:42:47 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::600]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9164972211 for ; Tue, 12 Sep 2017 13:42:46 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward100o.mail.yandex.net (Yandex) with ESMTP id D0B8B2A242C5; Tue, 12 Sep 2017 16:42:34 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id vo6wqs4p98-gYC8SIC3; Tue, 12 Sep 2017 16:42:34 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505223754; bh=HPLLq/ACb1dcB8S8HID9y8/Y5c284vRuNx3xT1hx2sc=; h=Subject:From:To:Cc:References:Message-ID:Date:In-Reply-To; b=fdlp4X0D34gb5bv6sD7oHjiWb3e0TCNKDllJz7JM7BvMtDVqc3m35JSybbJbt4cEv V4TPFeqD5JV8n+LIjyio/OK7ipHSebCi6tv3BkeGUv2ZOLeWK4YpGdrgMhyiTXyeZl rTCDBITjLiMR6HhIAbmI9riUkeA/1Cpf15eQUqCs= Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id AtG8wRDWiQ-gYfCOcUM; Tue, 12 Sep 2017 16:42:34 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505223754; bh=HPLLq/ACb1dcB8S8HID9y8/Y5c284vRuNx3xT1hx2sc=; h=Subject:From:To:Cc:References:Message-ID:Date:In-Reply-To; b=fdlp4X0D34gb5bv6sD7oHjiWb3e0TCNKDllJz7JM7BvMtDVqc3m35JSybbJbt4cEv V4TPFeqD5JV8n+LIjyio/OK7ipHSebCi6tv3BkeGUv2ZOLeWK4YpGdrgMhyiTXyeZl rTCDBITjLiMR6HhIAbmI9riUkeA/1Cpf15eQUqCs= Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: Need help From: "Andrey V. Elsukov" To: Harry Schmalzbauer Cc: freebsd-net@freebsd.org References: <59B7DFE5.7020404@omnilan.de> <59B7E206.8020500@omnilan.de> Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Tue, 12 Sep 2017 16:38:34 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UeLB69IikOVglw1vxsse8BxqxQ4qCq2s3" 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: Tue, 12 Sep 2017 13:42:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UeLB69IikOVglw1vxsse8BxqxQ4qCq2s3 Content-Type: multipart/mixed; boundary="pc3ffiJ4BFPcfDfxaHepMCdsgUScK52ae"; protected-headers="v1" From: "Andrey V. Elsukov" To: Harry Schmalzbauer Cc: freebsd-net@freebsd.org Message-ID: Subject: Re: Need help References: <59B7DFE5.7020404@omnilan.de> <59B7E206.8020500@omnilan.de> In-Reply-To: --pc3ffiJ4BFPcfDfxaHepMCdsgUScK52ae Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 12.09.2017 16:35, Andrey V. Elsukov wrote: >> Either add E1000_DEV_ID_I350_COPPER_NOEE elsewhere, or try without _NO= EE >> appendix if datasheet suggests. >=20 > Hi, >=20 > just defining device id in the header usually doesn't automatically add= > support for this device. You need to teach probe function to use define= d > id. So, you need to add this id to some array in the if_em.c, probably > this is igb_vendor_info_array. And for stable/10 this array is in the if_igb.c. --=20 WBR, Andrey V. Elsukov --pc3ffiJ4BFPcfDfxaHepMCdsgUScK52ae-- --UeLB69IikOVglw1vxsse8BxqxQ4qCq2s3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlm341oACgkQAcXqBBDI oXqxdwf/ZFFVP9ghTycQ1KXIxX6sJ8r7ZC8ur/mKqzq7FZCTY85+UeyWoy1ZxcR8 khSlTuhkTPauhLgbylhoaNGERW4fAigR46+rLJCCzASr1NNPp/P5Ux+n2QRgsOnr sC8Oz7Ttt2UUJ3qHQqHODr8WRn995AxaukeW8y+xTOVMY7Dgy6LgEhX3m/awmwBz eko1U0BmxpRtxnjvws318bGfTOOxMLtGaavWfHIeZ+6r1HO9u2OvzaIH3bkn86V/ R/2PtgAoP6rvKV3wfX02p7g+DUrpFRF+BDdSzBAH4eSJIZwmSqdtA1eq09X/qlnf mGioMLvWQbMWINnWGtlSAJSPd+2Fmw== =lrsG -----END PGP SIGNATURE----- --UeLB69IikOVglw1vxsse8BxqxQ4qCq2s3-- From owner-freebsd-net@freebsd.org Tue Sep 12 13:47:15 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 5DADAE0A666 for ; Tue, 12 Sep 2017 13:47:15 +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 F00AF72695 for ; Tue, 12 Sep 2017 13:47:14 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v8CDlDM5064824; Tue, 12 Sep 2017 15:47:13 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id F41CB5F1; Tue, 12 Sep 2017 15:47:12 +0200 (CEST) Message-ID: <59B7E560.8090505@omnilan.de> Date: Tue, 12 Sep 2017 15:47:12 +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: "Andrey V. Elsukov" CC: freebsd-net@freebsd.org Subject: Re: Need help References: <59B7DFE5.7020404@omnilan.de> <59B7E206.8020500@omnilan.de> In-Reply-To: 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]); Tue, 12 Sep 2017 15:47:13 +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: Tue, 12 Sep 2017 13:47:15 -0000 Bezüglich Andrey V. Elsukov's Nachricht vom 12.09.2017 15:38 (localtime): > On 12.09.2017 16:35, Andrey V. Elsukov wrote: >>> Either add E1000_DEV_ID_I350_COPPER_NOEE elsewhere, or try without _NOEE >>> appendix if datasheet suggests. >> >> Hi, >> >> just defining device id in the header usually doesn't automatically add >> support for this device. You need to teach probe function to use defined >> id. So, you need to add this id to some array in the if_em.c, probably >> this is igb_vendor_info_array. > > And for stable/10 this array is in the if_igb.c. Thanks for clarifying, I haven't looked what "elsewhere" should read, happy to know it's if_igb.c. Too curious about this id... shouldn't be interested, but as usual, buriosity kills the cat/the time ;-) This might help, looking for "E1000_DEVICE_I350_EEPROM_LESS": https://github.com/BarrelfishOS/barrelfish/blob/master/usr/drivers/e1000/ Now I really go back to work ;-) -harry From owner-freebsd-net@freebsd.org Tue Sep 12 19:21:34 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 2939AE19137 for ; Tue, 12 Sep 2017 19:21:34 +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 F343682AE3 for ; Tue, 12 Sep 2017 19:21:33 +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 v8CJLXvE065158 for ; Tue, 12 Sep 2017 19:21:33 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: Tue, 12 Sep 2017 19:21:33 +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.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: Tue, 12 Sep 2017 19:21:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211062 --- Comment #8 from Richard Gallamore --- Booting up a windows 10: nice -n -20 bhyve \ -c 4 -m 8G -w -H -S \ -s 0,hostbridge \ -s 3,ahci-cd,${IMAGES}/null.iso \ -s 5,ahci-hd,${ZVOL_DIR}/${NAME} \ -s 6:0,passthru,129/0/133 \ -l bootrom,${IMAGES}/BHYVE_UEFI.fd \ -s 29,fbuf,tcp=3D${VNC},w=3D1600,h=3D900 \ -s 30,xhci,tablet \ -s 31,lpc -l com1,stdio \ ${NAME} pciconf -lv: ppt0@pci0:129:0:133: class=3D0x020000 card=3D0x00001458 chip=3D0x1515808= 6 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'X540 Ethernet Controller Virtual Function' class =3D network subclass =3D ethernet While windows 10 is booting an error is received: Assertion failed: (error =3D=3D 0), function modify_bar_registration, file /usr/src/head/src/usr.sbin/bhyve/pci_emul.c, line 491. Abort trap Booting a debian 8 (jessie): nice -n -20 bhyve \ -c 2 -m 4G -w -H -S \ -s 0,hostbridge \ -s 5,ahci-hd,${ZVOL_DIR}/${NAME} \ -s 6:0,passthru,129/0/133 \ -l bootrom,${IMAGES}/BHYVE_UEFI.fd \ -s 29,fbuf,tcp=3D${VNC},w=3D1440,h=3D900 \ -s 30,xhci,tablet \ -s 31,lpc -l com1,stdio \ ${NAME} This boots successfully, however # dmesg | grep ixgbe has errors: ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 2. 12.1-k ixgbevf: Copyright (c) 2009 - 2012 Intel corporation. ixgbevf: 0000:00:06.0: enabling device (0004 -> 0006) ixgbevf: 0000:00:06.0: PF still in reset state. Is the PF interface up? ixgbevf: 0000:00:06.0: Assigning random MAC address ixgbevf: 0000:00:06.0: irq 48 for MSI/MSI-X ixgbevf: 0000:00:06.0: irq 49 for MSI/MSI-X # ip link set eth0 up ixgbevf: Unable to start - perhaps the PF Driver isn't up yet RTNETLINK answers: Network is down Hope this helps. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 12 23:36:31 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 6E60AE24E79 for ; Tue, 12 Sep 2017 23:36:31 +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 5C94C686D7 for ; Tue, 12 Sep 2017 23:36:31 +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 v8CNaVqr090235 for ; Tue, 12 Sep 2017 23:36:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Tue, 12 Sep 2017 23:36:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@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.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: Tue, 12 Sep 2017 23:36:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #4 from Eric Joyner --- (In reply to Cassiano Peixoto from comment #2) I'm trying pkt-gen out. I noticed this line in the output: 299.471571 main [2597] Wait 2 secs for phy reset And the link status in ifconfig flaps. It seems like a bizarre thing for pkt-gen or netmap to do. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Sep 12 23:37:29 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 91187E24F9B for ; Tue, 12 Sep 2017 23:37:29 +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 80235688FF for ; Tue, 12 Sep 2017 23:37:29 +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 v8CNbTnh091435 for ; Tue, 12 Sep 2017 23:37:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Tue, 12 Sep 2017 23:37:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@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.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: Tue, 12 Sep 2017 23:37:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #5 from Eric Joyner --- And also, what card are you using? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 00:26: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 0CF78E012AC for ; Wed, 13 Sep 2017 00:26:52 +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 EF1876AC80 for ; Wed, 13 Sep 2017 00:26:51 +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 v8D0Qmeh058729 for ; Wed, 13 Sep 2017 00:26:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213814] AWS/EC2: no egress traffic stats on ixv(4) Date: Wed, 13 Sep 2017 00:26:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: IntelNetworking, needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: allanjude@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: short_desc 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.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: Wed, 13 Sep 2017 00:26:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213814 Allan Jude changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|AWS/EC2: no egress traffic |AWS/EC2: no egress traffic |stats on ixv(4) xn(4) |stats on ixv(4) --- Comment #16 from Allan Jude --- Change title back. xn(4) was an unrelated issue that only looked similar. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 08:47:11 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 D2E93E14B9B for ; Wed, 13 Sep 2017 08:47:11 +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 C0F417D4FD for ; Wed, 13 Sep 2017 08:47:11 +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 v8D8lBgl097267 for ; Wed, 13 Sep 2017 08:47:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 191916] pflogd(8) eats cpu and hangs with net.bpf.zerocopy_enable=0 Date: Wed, 13 Sep 2017 08:47:11 +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: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lukasz@wasikowski.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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.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: Wed, 13 Sep 2017 08:47:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191916 Lukasz Wasikowski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events --- Comment #3 from Lukasz Wasikowski --- I can't verify this anymore, pflog is working fine on all BSD systems I'm u= sing these days. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 11:04:55 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 1706AE1AA4F for ; Wed, 13 Sep 2017 11:04:55 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C00EA832D7; Wed, 13 Sep 2017 11:04:54 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback5g.mail.yandex.net (mxback5g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:166]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 383C543051E1; Wed, 13 Sep 2017 14:04:42 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback5g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YxIE622rVJ-4g4WhtZc; Wed, 13 Sep 2017 14:04:42 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505300682; bh=m3fzDMS68GYIo/vARnD5qUxaA8Djl8PuBQO4LbfrXlA=; h=To:From:Subject:Message-ID:Date; b=sbt9jd3/0NhaaqtpPYsvjiHuw2ggmPCgLxsICwp28JBMKRIGq4U0DI1ep+GuCHTwj WPpKeP5XetKyMInDYmcRgDrayDn2imrjXhdLhqYWoST62bGgzDfEkVrvPzQt/J0Tk5 zat2/oOjLRmcirCBnpRZ0XYEIpza9Xy+7wkDX/fw= Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uMn2KAT5NV-4faCJgJF; Wed, 13 Sep 2017 14:04:41 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505300681; bh=m3fzDMS68GYIo/vARnD5qUxaA8Djl8PuBQO4LbfrXlA=; h=To:From:Subject:Message-ID:Date; b=MO6CL+lnx+3Ck4onkGkOb8pl9fzhS9rVoQzMoIlDQLAzporCKPRc6tWLSN7YFw0Sp J6FNvUFpTLEI/eKQA0nQrruGB0Vt18/Qvi1xOYYedIaBuNnD122bzO/OCwp/eg6oIw 9gPtHCkOdr7JVZISXyg6Bm4XmEbgDVQzerdya534= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru To: freebsd-net@FreeBSD.org From: "Andrey V. Elsukov" Subject: Splitting Mellanox ConnectX-4 interface using breakout cables Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Wed, 13 Sep 2017 14:00:32 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aK6aNETDqncp13EKadDuqarsWwo8SIJCs" 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: Wed, 13 Sep 2017 11:04:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aK6aNETDqncp13EKadDuqarsWwo8SIJCs Content-Type: multipart/mixed; boundary="X1Hvrcc9j4hXSrxce06HMSHk556RA3AUj"; protected-headers="v1" From: "Andrey V. Elsukov" To: freebsd-net@FreeBSD.org Message-ID: Subject: Splitting Mellanox ConnectX-4 interface using breakout cables --X1Hvrcc9j4hXSrxce06HMSHk556RA3AUj Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi All, we are wondering, is it possible to use such configuration under FreeBSD? I.e. split one mce interface 40G =3D> 4x10G or 100G =3D> 4x25G? --=20 WBR, Andrey V. Elsukov --X1Hvrcc9j4hXSrxce06HMSHk556RA3AUj-- --aK6aNETDqncp13EKadDuqarsWwo8SIJCs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlm5D9AACgkQAcXqBBDI oXrRhwf/WZvkAsTFTv/jAXd3Oq6Y20nd3QB6kJaQbJnRk0A14pyRfGFvnHQVSSbC Ek5l4MmYMhHf+0J/8NyEGfhsMnORdiwXddTVarAN4e8VlJ3RFjLSqbRnCMVwneWA MPZvk+jLhkYQM7mCGNikWl9HGr3DyTXmUizlSS8ASUv2syDleuO9S/W76EZ08BP8 bUVy9H/pj1SzOX2+ILFcMzC79BwmVmM0gyrygaUqVqvtW2R8DyV07mTkIzBGILZP LJLIhnjVOb7EHWzF9HXPoqtjyfceXMy1QpKkZPrQ2thgA175qLiXMg+wr3rRDkjj a/j5Gy3dam5PkBM0vk8FmtnGhZIV9Q== =O0mW -----END PGP SIGNATURE----- --aK6aNETDqncp13EKadDuqarsWwo8SIJCs-- From owner-freebsd-net@freebsd.org Wed Sep 13 11:50:57 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 0D28DE1CA4F for ; Wed, 13 Sep 2017 11:50:57 +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 EF771EE6 for ; Wed, 13 Sep 2017 11:50:56 +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 v8DBouP7029851 for ; Wed, 13 Sep 2017 11:50:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Wed, 13 Sep 2017 11:50:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@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.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: Wed, 13 Sep 2017 11:50:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #6 from Cassiano Peixoto --- (In reply to Eric Joyner from comment #5) Hi Eric, It's normal flaps when run pkt-gen. It always worked on this way. Could you reproduce the issue? I'm using 82599ES Intel NIC. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 12:58:31 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 04972E1FBDF for ; Wed, 13 Sep 2017 12:58:31 +0000 (UTC) (envelope-from lew@perftech.com) Received: from smtp-gw.pt.net (smtp-gw.pt.net [206.210.194.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp-gw.pt.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C822C35C2 for ; Wed, 13 Sep 2017 12:58:30 +0000 (UTC) (envelope-from lew@perftech.com) X-ASG-Debug-ID: 1505306835-09411a12aa552c30001-Pd2ruv Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by smtp-gw.pt.net with ESMTP id 4aFsy7sYmA5H5w4L (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 13 Sep 2017 07:47:15 -0500 (CDT) X-Barracuda-Envelope-From: lew@perftech.com X-Barracuda-Effective-Source-IP: mail.pt.net[206.210.194.11] X-Barracuda-Apparent-Source-IP: 206.210.194.11 Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id 37AFB8426F8 for ; Wed, 13 Sep 2017 07:47:15 -0500 (CDT) Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id ozkYjKULreov for ; Wed, 13 Sep 2017 07:47:15 -0500 (CDT) Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id EFAE4842714 for ; Wed, 13 Sep 2017 07:47:14 -0500 (CDT) X-Virus-Scanned: amavisd-new at pt.net Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id bqOP277f3gq5 for ; Wed, 13 Sep 2017 07:47:14 -0500 (CDT) Received: from lewhome-dhcp-179.pt.net (lewhome-dhcp-179.pt.net [206.210.207.179]) (Authenticated sender: lew@pt.net) by mail.pt.net (Postfix) with ESMTPSA id 6872B8426F8 for ; Wed, 13 Sep 2017 07:47:13 -0500 (CDT) From: Lewis Donzis Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [Bug 221385] [Regression] v6 mapped v4 addresses not working in 11.1 Date: Wed, 13 Sep 2017 07:47:11 -0500 X-ASG-Orig-Subj: Re: [Bug 221385] [Regression] v6 mapped v4 addresses not working in 11.1 References: To: freebsd-net@FreeBSD.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3273) X-Barracuda-Connect: mail.pt.net[206.210.194.11] X-Barracuda-Start-Time: 1505306835 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://smtp-gw.pt.net:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at pt.net X-Barracuda-Scan-Msg-Size: 1935 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.42898 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message 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: Wed, 13 Sep 2017 12:58:31 -0000 Hello. This particular bug is a real problem in our embedded system, and = we=E2=80=99re trying to decide whether to go back to 11.0 or wait for a = patch for 11.1. We downloaded just the one file containing the fix, but it wouldn=E2=80=99= t compile, so we downloaded -CURRENT and verified that it works fine. = But it=E2=80=99s unclear to me whether the code in -CURRENT is slated = for an 11.1 patch, or if it won=E2=80=99t show up until 11.2 or even = 12.0. I see the "mfc-stable11 = =E2=80=9D = flag on the bug set to a value of =E2=80=9C?=E2=80=9D. Is that = significant? Perhaps someone can help us understand how to determine when and in = which version a fix will show up. Thanks, lew From owner-freebsd-net@freebsd.org Wed Sep 13 13:43:51 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 E5C50E21EA5 for ; Wed, 13 Sep 2017 13:43:51 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (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 A2CDC64CF8 for ; Wed, 13 Sep 2017 13:43:51 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by mail-yw0-x22a.google.com with SMTP id v72so611858ywa.3 for ; Wed, 13 Sep 2017 06:43:51 -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=rjM/dROz385YBs2bYuxQsHSw0vGIqCJdCIJRZ5eINx0=; b=IvlP8lPCDGa7geDUmqMTXsd/MJmF41EVAMo/mEea5BMgRvbjlWDg/Ya6StML4dGj7n kTiOHpKq9M9pIr95bjcIoutO0rZGU/+3hY6Wu+IzNKHdyHUYcUw8GDK80JRJ/WuVzvfe AfsjZiyyPa1jtsURVSUsqRRZXH9EJPYLSB2SK6fstHSg95HPlkDC69ZAsHeNyqO3qd+8 2zEoAEB81hkaXTVWTjCwepnmjzu7eT+63YvcTwWzSM4UBJyS8mcTbT/atIQaQMdWOqFT RhPoVYdv+Khd/OQGuEkTp2cCdxuBFr/JQ39WhtyjTPhZVjqJRiuImxpStoyVkCYjqF0J heQQ== 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=rjM/dROz385YBs2bYuxQsHSw0vGIqCJdCIJRZ5eINx0=; b=fdsThKYDcMztmkEVRWhzTyQuYvg5HDjB0Uf7Fbi+0ME1jMA9w/JN3vO9ea2leSV/AZ 9IDOFk/BPKg/I9hhGQ3tqFJf2hVyLj9k17OnONrKpdVEM01tK66gGJ0ROiLXz0BV0Ui7 tuig1lAjoCq04jR7QJRM1bk1zVfCE7uzH0DaPSUCpB/ywgO2iomoHgxt0nXwqSfQA7oX bekWLgV8EvMyzZG3vSZMXpCwoGXNucQo3ab5UFPyk0DuCN5xxqF2dERU4WOFVWkrzeIr rt96GKQXKQJsee+2/7Vj+jdw34AjLlZJUMQC3n+RaLqptiW0Kg/nYAySByxb/9P0Mmsj /yug== X-Gm-Message-State: AHPjjUhJ8y8JP0lmbn7/rEOUZUGq+fFh0pkrG7DyMYwC+1W7Y61xD05Q t34mX44/xffbyhYbQwqjdjnq13RPwZXLRCL9H+4= X-Google-Smtp-Source: ADKCNb4SqzxLrCs1Ku6PmM52eixfXxdPhaOeG5w9sZuT8mwRXyLD/duR7A7+vIrhaP198+jIHAnbQibAaoi2CJhPcxA= X-Received: by 10.129.227.2 with SMTP id q2mr13170559ywl.211.1505310230922; Wed, 13 Sep 2017 06:43:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.189.209 with HTTP; Wed, 13 Sep 2017 06:43:50 -0700 (PDT) In-Reply-To: References: From: David Horn Date: Wed, 13 Sep 2017 09:43:50 -0400 Message-ID: Subject: Re: Splitting Mellanox ConnectX-4 interface using breakout cables To: "Andrey V. Elsukov" Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" 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: Wed, 13 Sep 2017 13:43:52 -0000 I was under the impression that these Mellanox 40G->4x10G breakout cables were for the Mellanox switch side (not Mellanox NIC) to provide more flexible utilization options for the switch. I have never heard of doing this from the 40G NIC (on any OS). Please reply if you have seen this working on *any* OS from the Mellanox 40G NIC, as I am curious as well and have a both ConnectX-3 and -4 HW. -Dave On Wed, Sep 13, 2017 at 7:00 AM, Andrey V. Elsukov wrote: > Hi All, > > we are wondering, is it possible to use such configuration under > FreeBSD? I.e. split one mce interface 40G => 4x10G or 100G => 4x25G? > > -- > WBR, Andrey V. Elsukov > > From owner-freebsd-net@freebsd.org Wed Sep 13 14:25:12 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 8B0B9E239BD for ; Wed, 13 Sep 2017 14:25:12 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::608]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29B2866ABB for ; Wed, 13 Sep 2017 14:25:12 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 532F84444E53; Wed, 13 Sep 2017 17:25:07 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Hc9bCOjImJ-P7nmBIG1; Wed, 13 Sep 2017 17:25:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505312707; bh=pyMvuuf6lpC13kACyD7tzwNnrNSFjLKS0jtoYhXbGsM=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=j07oPbPLRPSvBW+LCMBsIbJ+BsI6kJPRD2HstcoqQhLH3o6W7XLEmyXwdKwuA6kME V/GbXQvPU6Xu7z3hqc6aoWGrNO5Zw0+syt+lESTK0aC+QGt7mLxYTNxwYXccAY6BS3 AYNX7RC3PpH6GdNB/r5CGJdcG/pZupCXjKRYY77U= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 1w3RK3mHlW-P66WRmWt; Wed, 13 Sep 2017 17:25:06 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1505312706; bh=pyMvuuf6lpC13kACyD7tzwNnrNSFjLKS0jtoYhXbGsM=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=iuSv4QHz29rxamNeHTjv+1UCb8U2mcvxN0GJsD2ObfRMk5eOOAvRGtDEmDorLNBbs sMKayjYJi4uMSETAgBlLAJZZLdhKTIj0H5oLoWJHypoVetP/i+XTIt5Ya3E8wNY5gH +ejCJh6CKAGkNZmi+LzFpvyuCUIItKXsoXTRHr0I= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: Splitting Mellanox ConnectX-4 interface using breakout cables To: David Horn Cc: freebsd-net@freebsd.org References: From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Wed, 13 Sep 2017 17:21:02 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kb92NhR02Cm0jIB93hOr0pRbMhebxoXtL" 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: Wed, 13 Sep 2017 14:25:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kb92NhR02Cm0jIB93hOr0pRbMhebxoXtL Content-Type: multipart/mixed; boundary="nn8aClrOSdSuji3n1Hvasjbn4wttluAp1"; protected-headers="v1" From: "Andrey V. Elsukov" To: David Horn Cc: freebsd-net@freebsd.org Message-ID: Subject: Re: Splitting Mellanox ConnectX-4 interface using breakout cables References: In-Reply-To: --nn8aClrOSdSuji3n1Hvasjbn4wttluAp1 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 13.09.2017 16:43, David Horn wrote: > I was under the impression that these Mellanox 40G->4x10G breakout > cables were for the Mellanox switch side (not Mellanox NIC) to provide > more flexible utilization options for the switch. I have never heard o= f > doing this from the 40G NIC (on any OS). >=20 > Please reply if you have seen this working on *any* OS from the Mellano= x > 40G NIC, as I am curious as well and have a both ConnectX-3 and -4 HW. We have several Intel-XL710-QDA1 cards that work like this: ixl0@pci0:6:0:0: class=3D0x020000 card=3D0x00028086 chip=3D0x15848086 rev= =3D0x01 hdr=3D0x00 ixl1@pci0:6:0:1: class=3D0x020000 card=3D0x00008086 chip=3D0x15848086 rev= =3D0x01 hdr=3D0x00 ixl2@pci0:6:0:2: class=3D0x020000 card=3D0x00008086 chip=3D0x15848086 rev= =3D0x01 hdr=3D0x00 ixl3@pci0:6:0:3: class=3D0x020000 card=3D0x00008086 chip=3D0x15848086 rev= =3D0x01 hdr=3D0x00 This is one card with QSPF28 splited into 4x10G. --=20 WBR, Andrey V. Elsukov --nn8aClrOSdSuji3n1Hvasjbn4wttluAp1-- --kb92NhR02Cm0jIB93hOr0pRbMhebxoXtL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlm5Ps4ACgkQAcXqBBDI oXrkHAf+Jk2yVidcKt5bGPYKRCZSuVYtPDjO4S3VcwByzFLB3zAYyNjiGlHW97ow gxtBZ+7HqySUMJqRoj7OFBZw6js9Eul8xO3UUNVlIol61PX9vp6SY+Tfx9agGkDE 8m/X8LT/IJym3+QMFemmnHl5P4biby8lJg1ahMR9G2qK5X9IJv/M1AWhFjG2mOzB bvkOVy4zyPIFmknm5k4dG8ci+3QzDpPFcXaxyvfXgSustpM0LrpXcGzqUoQW48h1 r5YRJFoROviSCEL7uXr3p9/ihFuNwyoXhKBHlch8WBOxr+3sW9CCgI2m0dg7WWlm Jm4SZcE+gKWiYhXmF2Al8lvnmC9bqw== =6LKA -----END PGP SIGNATURE----- --kb92NhR02Cm0jIB93hOr0pRbMhebxoXtL-- From owner-freebsd-net@freebsd.org Wed Sep 13 16:11:35 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 C18F9E03660 for ; Wed, 13 Sep 2017 16:11:35 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (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 5D8536BD1D for ; Wed, 13 Sep 2017 16:11:35 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: by mail-wm0-f45.google.com with SMTP id a137so9385484wma.0 for ; Wed, 13 Sep 2017 09:11:35 -0700 (PDT) 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=yeSMkEWwyW9UMI/R1Boet5DgIWwH+ue7vytyNkv5RFk=; b=ZSTOjmzTO+j0q7Vmv0eP8huJPT1d2/aYb+4Seoou18ZNCqpO+C102B7hKUDJPHRT4+ wbgYfqfNHmYwabLfTcwK48NLkq/hO7z/OXCPdfxrFJMS+7JvLpW6tZBpTk4gB0zbpRjv 26JM2ufFZgyNIXXjBdvBragz2t/E3o8PXyG9q9EjY+mGED9dTgiM+nckvcKaSYoodTOA arjJUf/79ijGrWgP8jZwqVAaA8jf4A5fddZ4733W8dwx04lpbsbSmnTw5dFQtLUJJA7o sbB/DUDm4O91Df6GF+g72CEnoT8LWEgk8e5pG4d9boHRBt+57aos2c2+fyJEi0riRICb JeKw== X-Gm-Message-State: AHPjjUjbxjN1QpHf8RT9sRg0GVr9t8aJXxvZSvSDGB4V1/zWbnAvCyy/ I7YzKtlZKJXfwJSZlcThCQ== X-Received: by 10.80.141.133 with SMTP id r5mr9850364edh.107.1505313014937; Wed, 13 Sep 2017 07:30:14 -0700 (PDT) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com. [74.125.82.48]) by smtp.gmail.com with ESMTPSA id b43sm8805371edc.52.2017.09.13.07.30.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 07:30:14 -0700 (PDT) Received: by mail-wm0-f48.google.com with SMTP id i189so8335427wmf.1 for ; Wed, 13 Sep 2017 07:30:13 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBsV5J90S60J/beHSE+47L8BqQn+ejDwKlKyv8H8pv8p8HD5FjgYRmGgt9zpe0WNxU5tCIxOMcEBNEi+12tOrE= X-Received: by 10.28.142.147 with SMTP id q141mr2508806wmd.155.1505313013353; Wed, 13 Sep 2017 07:30:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.144.106 with HTTP; Wed, 13 Sep 2017 07:30:12 -0700 (PDT) In-Reply-To: References: From: Matt Joras Date: Wed, 13 Sep 2017 07:30:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Splitting Mellanox ConnectX-4 interface using breakout cables To: David Horn Cc: FreeBSD Net , "Andrey V. Elsukov" Content-Type: text/plain; charset="UTF-8" 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: Wed, 13 Sep 2017 16:11:35 -0000 On Sep 13, 2017 6:43 AM, "David Horn" wrote: I was under the impression that these Mellanox 40G->4x10G breakout cables were for the Mellanox switch side (not Mellanox NIC) to provide more flexible utilization options for the switch. I have never heard of doing this from the 40G NIC (on any OS). Please reply if you have seen this working on *any* OS from the Mellanox 40G NIC, as I am curious as well and have a both ConnectX-3 and -4 HW. -Dave On Wed, Sep 13, 2017 at 7:00 AM, Andrey V. Elsukov wrote: > Hi All, > > we are wondering, is it possible to use such configuration under > FreeBSD? I.e. split one mce interface 40G => 4x10G or 100G => 4x25G? > > -- > WBR, Andrey V. Elsukov > > I was also under the impression that they were exclusively used on the switch for Mellanox. Mellanox's documentation seems to back this up: "Important: The 40GbE split options is supported only on Mellanox switches and not supported on Mellanox adapters (e.g. ConnectX-3) when equipped with 40GbE ports. In case you wish to limit the 40GbE port on the adapter to 10GbE you can use QSA or similar 40GbE-10GbE cables (Refer to Mellanox.com - here)" [1] That doesn't mention their newer NICs, however, though I don't see a mention of the feature on their product sheets. Matt [1] https://community.mellanox.com/docs/DOC-1450 From owner-freebsd-net@freebsd.org Wed Sep 13 16:28:45 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 CC242E043CA for ; Wed, 13 Sep 2017 16:28:45 +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 BA8206C9D1 for ; Wed, 13 Sep 2017 16:28:45 +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 v8DGSjh5085782 for ; Wed, 13 Sep 2017 16:28:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 206624] igb(4) fails at fragmented mbufs Date: Wed, 13 Sep 2017 16:28:46 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@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: assigned_to 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.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: Wed, 13 Sep 2017 16:28:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206624 Eric Joyner changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|erj@freebsd.org |freebsd-net@FreeBSD.org --- Comment #1 from Eric Joyner --- This should go back to -net, since they are the ones who generally maintain= the 1G iflib drivers. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 17:45:42 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 48D19E0792E for ; Wed, 13 Sep 2017 17:45:42 +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 378ED6FEA9 for ; Wed, 13 Sep 2017 17:45:42 +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 v8DHjfcv095939 for ; Wed, 13 Sep 2017 17:45:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 206624] igb(4) fails at fragmented mbufs Date: Wed, 13 Sep 2017 17:45:42 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kbowling@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: cc 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.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: Wed, 13 Sep 2017 17:45:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206624 Kevin Bowling changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kbowling@freebsd.org --- Comment #2 from Kevin Bowling --- Gleb, I am curious if the e1000 related part of this ticket occurs in HEAD = with the recent iflib changes. We will fix it up otherwise. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 17:56:48 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 EC78CE08036 for ; Wed, 13 Sep 2017 17:56:48 +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 DB2C370575 for ; Wed, 13 Sep 2017 17:56:48 +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 v8DHumf2020956 for ; Wed, 13 Sep 2017 17:56:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 206624] igb(4) fails at fragmented mbufs Date: Wed, 13 Sep 2017 17:56:49 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: glebius@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.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: Wed, 13 Sep 2017 17:56:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206624 --- Comment #3 from Gleb Smirnoff --- To check that, you need artificially create fragmented mbufs on output. May= be reverting r288991 would be easy way to do that. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 22:05:57 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 6EEB9E11DCF for ; Wed, 13 Sep 2017 22:05:57 +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 5DB5E7CD55 for ; Wed, 13 Sep 2017 22:05:57 +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 v8DM5tJW084735 for ; Wed, 13 Sep 2017 22:05:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Wed, 13 Sep 2017 22:05:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@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.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: Wed, 13 Sep 2017 22:05:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #7 from Eric Joyner --- (In reply to Cassiano Peixoto from comment #6) I can reproduce it after many times, but I don't know what would be causing= it. I don't know much about the inner workings of netmap. Can we get the maintainer for it to comment on this? It used to be luigi, b= ut I don't know if he still works on it. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 13 22:10:59 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 E099DE12140 for ; Wed, 13 Sep 2017 22:10:59 +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 CF37D7CF9C for ; Wed, 13 Sep 2017 22:10:59 +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 v8DMAxOC094158 for ; Wed, 13 Sep 2017 22:10:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Wed, 13 Sep 2017 22:11:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@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.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: Wed, 13 Sep 2017 22:11:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #8 from Eric Joyner --- (In reply to Eric Joyner from comment #7) and to add to this, I see this on ixgbe in 12-CURRENT, too. Though, with the impending conversion to iflib, this may end up being overcome/have its natu= re changed by that. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 14 10:06: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 E1DC3E0CC18 for ; Thu, 14 Sep 2017 10:06: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 CF86C6D44E for ; Thu, 14 Sep 2017 10:06: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 v8EA6E4O011832 for ; Thu, 14 Sep 2017 10:06:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217606] Bridge stops working after some days Date: Thu, 14 Sep 2017 10:06:14 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fk@fabiankeil.de 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: attachments.created 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.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: Thu, 14 Sep 2017 10:06:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217606 --- Comment #20 from Fabian Keil --- Created attachment 186372 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186372&action= =3Dedit ElectroBSD r323013-16c8587cb1b5 dmesg on HP Proliant TL;DR: I'm attaching a dmesg output as requested but as it looks like the problems are unrelated the system differences are probably irrelevant. I currently don't use ix devices. As mentioned in comment #13 it's not obvious to me that Aiko's issue is uma related and I mainly mentioned the patches as the symptoms look somewhat similar and no other suggestions were made at the time. The fact that the uma patches didn't help on the punkt.de system(s) seems to indicate that it's another issue as well (but maybe the same as Aiko's). On my systems the uma regression resulted in established tcp connections getting terminated after a while. It could take days for the problem to occur so I've mostly noticed it with ssh connections. Terminated connections could be reestablished without restarting any interfaces and the problem didn't affect all connections at the same time either. I've created the if_bridge patches after noticing that ssh connections on a bhyve host to the bhyve vms got terminated a couple of times in a similar fashion. At the time the bhyve host and vms were running ElectroBSD based on FreeBSD stable/11 from March 2017 and already contained the other tcp regression fixes. The bhyve host is a HP DL120 G6 using a bridge1 between tap devices for vms with access to the Internet and bridge0 between tap devices from vms without access to the Internet. pf is being used to nat on bge0 to bridge1. After applying the if_bridge patches the local ssh connections to the bhyve vms stayed up so I haven't looked into this any further. I also didn't verify that removing the if_bridge patches reintroduces the problem again to confirm that there's indeed a causation (and the problem wasn't fixed by syncing with stable/11). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 14 10:13:58 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 CE04BE0D480 for ; Thu, 14 Sep 2017 10:13:58 +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 BCBFF6DB55 for ; Thu, 14 Sep 2017 10:13:58 +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 v8EADwLX032518 for ; Thu, 14 Sep 2017 10:13:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217606] Bridge stops working after some days Date: Thu, 14 Sep 2017 10:13:58 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mops@punkt.de 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.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: Thu, 14 Sep 2017 10:13:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217606 --- Comment #21 from punkt.de Hosting Team --- Hi, all, to recapitulate, our symptoms are * no traffic reaching the jails and their epair(4) interfaces across the bridge, anymore * same for outbound traffic from the jails to the wire * network stack inside the jails looks fine, jail can reach it's own addres= ses on the epair(4) * traffic to and from the host is just fine, too * network connections cannot be re-established * ifconfig down/up does not help We will put igb(4) based network adapters into our hosts on the weekend and rewire the network connections accordingly. Just a desperate try ... Kind regards, Patrick --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 14 11:33:12 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 46A47E115EC for ; Thu, 14 Sep 2017 11:33:12 +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 3422770690 for ; Thu, 14 Sep 2017 11:33:12 +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 v8EBXAMq045397 for ; Thu, 14 Sep 2017 11:33:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Thu, 14 Sep 2017 11:33:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@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.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: Thu, 14 Sep 2017 11:33:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #9 from Cassiano Peixoto --- (In reply to Eric Joyner from comment #7) Hi Eric, It happens by chance, but i used to run a netmap application and many times= it stops working and i need to reboot the server. Just to make sure the issue = came up after ixgbe driver update to 3.2.12-k. Just to add for this PR here the issue happen bellow: (root@rt1)~# /usr/local/proapps/bin/pkt-gen -i ix0 -f tx -c4 -p4 687.258207 main [2568] interface is ix0 687.258259 main [2691] running on 4 cpus (have 8) 687.258426 extract_ip_range [465] range is 10.0.0.1:1234 to 10.0.0.1:1234 687.258443 extract_ip_range [465] range is 10.1.0.1:1234 to 10.1.0.1:1234 687.489604 nm_open [850] overriding ifname ix0 ringid 0x0 flags 0x8004 687.605494 main [2786] mapped 273540KB at 0x801600000 Sending on netmap:ix0: 8 queues, 4 threads and 4 cpus. 10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff) 687.605584 main [2883] Sending 512 packets every 0.000000000 s 687.605674 nm_open [850] overriding ifname ix0 ringid 0x1 flags 0x8004 687.721195 nm_mmap [959] do not mmap, inherit from parent 687.721300 nm_open [850] overriding ifname ix0 ringid 0x2 flags 0x8004 687.836418 nm_mmap [959] do not mmap, inherit from parent 687.836520 nm_open [850] overriding ifname ix0 ringid 0x3 flags 0x8004 687.951300 nm_mmap [959] do not mmap, inherit from parent 687.951331 start_threads [2251] Wait 2 secs for phy reset 689.997961 start_threads [2253] Ready... 689.998143 sender_body [1444] start, fd 3 main_fd 3 689.998201 sender_body [1444] start, fd 4 main_fd 3 689.998232 sender_body [1444] start, fd 5 main_fd 3 689.998283 sender_body [1444] start, fd 6 main_fd 3 689.998259 main [2896] failed to install ^C handler: Invalid argument 690.035491 sender_body [1526] drop copy 690.041994 sender_body [1526] drop copy 690.042093 sender_body [1526] drop copy 690.042681 sender_body [1526] drop copy 690.999011 main_thread [2341] 10.901 Mpps (10.907 Mpkts 5.236 Gbps in 10005= 62 usec) 399.70 avg_batch 0 min_space 692.000049 main_thread [2341] 10.855 Mpps (10.866 Mpkts 5.216 Gbps in 10010= 37 usec) 399.65 avg_batch 399996 min_space 693.063201 main_thread [2341] 10.851 Mpps (11.536 Mpkts 5.537 Gbps in 10631= 52 usec) 399.66 avg_batch 399996 min_space 694.087449 main_thread [2341] 10.857 Mpps (11.120 Mpkts 5.338 Gbps in 10242= 48 usec) 399.64 avg_batch 399996 min_space 695.087945 main_thread [2341] 10.852 Mpps (10.858 Mpkts 5.212 Gbps in 10004= 96 usec) 399.64 avg_batch 399996 min_space 696.089042 main_thread [2341] 10.854 Mpps (10.865 Mpkts 5.215 Gbps in 10010= 97 usec) 399.64 avg_batch 399996 min_space 697.090944 main_thread [2341] 10.855 Mpps (10.875 Mpkts 5.220 Gbps in 10019= 02 usec) 399.65 avg_batch 399996 min_space 698.091952 main_thread [2341] 10.853 Mpps (10.864 Mpkts 5.215 Gbps in 10010= 08 usec) 399.68 avg_batch 399996 min_space 699.150016 main_thread [2341] 10.851 Mpps (11.481 Mpkts 5.511 Gbps in 10580= 64 usec) 399.67 avg_batch 399996 min_space 700.151767 main_thread [2341] 10.853 Mpps (10.872 Mpkts 5.219 Gbps in 10017= 51 usec) 399.66 avg_batch 399996 min_space 701.151958 main_thread [2341] 10.849 Mpps (10.851 Mpkts 5.209 Gbps in 10001= 90 usec) 399.70 avg_batch 399996 min_space 702.155017 main_thread [2341] 10.852 Mpps (10.885 Mpkts 5.225 Gbps in 10030= 60 usec) 399.64 avg_batch 399996 min_space 703.156485 main_thread [2341] 10.854 Mpps (10.870 Mpkts 5.218 Gbps in 10014= 68 usec) 399.64 avg_batch 399996 min_space 704.219446 main_thread [2341] 10.855 Mpps (11.538 Mpkts 5.538 Gbps in 10629= 61 usec) 399.66 avg_batch 399996 min_space 705.229017 main_thread [2341] 10.851 Mpps (10.955 Mpkts 5.259 Gbps in 10095= 71 usec) 399.65 avg_batch 399996 min_space 706.230039 main_thread [2341] 10.854 Mpps (10.865 Mpkts 5.215 Gbps in 10010= 22 usec) 399.64 avg_batch 399996 min_space 707.290196 main_thread [2341] 10.855 Mpps (11.508 Mpkts 5.524 Gbps in 10601= 57 usec) 399.65 avg_batch 399996 min_space 708.353447 main_thread [2341] 10.856 Mpps (11.542 Mpkts 5.540 Gbps in 10632= 51 usec) 399.66 avg_batch 399996 min_space 709.354198 main_thread [2341] 10.851 Mpps (10.859 Mpkts 5.212 Gbps in 10007= 50 usec) 399.64 avg_batch 399996 min_space 710.355141 main_thread [2341] 10.856 Mpps (10.866 Mpkts 5.216 Gbps in 10009= 43 usec) 399.65 avg_batch 399996 min_space 711.392196 main_thread [2341] 10.856 Mpps (11.258 Mpkts 5.404 Gbps in 10370= 56 usec) 399.64 avg_batch 399996 min_space 712.393486 main_thread [2341] 10.852 Mpps (10.866 Mpkts 5.216 Gbps in 10012= 90 usec) 399.67 avg_batch 399996 min_space 713.393950 main_thread [2341] 10.854 Mpps (10.859 Mpkts 5.212 Gbps in 10004= 63 usec) 399.65 avg_batch 399996 min_space 714.395262 main_thread [2341] 10.851 Mpps (10.866 Mpkts 5.216 Gbps in 10013= 13 usec) 399.66 avg_batch 399996 min_space ^C (root@rt1)~# /usr/local/proapps/bin/pkt-gen -i ix0 -f tx -c4 -p4 716.666336 main [2568] interface is ix0 716.666387 main [2691] running on 4 cpus (have 8) 716.666560 extract_ip_range [465] range is 10.0.0.1:1234 to 10.0.0.1:1234 716.666578 extract_ip_range [465] range is 10.1.0.1:1234 to 10.1.0.1:1234 716.898132 nm_open [850] overriding ifname ix0 ringid 0x0 flags 0x8004 717.014194 main [2786] mapped 273540KB at 0x801600000 Sending on netmap:ix0: 8 queues, 4 threads and 4 cpus. 10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff) 717.014285 main [2883] Sending 512 packets every 0.000000000 s 717.014376 nm_open [850] overriding ifname ix0 ringid 0x1 flags 0x8004 717.128974 nm_mmap [959] do not mmap, inherit from parent 717.129078 nm_open [850] overriding ifname ix0 ringid 0x2 flags 0x8004 717.265684 nm_mmap [959] do not mmap, inherit from parent 717.265788 nm_open [850] overriding ifname ix0 ringid 0x3 flags 0x8004 717.414345 nm_mmap [959] do not mmap, inherit from parent 717.414376 start_threads [2251] Wait 2 secs for phy reset 719.415014 start_threads [2253] Ready... 719.415243 sender_body [1444] start, fd 3 main_fd 3 719.415291 sender_body [1444] start, fd 4 main_fd 3 719.415345 sender_body [1444] start, fd 5 main_fd 3 719.415359 sender_body [1444] start, fd 6 main_fd 3 719.415351 main [2896] failed to install ^C handler: Invalid argument 720.445090 main_thread [2341] 6.213 Kpps (6.396 Kpkts 3.070 Mbps in 1029510 usec) 399.75 avg_batch 0 min_space 721.425011 sender_body [1513] poll error/timeout on queue 3: No error: 0 721.445085 sender_body [1513] poll error/timeout on queue 0: No error: 0 721.445084 sender_body [1513] poll error/timeout on queue 1: No error: 0 721.445084 sender_body [1513] poll error/timeout on queue 2: No error: 0 721.476197 main_thread [2341] 0.000 pps (0.000 pkts 0.000 bps in 1031109 us= ec) 0.00 avg_batch 399996 min_space 722.539507 main_thread [2341] 0.000 pps (0.000 pkts 0.000 bps in 1063310 us= ec) 0.00 avg_batch 399996 min_space 723.447014 sender_body [1513] poll error/timeout on queue 1: No error: 0 723.447183 sender_body [1513] poll error/timeout on queue 2: No error: 0 723.490202 sender_body [1513] poll error/timeout on queue 3: No error: 0 723.490206 sender_body [1513] poll error/timeout on queue 0: No error: 0 723.559528 main_thread [2341] 0.000 pps (0.000 pkts 0.000 bps in 1020019 us= ec) 0.00 avg_batch 399996 min_space ^C (root@rt1)~# ifconfig ix0 ix0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De407bb ether 84:44:64:40:a1:5e hwaddr 84:44:64:40:a1:5e inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255=20 nd6 options=3D29 media: Ethernet autoselect status: no carrier Regarding the maintainer question, it really used to be Luigi, but i don't = know if he is still coding netmap. Anyway, I recommend speak with Vincenzo Maffi= one. He's the most active netmap developer nowadays. I'm copying him on this PR. Maybe he can help to figure out the issue. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 14 14:21:10 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 5F1B4E1B25A; Thu, 14 Sep 2017 14:21:10 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 355C775B25; Thu, 14 Sep 2017 14:21:09 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6001320D6E; Thu, 14 Sep 2017 10:21:08 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Thu, 14 Sep 2017 10:21:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=/xdndg8jFeCEH1B2zVXhFA5yogLPDx4bX31QXNl+u1U=; b=WXjbz m0H6dH0EE9M3/eY7tIyLBS4gyG978i9LhhXMQJCRnt+B1l9+ypCnN/By8vmj10FJ uNkrQ8bphED3jwz8VLPnR2dEgvO6UQfeC6LiXS4AfnJcbstkbnxTeETIGtGOZEUX AdMfR55f0OYDyCf3yX9j4Ww7SALlkwVXTMETzg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=/xdndg8jFeCEH1B2zVXhFA5yogLPD x4bX31QXNl+u1U=; b=dNs6qoNs+kB82nrmTXGFdOFPSyede34d9ev8p8wgKM4Jf A6pCx9zW7XZTScrW5PlKXYc7tBCtZkyvTg6RmUFbDK+7KYWRfjkl5DpA3UgUCYcP 5QbnXfsoHbrQxSAdfdv9d7bZjVFMbIbmOGKu+l6dH+7H/Qg0cRGtNVwuJ7Em9KDf koIEBVo/4ZW7x5Ir6R5VOiiK7JG47Dxf07xMnwHC61Fd836GL7dOwWKtfrLXIYD1 3F4Y/fGC3dTCLuhdCSLKokwsEbEFKGxSKrrZkDudisEwtFCX6MPg0ic4GrGuvrQw 8vsH0gmVeWUXmzIEE5nHyxrnARJ85F4/7HCT+GC3Q== X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 2AA1A48004; Thu, 14 Sep 2017 10:21:08 -0400 (EDT) Message-Id: <1505398868.955393.1106053824.42CA3E40@webmail.messagingengine.com> From: Dave Cottlehuber To: freebsd-pf@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-64b08692 Subject: NATted outbound traffic sometimes uses backup CARP IP on LACP/LAGG interface Date: Thu, 14 Sep 2017 16:21:08 +0200 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: Thu, 14 Sep 2017 14:21:10 -0000 Hi, Outgoing traffic (from a jail) via PF NAT over a LAGG/LACP sometimes has the *backup* CARP IP address assigned to it. Obivously as this IP is only active on the "other" server, the return TCP connection traffic never actually gets back to our CARP master, and the other server sees spurious TCP connections. This is very reproducible and appears to be deterministic, like a round robin IP allocation. In practice, inside a jail, `curl $URL` will fail repeatedly. Hopefully this is some misconfiguration on my part - what am I doing wrong? BTW I wrote this up a while back on the forums where the config files are easier to read: https://forums.freebsd.org/threads/61552 ############################### # /etc/rc.conf network ifconfig_igb0="up" ifconfig_igb1="up" cloned_interfaces="${cloned_interfaces} lagg0" defaultrouter="1.2.3.81" ipv6_defaultrouter="1:2:3:4::1" ifconfig_lagg0="inet 1.2.3.83/28 laggproto lacp laggport igb0 laggport igb1" ifconfig_lagg0_ipv6="inet6 1:2:3:4::83/64" # carp on kld_list="${kld_list} carp" ifconfig_lagg0_aliases="\ inet vhid 1 advskew 100 pass pw1 1.2.3.84/32 \ inet6 vhid 2 advskew 100 pass pw2 1:2:3:4::84/64 \ inet vhid 3 advskew 0 pass pw3 1.2.3.85/32 \ inet6 vhid 4 advskew 0 pass pw4 1:2:3:4::85/64 \ " # jail networks use their own separate cloned if cloned_interfaces="${cloned_interfaces} lo1" ifconfig_lo1_aliases="inet 10.241.0.0-15/16" ############################### # /etc/pf.conf # macros protocols = "{ tcp, udp, icmp }" # interfaces extl_if="lagg0" intl_if="lo0" jail_if="lo1" # networks intl_net = $intl_if:network jail_net = $jail_if:network internet = $extl_if:network # limits set limit { states 200000, frags 80000, src-nodes 80000 } set timeout { adaptive.start 180000, adaptive.end 200000 } # clean packets are happy packets scrub in all # jails are allowed outbound connections but not inbound nat on $extl_if proto $protocols from $jail_net to any -> ($extl_if) # o ye of little faith pass in all pass out all ############################### ######## running configs ###### pfctl indeed shows its a round-robin ############################### # pfctl -vnf /etc/pf.conf protocols = "{ tcp, udp, icmp }" extl_if = "lagg0" intl_if = "lo0" jail_if = "lo1" intl_net = "lo0:network" jail_net = "lo1:network" internet = "lagg0:network" set limit states 200000 set limit frags 80000 set limit src-nodes 80000 set timeout adaptive.start 180000 set timeout adaptive.end 200000 scrub in all fragment reassemble nat on lagg0 inet proto tcp from 10.241.0.0/16 to any -> (lagg0) round-robin nat on lagg0 inet proto tcp from 10.241.0.1 to any -> (lagg0) round-robin ... repeated for each IP ############################### # ifconfig lagg0: flags=8943 metric 0 mtu 1500 options=6403bb ether 78:45:c4:fa:d2:99 inet 1.2.3.82 netmask 0xfffffff0 broadcast 1.2.3.95 * inet 1.2.3.84 netmask 0xffffffff broadcast 1.2.3.84 vhid 1 * inet 1.2.3.85 netmask 0xffffffff broadcast 1.2.3.85 vhid 3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! inet6 fe80::7a45:c4ff:fefa:d299%lagg0 prefixlen 64 scopeid 0x4 inet6 1:2:3:4::82 prefixlen 64 * inet6 1:2:3:4::84 prefixlen 64 vhid 2 * inet6 1:2:3:4::85 prefixlen 64 vhid 4 nd6 options=21 media: Ethernet autoselect status: active * carp: MASTER vhid 1 advbase 1 advskew 0 * carp: BACKUP vhid 3 advbase 1 advskew 100 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * carp: MASTER vhid 2 advbase 1 advskew 0 * carp: BACKUP vhid 4 advbase 1 advskew 100 groups: lagg laggproto lacp lagghash l2,l3,l4 * laggport: igb0 flags=1c * laggport: igb1 flags=1c # I removed the lines appended with !!!!!!!!!!!.. so that the system actually works atm From owner-freebsd-net@freebsd.org Thu Sep 14 20:10:44 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 92309E08BD9 for ; Thu, 14 Sep 2017 20:10:44 +0000 (UTC) (envelope-from aslakl@epost.no) Received: from de-2014.d.ipeer.se (de-2014.d.ipeer.se [213.180.95.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4F74967529 for ; Thu, 14 Sep 2017 20:10:43 +0000 (UTC) (envelope-from aslakl@epost.no) Received: from localhost (localhost [127.0.0.1]) by de-2014.d.ipeer.se (Postfix) with ESMTP id 904173A3064 for ; Thu, 14 Sep 2017 22:01:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at email.no Received: from de-2014.d.ipeer.se ([127.0.0.1]) by localhost (de-2014.d.ipeer.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UD2KDy3JrCIx for ; Thu, 14 Sep 2017 22:01:11 +0200 (CEST) Received: from de-1869.d.ipeer.se (de-1868.d.ipeer.se [213.180.95.191]) by de-2014.d.ipeer.se (Postfix) with ESMTP id BA8A83A3061 for ; Thu, 14 Sep 2017 22:01:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=epost.no; s=mail; h=MIME-Version:Content-Type:Date:Subject:in-reply-to:To:Reply-To:From:Message-Id; bh=YBu9NQwdomZxSWZmt6jeOt7AaqrVfanEJRtk5anvODE=; b=PExGlas515vF0L+Df/YD9nRbpBBpQuLkeakYi6WKIdZrt9mEHNPeQlHRMVbCgj/s+BeQZum+qsXDyKDXfTTBNm4qX/AzbY0fWcIJIcZqBpYKFvQfPW+AyhpDjohFDOOPyJgaBiaafcmYA+ZSHJBmLdpq+LPtSrCHrHMItt1tnyE=; Received: from localhost ([127.0.0.1]) by de-1869.d.ipeer.se with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1dsaJz-0003pt-EC for freebsd-net@freebsd.org; Thu, 14 Sep 2017 22:01:11 +0200 Message-Id: <147a75b6b5cf2f4cbe40c54fe225bb28f149f8d4@epost.no> From: =?UTF-8?B?QXNsYWsgTMODwqZnZXJlaWQ=?= Reply-To: =?UTF-8?B?QXNsYWsgTMODwqZnZXJlaWQ=?= To: freebsd-net@freebsd.org X-Originating-IP: 213.180.95.202 in-reply-to: <8689a6f1-99b7-43c2-b8e7-7ecf2a2c1f62@pchome.com.tw> Subject: =?UTF-8?B?UmU6IEhlaSEgVmlsIGR1IHNpIOKAmEhlaeKAmT8gVGhlYQ==?= Date: Thu, 14 Sep 2017 22:01:11 +0200 MIME-Version: 1.0 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: Thu, 14 Sep 2017 20:10:44 -0000 =0A=0A----- Original Message -----=0AFrom: freebsd-net@freebsd.org=0ATo:= =0ACc:=0ASent:Wed, 13 Sep 2017 11:30:05 -0000= =0ASubject:Hei! Vil du si =E2=80=98Hei=E2=80=99? Thea=0A=0A La oss snakk= e sammen n=C3=A5. http://bitly.com/2w7C7Q8 [1] =0A=0ALinks:=0A------=0A= [1] http://bitly.com/2w7C7Q8=0A From owner-freebsd-net@freebsd.org Thu Sep 14 21:23:17 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 F3CE3E0CF01 for ; Thu, 14 Sep 2017 21:23:16 +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 E2E4C6A404 for ; Thu, 14 Sep 2017 21:23:16 +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 v8ELNFph080681 for ; Thu, 14 Sep 2017 21:23:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217606] Bridge stops working after some days Date: Thu, 14 Sep 2017 21:23:15 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kp@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.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: Thu, 14 Sep 2017 21:23:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217606 --- Comment #22 from Kristof Provost --- (In reply to punkt.de Hosting Team from comment #21) That should tell us if the problem is specific to the ix cards, or not. If = it's not it's most likely a bridge issue. It might be worth taking a look at what happens in the bridge code once it'= s in that state: sudo dtrace -n fbt:if_bridge:: That looks like this, on my nearly idle bridge: dtrace: description 'fbt:if_bridge::' matched 108 probes CPU ID FUNCTION:NAME 6 63915 bridge_transmit:entry 6 63814 bridge_broadcast:entry 6 63824 bridge_enqueue:entry 6 63825 bridge_enqueue:return 6 63824 bridge_enqueue:entry 6 63825 bridge_enqueue:return 6 63815 bridge_broadcast:return 6 63916 bridge_transmit:return 3 63915 bridge_transmit:entry ... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 14 21:32:24 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 BD84EE0D71F; Thu, 14 Sep 2017 21:32:24 +0000 (UTC) (envelope-from srs0=woc2=ap=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86C006AA01; Thu, 14 Sep 2017 21:32:24 +0000 (UTC) (envelope-from srs0=woc2=ap=sigsegv.be=kristof@codepro.be) Received: from [192.168.228.1] (ptr-8ripyyf09rrerk0utqq.18120a2.ip6.access.telenet.be [IPv6:2a02:1811:2419:4e02:2812:4e88:3eaf:f212]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id E71D146074; Thu, 14 Sep 2017 23:32:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1505424741; bh=a/9B4TIF1FknxE80ydLk9S19/O1NRT2F9pBzOBTjfzQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=2rqxWSegRGhej1M6wSurDXY/xehdQ8UEf6RgKrdxPMj+2W+tJRWgxdGqytNdHoxM9 7A9ANPjQBWZDAnaMMiGdCmNmFz+z4/+FicAu7SUHBfgZurOdbSLgB/tg/wOI3TvpkS Vs4xlU2jsbTI+WZMaWPB7aycM+d6c2sNkiir9wZQ= From: "Kristof Provost" To: "Dave Cottlehuber" Cc: freebsd-pf@freebsd.org, freebsd-net@freebsd.org Subject: Re: NATted outbound traffic sometimes uses backup CARP IP on LACP/LAGG interface Date: Thu, 14 Sep 2017 23:32:21 +0200 Message-ID: <4250D983-3CE2-4156-85FB-E580F6C592D2@sigsegv.be> In-Reply-To: <1505398868.955393.1106053824.42CA3E40@webmail.messagingengine.com> References: <1505398868.955393.1106053824.42CA3E40@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate (2.0BETAr6090) 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: Thu, 14 Sep 2017 21:32:24 -0000 On 14 Sep 2017, at 16:21, Dave Cottlehuber wrote: > Outgoing traffic (from a jail) via PF NAT over a LAGG/LACP sometimes > has > the *backup* CARP IP address assigned to it. > > > ############################### > ######## running configs ###### > > pfctl indeed shows its a round-robin > > ############################### > # pfctl -vnf /etc/pf.conf > protocols = "{ tcp, udp, icmp }" > extl_if = "lagg0" > intl_if = "lo0" > jail_if = "lo1" > intl_net = "lo0:network" > jail_net = "lo1:network" > internet = "lagg0:network" > set limit states 200000 > set limit frags 80000 > set limit src-nodes 80000 > set timeout adaptive.start 180000 > set timeout adaptive.end 200000 > scrub in all fragment reassemble > nat on lagg0 inet proto tcp from 10.241.0.0/16 to any -> (lagg0) > round-robin > nat on lagg0 inet proto tcp from 10.241.0.1 to any -> (lagg0) > round-robin > I think this is your problem. You’re telling pf to nat to the IP address of lagg0, but lagg0 has multiple addresses assigned. ‘(lagg0:0)’ should work, or just use the IP address. Regards, Kristof From owner-freebsd-net@freebsd.org Thu Sep 14 21:36:30 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 9CFD1E0DA79 for ; Thu, 14 Sep 2017 21:36:30 +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 8B5BB6ABD1 for ; Thu, 14 Sep 2017 21:36:30 +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 v8ELaUFP007858 for ; Thu, 14 Sep 2017 21:36:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 222308] ip_multicast: Panic due to VNET being invalid on lagg during SIOCDELMULTI Date: Thu, 14 Sep 2017 21:36:30 +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: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: assigned_to 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.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: Thu, 14 Sep 2017 21:36:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222308 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Sep 15 09:33:59 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 60944E09C9B; Fri, 15 Sep 2017 09:33:59 +0000 (UTC) (envelope-from srs0=pom8=aq=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 10B6083F38; Fri, 15 Sep 2017 09:33:58 +0000 (UTC) (envelope-from srs0=pom8=aq=sigsegv.be=kristof@codepro.be) Received: from [169.254.49.62] (vega.codepro.be [IPv6:2a01:4f8:162:1127::3]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id CCFA6466A3; Fri, 15 Sep 2017 11:33:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1505468035; bh=Rb0+eTInI/bRd+H2L5jt+T1ZQs9Su7AGyjDx3QBGhp4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=e+xkLc47HjV3MKwfQhoA4I0Rf7eAyFZVV/tg/4iKQQ67ZKrvKwRqHs1ErwEgAFqaS fJWu5AqW4jYmHerGCNuw36X2w9uzYDVnW6k0bVv6MfN/rAxmSVCTKVIhB7WpTgZy6d Nm+xQaxpquUXXRO/ES9zgBdr06CKhkdSbC+UsCk8= From: "Kristof Provost" To: "Dave Cottlehuber" Cc: freebsd-net@freebsd.org, freebsd-pf@freebsd.org Subject: Re: NATted outbound traffic sometimes uses backup CARP IP on LACP/LAGG interface Date: Fri, 15 Sep 2017 11:33:58 +0200 Message-ID: <91414E93-FAFF-4EE6-A91D-F10FDA959783@sigsegv.be> In-Reply-To: <1505467875.1199722.1107024744.004A81D1@webmail.messagingengine.com> References: <1505398868.955393.1106053824.42CA3E40@webmail.messagingengine.com> <4250D983-3CE2-4156-85FB-E580F6C592D2@sigsegv.be> <1505467875.1199722.1107024744.004A81D1@webmail.messagingengine.com> MIME-Version: 1.0 X-Mailer: MailMate (2.0BETAr6090) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Fri, 15 Sep 2017 09:33:59 -0000 On 15 Sep 2017, at 11:31, Dave Cottlehuber wrote: > Can you explain what $if:0 resolves to, for example how does it relate > to to the primary ipv4/6 addresses bound to that interface? > > I couldn't find a reference in the usual ifconfig manpages about this > (ifname:#) format, the BNF grammar for pf.conf doesn't cover it > either, > and `pfctl -vnf ...` simply shows (lagg0:0). > It tells pf to not use any of the alias addresses. It’s explained in the pf.conf man page: Interface names and interface group names can have modifiers appended: :network Translates to the network(s) attached to the interface. :broadcast Translates to the interface's broadcast address(es). :peer Translates to the point-to-point interface's peer address(es). :0 Do not include interface aliases. Host names may also have the :0 option appended to restrict the name resolution to the first of each v4 and v6 address found. Regards, Kristof From owner-freebsd-net@freebsd.org Fri Sep 15 09:38:08 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 D5E04E0A1B2; Fri, 15 Sep 2017 09:38:08 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 A88F91E1; Fri, 15 Sep 2017 09:38:08 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E5BDF20BF0; Fri, 15 Sep 2017 05:31:15 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Fri, 15 Sep 2017 05:31:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=yiU5RfgLSLPW8M tdRPyV4gh48fM2XzLKF7KjGExWbiQ=; b=YyRh0X0XcYsO4npP7dzyjIt4L4kdg/ 9XSRAaB3k9qTcK8hVkSZ6qUPWj1+zRS90kVunbRLUWblLjCEYJau8hahfQ1c5D+L 4Xv89GnAjOI6It1HRt8sbTNA02MZRPNhZ/7PtJ6c3qPF4aP6L9/8TDKVOuS7HYN7 QLw63VtySHeFc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=yiU5Rf gLSLPW8MtdRPyV4gh48fM2XzLKF7KjGExWbiQ=; b=fx1PqEyzlUeWDXvQ5NsooL spS3uydy7WAo6KnDmXZxnSiiGQdqzdGGj2UT4MjGd+DqtrRiT8S3EOZadP0tUBvx fkrKEbWwN855dTXdAhqJuBXiiTsgRNHgaxwoGQqB8IUPmFexV4OsyqxlIEUfcG9i GFcaBi6gYPg7Yf23Xiv10PA/1eFILVZjKAtFRY8gsynwtS5W8/qRrJzOMRHsMMdn DZIXTek3z4vp09AL+e6tIzlw8DzrjFnErqGOW5cixNYrpZkm2VuX4UTKJtmnpHuu aU/msFyHX8zT12RKSxzvGsWFzIRUPbA2dkzLtJhONXOvlf75st9h478cWxE5nTow == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id BC03A48004; Fri, 15 Sep 2017 05:31:15 -0400 (EDT) Message-Id: <1505467875.1199722.1107024744.004A81D1@webmail.messagingengine.com> From: Dave Cottlehuber To: Kristof Provost Cc: freebsd-net@freebsd.org, freebsd-pf@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-64b08692 Subject: Re: NATted outbound traffic sometimes uses backup CARP IP on LACP/LAGG interface In-Reply-To: <4250D983-3CE2-4156-85FB-E580F6C592D2@sigsegv.be> References: <1505398868.955393.1106053824.42CA3E40@webmail.messagingengine.com> <4250D983-3CE2-4156-85FB-E580F6C592D2@sigsegv.be> Date: Fri, 15 Sep 2017 11:31:15 +0200 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: Fri, 15 Sep 2017 09:38:08 -0000 On Thu, 14 Sep 2017, at 23:32, Kristof Provost wrote: > On 14 Sep 2017, at 16:21, Dave Cottlehuber wrote: > > Outgoing traffic (from a jail) via PF NAT over a LAGG/LACP sometimes=20 > > has the *backup* CARP IP address assigned to it. > > > I think this is your problem. You=E2=80=99re telling pf to nat to the IP= =20 > address of lagg0, but lagg0 has multiple addresses assigned. >=20 > =E2=80=98(lagg0:0)=E2=80=99 should work, or just use the IP address. Thanks Kristof! ($if:0) works perfectly, but I'll need to reboot to test this with the original carp setup though. Can you explain what $if:0 resolves to, for example how does it relate to to the primary ipv4/6 addresses bound to that interface? I couldn't find a reference in the usual ifconfig manpages about this (ifname:#) format, the BNF grammar for pf.conf doesn't cover it either, and `pfctl -vnf ...` simply shows (lagg0:0). A+ Dave From owner-freebsd-net@freebsd.org Fri Sep 15 15:18:58 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 0C5CFE1C978 for ; Fri, 15 Sep 2017 15:18:58 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::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 AB97E6B838 for ; Fri, 15 Sep 2017 15:18:57 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id c27so1412488uah.2 for ; Fri, 15 Sep 2017 08:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=J4kBSMaIl/+EgciPriIKhiX29PXN+lzYAMYz4WwRJz8=; b=qaO0Iu6qpjCplh65acaHEukafc7dsklFF0P11ty9FeSx/luO20kRh1fDQVI6e4PWhE FqVvPeu/pRjwnhgysNg1gUH26MRq2w7mrCUHGKJMRqoce7JAy4C+TmlGGID0d7MqNPTV LjAHWpwu+EZtxyDCnjMkZfRmEvw5h/C8dcjCir9uMajfq249htPNjcKhf5P9ESVN1izj FJebgQakNK3d9HKQnOu1hQHp0wH8DEIjksEFyZ10sTgQX93lOKvfw/Ag7r4gRo+fXpvn ljr1IOkn7x8ihYmZm4Ayi2dM+IDrdlECLviCVcvWFFBXhRP0gwSLxuxfyLOgYDIbFI0k FG0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=J4kBSMaIl/+EgciPriIKhiX29PXN+lzYAMYz4WwRJz8=; b=DZGlr5sfoQw5UkPXICERkUgVnzUy2zp2BjsoZHlIHG9JJM5ZvI2vrSR4U4LnoExFsi OD5sT5gSAXjD3XFInH3CWIWWl2SBg1Kef9AND/bxTEuF43GKOaHnejvMAxe1WvPhYnt0 qawVfoqxjSRd2wk7ZA3Rz63iwbMhHP1kzjkc1fNAypEX5GweJljUNVdAWnQHCZjfLoWB wJelfh/laWiXcxxriyMrTuSxBWTutOWj0bt+0SxZPaKzyQLTMu7Hubf/6DTgLiLYYZXw BXvBy6RrWV3JMWI0RMbXTUMHDvivlqrTNhSzvSmTE3kDUq+0pHejO/D0K89tjyOdJ14/ RrtA== X-Gm-Message-State: AHPjjUg2HxBAOdc4J/0th34uy8KUaPMbFGecgNZqLVVSIJqKlmJM6ATE DNhbOqw9XNIaW4bFvm0= X-Google-Smtp-Source: AOwi7QAky8KpfWzQsEHw6XhUPsLtutLmVOfNp4jKzio3+QzH8C8TPD+2kKL2jwry3SwwD1+OKXeDmQ== X-Received: by 10.176.28.93 with SMTP id o29mr19042180uaj.52.1505488736243; Fri, 15 Sep 2017 08:18:56 -0700 (PDT) Received: from [136.145.51.144] ([136.145.51.144]) by smtp.gmail.com with ESMTPSA id n35sm209145uan.21.2017.09.15.08.18.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Sep 2017 08:18:55 -0700 (PDT) From: "Caraballo-Vega, Jordan A. (GSFC-6062)[COMPUTER SCIENCE CORP]" To: freebsd-net@freebsd.org Subject: packets per second routing tests: mismatch between switch (~4M pps) and netstat (~10M pps) scores Message-ID: <8bc1eb83-b56e-69e4-544f-1d64e9c44cb7@gmail.com> Date: Fri, 15 Sep 2017 11:18:54 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US 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: Fri, 15 Sep 2017 15:18:58 -0000 Hi all, We are currently running udp 1500 bytes pps tests through a Dell PE R530 and two Chelsio T62100-LP-CR NICs acting as a router. At the switch we are seeing ~4M pps, while with "netstat -w1 -d -h" we are seeing ~10M pps or ~31k in the same test. Any idea of why scores are so different? It could be a misconfiguration of my network interfaces? Where should I look at? Scores from the switch are as follow: 2017-09-15 10:57:57: duration=360, nodes=24, streams=85ea/2040agg, frame_size=1500, pps=1499977, Mbps=17999: Zone-1(in:57%, out:0%) Zone-2(in:0%, out:14%) Scores from netstat are as follow: input (Total) output packets errs idrops bytes packets errs bytes colls drops 17M 0 0 23G 10M 0 14G 0 0 17M 0 0 23G 10M 0 14G 0 0 17M 0 0 23G 10M 0 14G 0 0 17M 0 0 23G 10M 0 14G 0 0 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M Interfaces are bonded as follow (/etc/rc.conf): ifconfig_cc0="-tso -lro mtu 9000 up" ifconfig_cc1="-tso -lro mtu 9000 up" ifconfig_cc2="-tso -lro mtu 9000 up" ifconfig_cc3="-tso -lro mtu 9000 up" cloned_interfaces="lagg0 lagg1 vlan0 vlan1" ifconfig_lagg0="laggproto lacp laggport cc0 laggport cc1" ifconfig_lagg1="laggproto lacp laggport cc2 laggport cc3" ifconfig_vlan0="inet 172.16.2.1/24 vlan 20 vlandev lagg0" ifconfig_vlan1="inet 172.16.1.1/24 vlan 10 vlandev lagg1" Thanks in advance, - Jordan From owner-freebsd-net@freebsd.org Fri Sep 15 18:26:04 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 5FCB4E010C4 for ; Fri, 15 Sep 2017 18:26:04 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (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 304B1726C9 for ; Fri, 15 Sep 2017 18:26:04 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pg0-x244.google.com with SMTP id d8so1705402pgt.3 for ; Fri, 15 Sep 2017 11:26:04 -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=WcXYENPxnnsElZpe1gt3DA7GSeKrHXh6wzJ2zBWk6iA=; b=SXaivq5zS+mMPmN8f6dVT278BhIHKF4DN2NfTeHG695IadeqLgCSviTJ3bo2QeLn0C V7IG4GIfkcFoY7+qvBEDSuUtUou50oTyWaRPci2ubUMlM1uOzuUVaz4is9NCwC5QhdpL 65jILtbKUS7LAN7DYqCA33iomE9PgKLZhNJI1K5topDf8K8PMau4Eky5Ff6vpLljnW/Y YiunFTCmkCkLDN4iORGNr4Fgw41yHXLVNDggr3mAs8uMIC53rME4CvvDuU335Li5vTnb +YLYvezJ/4nwGJIQdM+o7NdAj4SmsfLKXLbAFDEBlNnGI4l8FPfr1WJtsrFRMjJs2sdI lAFA== 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=WcXYENPxnnsElZpe1gt3DA7GSeKrHXh6wzJ2zBWk6iA=; b=RVDC9kPtZrAZUnfex2o2ZpGBguP5iT7WKbCpzS4ol4kwsk9fLW+Goqli1DdEoZPmsE qaJQl1lV/PnEGGMHoTXr+WHSwOnp4rJBCJsdgw51uvSCM5CBrEfvl2mLybRDh71kZYCB vwBfYXcTr1WQKjUqcUyeiQI+Kkp99DemfTZzp3mw354mdxWvrl2tRgMSfr24CUPdQCax zzRNlwaE3BENT+W5MuafwIPm8FsRcsuOfeTrT4VKG6TzFEFfrQmrqbjYSXLaRJGQ6nUG wLJR/NQF1GmzyjC3nTK23m9utVRL9/aRaRDaHnsQCwzFpN26HeYu+w7HvIHxnjMMN7eX ZzMA== X-Gm-Message-State: AHPjjUiB7FGsbymh18yU0aiICWRHvI7cCh5HOpwFHPDP3D6cO2WkfaMY ZSmgDEzXMyblcbmOi14DW6/aqJEFgbFELb3ovn4= X-Google-Smtp-Source: AOwi7QAP5h2WTEJEG9k3KlGCeVzOkC7Rr9bbtjMF4pokXi3xfUzJuA1qkk8yyXls6N8kiEs/nq96JhhYDyd7D7wtL1U= X-Received: by 10.84.253.145 with SMTP id a17mr6779899plm.116.1505499963639; Fri, 15 Sep 2017 11:26:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.139.136 with HTTP; Fri, 15 Sep 2017 11:26:03 -0700 (PDT) In-Reply-To: <8bc1eb83-b56e-69e4-544f-1d64e9c44cb7@gmail.com> References: <8bc1eb83-b56e-69e4-544f-1d64e9c44cb7@gmail.com> From: Navdeep Parhar Date: Fri, 15 Sep 2017 11:26:03 -0700 Message-ID: Subject: Re: packets per second routing tests: mismatch between switch (~4M pps) and netstat (~10M pps) scores To: "Caraballo-Vega, Jordan A. (GSFC-6062)[COMPUTER SCIENCE CORP]" Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" 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: Fri, 15 Sep 2017 18:26:04 -0000 The tx errors/drops are almost always due to software queue overflow. There isn't much that can go wrong once the frame has successfully been submitted to the hw for tx. Do you have a lot of PAUSE coming in during the tests where you see just 31Kpps tx? You can monitor the incoming PAUSE frames with this: # sysctl dev.cc | grep rx_pause # sysctl dev.cc..stats has a lot of stats straight from the hardware. The hardware's tx_ stats should be clean even though netstat reports a lot of errors/drops as long as the drops are in the software. Regards, Navdeep On Fri, Sep 15, 2017 at 8:18 AM, Caraballo-Vega, Jordan A. (GSFC-6062)[COMPUTER SCIENCE CORP] wrote: > Hi all, > > We are currently running udp 1500 bytes pps tests through a Dell PE R530 > and two Chelsio T62100-LP-CR NICs acting as a router. At the switch we > are seeing ~4M pps, while with "netstat -w1 -d -h" we are seeing ~10M > pps or ~31k in the same test. Any idea of why scores are so different? > It could be a misconfiguration of my network interfaces? Where should I > look at? > > Scores from the switch are as follow: > > 2017-09-15 10:57:57: duration=360, nodes=24, streams=85ea/2040agg, > frame_size=1500, pps=1499977, Mbps=17999: Zone-1(in:57%, out:0%) > Zone-2(in:0%, out:14%) > > Scores from netstat are as follow: > > input (Total) output > packets errs idrops bytes packets errs bytes colls drops > 17M 0 0 23G 10M 0 14G 0 0 > 17M 0 0 23G 10M 0 14G 0 0 > 17M 0 0 23G 10M 0 14G 0 0 > 17M 0 0 23G 10M 0 14G 0 0 > 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M > 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M > 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M > 17M 0 0 24G 31k 7.8M 1.9M 0 7.8M > > Interfaces are bonded as follow (/etc/rc.conf): > > ifconfig_cc0="-tso -lro mtu 9000 up" > ifconfig_cc1="-tso -lro mtu 9000 up" > ifconfig_cc2="-tso -lro mtu 9000 up" > ifconfig_cc3="-tso -lro mtu 9000 up" > cloned_interfaces="lagg0 lagg1 vlan0 vlan1" > ifconfig_lagg0="laggproto lacp laggport cc0 laggport cc1" > ifconfig_lagg1="laggproto lacp laggport cc2 laggport cc3" > ifconfig_vlan0="inet 172.16.2.1/24 vlan 20 vlandev lagg0" > ifconfig_vlan1="inet 172.16.1.1/24 vlan 10 vlandev lagg1" > > Thanks in advance, > > - Jordan > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Sat Sep 16 16:30:03 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 E97BEE205BC for ; Sat, 16 Sep 2017 16:30:03 +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 D79797FDC6 for ; Sat, 16 Sep 2017 16:30:03 +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 v8GGU1Fp070846 for ; Sat, 16 Sep 2017 16:30:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update in r320897 Date: Sat, 16 Sep 2017 16:30:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: v.maffione@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.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, 16 Sep 2017 16:30:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 Vincenzo Maffione changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |v.maffione@gmail.com --- Comment #10 from Vincenzo Maffione --- Hi, For the moment being, unfortunately, netmap needs to do bring the interfa= ce down in order to put the NIC in "netmap mode" (nm_register method in the co= de). At the end of the registration, the interface is brought up again. We bring the interface down because we need to detach the mbufs from the NIC rings and attach the netmap buffers as a replacement. Currently we can't do this while the interface is up, becuse the driver may be concurrently receiving/transmitting mbufs. The link flapping comes as a result of the IFF_DOWN+IFF_UP cycle. In the long term we would like to get rid of this, but for now we haven't f= ound yet a reasonable way to avoid the down/up cycle on register. This said, the only piece of code in netmap that I think it may cause the i= ssue is the nm_register method (called to put the NIC in netmap mode): http://fxr.watson.org/fxr/source/dev/netmap/ixgbe_netmap.h#L118 The rest of netmap never touches NIC configuration/control registers, but o= nly the registers involved in receive/transmit operation (and the hardware ring= s). I don't know why this bug shows up, but I can guess it may be some race condition triggered by repeated IFF_DOWN+IFF_UP cycles. Note that the nm_register method runs under IFNET_RLOCK(). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Sep 16 20:09:19 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 5171DE05A60 for ; Sat, 16 Sep 2017 20:09:19 +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 3FB0E2F42 for ; Sat, 16 Sep 2017 20:09:19 +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 v8GK9It9099024 for ; Sat, 16 Sep 2017 20:09:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 222314] ifconfig epair create panics the kernel (arm64) Date: Sat, 16 Sep 2017 20:09:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: vimage X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@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: assigned_to 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.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, 16 Sep 2017 20:09:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222314 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=