From owner-freebsd-net@freebsd.org Sun Jul 22 15:53:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63946104ED4C for ; Sun, 22 Jul 2018 15:53:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EA4E3797BC for ; Sun, 22 Jul 2018 15:53:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AD8EE104ED4B; Sun, 22 Jul 2018 15:53:11 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A939104ED4A for ; Sun, 22 Jul 2018 15:53:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29FDF797BA for ; Sun, 22 Jul 2018 15:53: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5AEB31F1AD for ; Sun, 22 Jul 2018 15:53:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MFrAKh066431 for ; Sun, 22 Jul 2018 15:53:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MFrANO066430 for net@FreeBSD.org; Sun, 22 Jul 2018 15:53:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 15:53:10 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 15:53:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 16:53:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02E8C1050551 for ; Sun, 22 Jul 2018 16:53:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7D27BAEF for ; Sun, 22 Jul 2018 16:53:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4E9481050550; Sun, 22 Jul 2018 16:53:43 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BC30105054F for ; Sun, 22 Jul 2018 16:53:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFD447BAED for ; Sun, 22 Jul 2018 16:53: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 08FA21FA10 for ; Sun, 22 Jul 2018 16:53:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MGrf4J003124 for ; Sun, 22 Jul 2018 16:53:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MGrfUk003123 for net@FreeBSD.org; Sun, 22 Jul 2018 16:53:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 16:53:41 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 16:53:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org See Also| |https://reviews.freebsd.org | |/D15329 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 17:03:05 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47A55105082C for ; Sun, 22 Jul 2018 17:03:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CE5E27BEFF for ; Sun, 22 Jul 2018 17:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8775C105082B; Sun, 22 Jul 2018 17:03:04 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74BD9105082A for ; Sun, 22 Jul 2018 17:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06D127BEFD for ; Sun, 22 Jul 2018 17:03:04 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4F3BB1FB6A for ; Sun, 22 Jul 2018 17:03:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MH33lt043948 for ; Sun, 22 Jul 2018 17:03:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MH33Bh043947 for net@FreeBSD.org; Sun, 22 Jul 2018 17:03:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 17:03:03 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 17:03:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #1 from Eugene Grosbein --- Please describe how do you create your jail and, more important, how do you create epairs and move their parts to distinct VNET. The order is important, too. After https://svnweb.freebsd.org/base?view=3Drevision&revision=3D334094 the= re may be no randomness in assigning MAC address to epair if current hostid is not zero while epair is being created. Instead, the MAC address is determined by hostid and interface index. If you create single epair within some VNET and= it gets some interface index and MAC but you move it to another VNET then crea= te next epair, it may get same interface index (?) and same hostid, so same MAC address. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 17:39:18 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B2A01051336 for ; Sun, 22 Jul 2018 17:39:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D8D5F7D1DB for ; Sun, 22 Jul 2018 17:39:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 98AB11051335; Sun, 22 Jul 2018 17:39:17 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85D231051334 for ; Sun, 22 Jul 2018 17:39:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 246CE7D1D7 for ; Sun, 22 Jul 2018 17:39:17 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 50F011FF96 for ; Sun, 22 Jul 2018 17:39:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MHdGl1005749 for ; Sun, 22 Jul 2018 17:39:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MHdGfH005748 for net@FreeBSD.org; Sun, 22 Jul 2018 17:39:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 17:39:16 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 17:39:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #2 from Eugene Grosbein --- Assuming you create epairs using "host" environment (not within some jail), please temporary wrap your epair creation procedure to verify if mentioned change is really a root of the problem: savedid=3D$(sysctl -n kern.hostid) sysctl kern.hostid=3D0 sysctl kern.hostid=3Dsavedid This way, epair(4) should add some randomness to created MAC due to zero hostid. Please report if this changes results. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 18:06:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB6FE1051C6C for ; Sun, 22 Jul 2018 18:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 681317E26C for ; Sun, 22 Jul 2018 18:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2AB391051C6B; Sun, 22 Jul 2018 18:06:27 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17F4B1051C6A for ; Sun, 22 Jul 2018 18:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A6AC7E269 for ; Sun, 22 Jul 2018 18:06:26 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CA3F9203B6 for ; Sun, 22 Jul 2018 18:06:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MI6PuU061790 for ; Sun, 22 Jul 2018 18:06:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MI6PZ8061789 for net@FreeBSD.org; Sun, 22 Jul 2018 18:06:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 18:06:25 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 18:06:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #3 from Eugene Grosbein --- Created attachment 195377 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195377&action= =3Dedit proposed fix for if_epair.c Please test proposed patch. Apply it to /usr/src then rebuild the kernel or just the module if_epair.ko if you use it. The patch makes sure that if_index is not re-used to generate MAC in similar cases. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 18:07:34 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E240C1051D1A for ; Sun, 22 Jul 2018 18:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7E4117E4F6 for ; Sun, 22 Jul 2018 18:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3C9E41051D17; Sun, 22 Jul 2018 18:07:34 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28BF11051D16 for ; Sun, 22 Jul 2018 18:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B40367E4F0 for ; Sun, 22 Jul 2018 18:07:33 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CD1BF203B9 for ; Sun, 22 Jul 2018 18:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MI7WQg083977 for ; Sun, 22 Jul 2018 18:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MI7Wj1083971 for net@FreeBSD.org; Sun, 22 Jul 2018 18:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 131876] [socket] FD leak by receiving SCM_RIGHTS by recvmsg with small control message buffer Date: Sun, 22 Jul 2018 18:07: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: 6.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 18:07:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D131876 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: markj Date: Sun Jul 22 18:07:09 UTC 2018 New revision: 336614 URL: https://svnweb.freebsd.org/changeset/base/336614 Log: Add a regression test for PR 131876. PR: 131876 MFC after: 1 week Changes: head/tests/sys/kern/unix_passfd_test.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 18:37:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40F5D1052A0F for ; Sun, 22 Jul 2018 18:37:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CE1797FC53 for ; Sun, 22 Jul 2018 18:37:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9082B1052A0E; Sun, 22 Jul 2018 18:37:21 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DB131052A0D for ; Sun, 22 Jul 2018 18:37:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 195377FC50 for ; Sun, 22 Jul 2018 18:37:21 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6769A207E0 for ; Sun, 22 Jul 2018 18:37:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MIbKwJ085161 for ; Sun, 22 Jul 2018 18:37:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MIbKEh085160 for net@FreeBSD.org; Sun, 22 Jul 2018 18:37:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 18:37:20 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 18:37:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #4 from O. Hartmann --- (In reply to Eugene Grosbein from comment #1) epair(4) interfaces are created in /etc/jail.conf within the "common" porti= on of the config file via [...] exec.prestart=3D ""; exec.prestart+=3D "ifconfig ${if_vnet} create"; exec.prestart+=3D "ifconfig ${if_vnet}a ether ${epair_ether_base}:0= a"; exec.prestart+=3D "ifconfig ${if_vnet}b ether ${epair_ether_base}:0= b"; exec.prestart+=3D "ifconfig ${if_vnet}b up"; exec.prestart+=3D "ifconfig ${if_home_bridge} addm ${if_vnet}b up"; [...] Each jail definition has a set of variables comprising ${if_vnet} from lite= rals "epairXXX" and then in the prestart section a and b.=20 ${epair_ether_base} is set to something "hand-randomised", means I try to g= ive each epair a distinguished MAC after I ran into these problems. So accordin= g to your question, epairs are created as walking through a for-loop, creating e= ach epair and put the a-part into the vnet jail and going on with the next. I f= ind this way much more convenient than creating all necessary epairs at once and putting them afterwards into vnet. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 19:18:31 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AADFD1053438 for ; Sun, 22 Jul 2018 19:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 43C6180B2E for ; Sun, 22 Jul 2018 19:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 045731053437; Sun, 22 Jul 2018 19:18:31 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5C1B1053436 for ; Sun, 22 Jul 2018 19:18:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81C4180B29 for ; Sun, 22 Jul 2018 19:18: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BE48020D70 for ; Sun, 22 Jul 2018 19:18:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MJIThL084072 for ; Sun, 22 Jul 2018 19:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MJITVW084071 for net@FreeBSD.org; Sun, 22 Jul 2018 19:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 19:18:29 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 19:18:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #5 from O. Hartmann --- (In reply to Eugene Grosbein from comment #2) Indeed, if sysctl kern.hostid=3D0 is set, MAC randomisation is perfect. But= I do not see ad hoc any way how to expand within /etc/jail.conf sysctl -n kern.hostid to reuse it as a variable setting to reinstall the hostid as suggested. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 19:23:30 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F05C51053671 for ; Sun, 22 Jul 2018 19:23:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 87A9C80EBA for ; Sun, 22 Jul 2018 19:23:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 45C091053670; Sun, 22 Jul 2018 19:23:29 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32B6E105366F for ; Sun, 22 Jul 2018 19:23:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C061180EB9 for ; Sun, 22 Jul 2018 19:23:28 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1141E20EC7 for ; Sun, 22 Jul 2018 19:23:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MJNR3W001142 for ; Sun, 22 Jul 2018 19:23:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MJNRkq001141 for net@FreeBSD.org; Sun, 22 Jul 2018 19:23:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 19:23:27 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 19:23:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #6 from Eugene Grosbein --- (In reply to O. Hartmann from comment #5) You do not need to play with zero hostid anymore, as we have determined the real source of the problem. Instead, try attached patch. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 19:54:15 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CEE7105445B for ; Sun, 22 Jul 2018 19:54:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D661A823EE for ; Sun, 22 Jul 2018 19:54:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 994EA105445A; Sun, 22 Jul 2018 19:54:14 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 719B31054459 for ; Sun, 22 Jul 2018 19:54:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E62CC823EA for ; Sun, 22 Jul 2018 19:54:13 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2A17D212FA for ; Sun, 22 Jul 2018 19:54:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6MJsD6F057033 for ; Sun, 22 Jul 2018 19:54:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6MJsDmq057032 for net@FreeBSD.org; Sun, 22 Jul 2018 19:54:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Sun, 22 Jul 2018 19:54:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 19:54:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #7 from O. Hartmann --- Added your patch as suggested: FreeBSD 12.0-CURRENT #254 r336614M: Sun Jul 22 21:33:36 CEST 2018 amd64 It seems all epairs created via jail.conf as described in this PR, now with applied patch and without the additional "ether" option of ifconfig(8) have sufficiently randomised MACs: [...] epair3b: flags=3D8943 metr= ic 0 mtu 1500 options=3D8 ether 02:48:e2:b0:8c:0b groups: epair=20 media: Ethernet 10Gbase-T (10Gbase-T ) status: active epair52b: flags=3D8943 metr= ic 0 mtu 1500 options=3D8 ether 02:82:ad:29:54:0b groups: epair=20 media: Ethernet 10Gbase-T (10Gbase-T ) status: active epair10013b: flags=3D8943 m= etric 0 mtu 1500 options=3D8 ether 02:21:ef:9a:64:0b groups: epair=20 media: Ethernet 10Gbase-T (10Gbase-T ) status: active epair17b: flags=3D8943 metr= ic 0 mtu 1500 options=3D8 ether 02:2e:ef:e7:ab:0b groups: epair=20 media: Ethernet 10Gbase-T (10Gbase-T ) status: active epair10015b: flags=3D8943 m= etric 0 mtu 1500 options=3D8 ether 02:24:93:13:48:0b groups: epair=20 media: Ethernet 10Gbase-T (10Gbase-T ) status: active --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jul 22 21:00:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97F36102AC5C for ; Sun, 22 Jul 2018 21:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 96AB2846E2 for ; Sun, 22 Jul 2018 21:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 61632102AC50; Sun, 22 Jul 2018 21:00:20 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F296102AC4E for ; Sun, 22 Jul 2018 21:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC8DE84665 for ; Sun, 22 Jul 2018 21:00:18 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6581221B75 for ; Sun, 22 Jul 2018 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6ML0HJt006192 for ; Sun, 22 Jul 2018 21:00:17 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6ML0HSB006191 for net@FreeBSD.org; Sun, 22 Jul 2018 21:00:17 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201807222100.w6ML0HSB006191@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 22 Jul 2018 21:00:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2018 21:00:22 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 206053 | kqueue support code of netmap causes panic New | 213410 | [carp] service netif restart causes hang only whe Open | 165622 | [ndis][panic][patch] Unregistered use of FPU in k Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 206544 | sendmsg(2) (sendto(2) too?) can fail with EINVAL; Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo 10 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Jul 23 04:39:21 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2A20103DBE3 for ; Mon, 23 Jul 2018 04:39:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 444E892E97 for ; Mon, 23 Jul 2018 04:39:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 01279103DBE2; Mon, 23 Jul 2018 04:39:21 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2817103DBE1 for ; Mon, 23 Jul 2018 04:39:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7265392E91 for ; Mon, 23 Jul 2018 04:39:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B064925C45 for ; Mon, 23 Jul 2018 04:39:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6N4dJuw051697 for ; Mon, 23 Jul 2018 04:39:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6N4dJYv051696 for net@FreeBSD.org; Mon, 23 Jul 2018 04:39:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Mon, 23 Jul 2018 04:39:19 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 23 Jul 2018 04:39:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pizzamig@freebsd.org, | |wollman@FreeBSD.org --- Comment #8 from Eugene Grosbein --- Adding pizzamig@ and wollman@ used to discuss/prepare/commit the code in question to CC: list so thay have a chance to take a look at this problem a= nd proposed fix. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jul 23 05:50:35 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 213E4103FA0B for ; Mon, 23 Jul 2018 05:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A0982950A4 for ; Mon, 23 Jul 2018 05:50:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 64343103FA0A; Mon, 23 Jul 2018 05:50:34 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51DA9103FA08 for ; Mon, 23 Jul 2018 05:50:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E32479509D for ; Mon, 23 Jul 2018 05:50:33 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2B86226613 for ; Mon, 23 Jul 2018 05:50:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6N5oXot017150 for ; Mon, 23 Jul 2018 05:50:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6N5oXTe017139 for net@FreeBSD.org; Mon, 23 Jul 2018 05:50:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Mon, 23 Jul 2018 05:50: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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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.27 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, 23 Jul 2018 05:50:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D1= 766 | |71 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jul 23 05:50:36 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75479103FA11 for ; Mon, 23 Jul 2018 05:50:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 07767950B7 for ; Mon, 23 Jul 2018 05:50:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B5590103FA0F; Mon, 23 Jul 2018 05:50:35 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2F89103FA0E for ; Mon, 23 Jul 2018 05:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FB28950AE for ; Mon, 23 Jul 2018 05:50:35 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 782CF2661D for ; Mon, 23 Jul 2018 05:50:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6N5oYNJ018448 for ; Mon, 23 Jul 2018 05:50:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6N5oY8l018447 for net@FreeBSD.org; Mon, 23 Jul 2018 05:50:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 176671] [epair] MAC address for epair device not unique Date: Mon, 23 Jul 2018 05:50: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: unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: see_also 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.27 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, 23 Jul 2018 05:50:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176671 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 299 | |57 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jul 23 05:52:19 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDD01103FC41 for ; Mon, 23 Jul 2018 05:52:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 67C56952D0 for ; Mon, 23 Jul 2018 05:52:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 21587103FC40; Mon, 23 Jul 2018 05:52:19 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EFF7103FC3F for ; Mon, 23 Jul 2018 05:52:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2071952C8 for ; Mon, 23 Jul 2018 05:52:18 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0A18426779 for ; Mon, 23 Jul 2018 05:52:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6N5qHNn027960 for ; Mon, 23 Jul 2018 05:52:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6N5qHfs027959 for net@FreeBSD.org; Mon, 23 Jul 2018 05:52:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Mon, 23 Jul 2018 05:52:18 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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.27 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, 23 Jul 2018 05:52:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D1= 841 | |49 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jul 23 07:12:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA65F10417F8 for ; Mon, 23 Jul 2018 07:12:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4D246976E2 for ; Mon, 23 Jul 2018 07:12:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 03D2610417F5; Mon, 23 Jul 2018 07:12:22 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E54B910417F4 for ; Mon, 23 Jul 2018 07:12:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81487976DD for ; Mon, 23 Jul 2018 07:12:21 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A8A242727A for ; Mon, 23 Jul 2018 07:12:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6N7CKGj082897 for ; Mon, 23 Jul 2018 07:12:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6N7CKYe082896 for net@FreeBSD.org; Mon, 23 Jul 2018 07:12:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Mon, 23 Jul 2018 07:12:19 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 23 Jul 2018 07:12:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #9 from commit-hook@freebsd.org --- A commit references this bug: Author: eugen Date: Mon Jul 23 07:11:58 UTC 2018 New revision: 336628 URL: https://svnweb.freebsd.org/changeset/base/336628 Log: epair(4): make sure we do not duplicate MAC addresses in case of reused if_index. PR: 229957 Tested by: O. Hartmann Approved by: avg (mentor) Changes: head/sys/net/if_epair.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jul 23 07:42:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF42410422A7 for ; Mon, 23 Jul 2018 07:42:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 70A6D70655 for ; Mon, 23 Jul 2018 07:42:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 16B4510422A5; Mon, 23 Jul 2018 07:42:07 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE96C10422A3 for ; Mon, 23 Jul 2018 07:42:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AD9370650 for ; Mon, 23 Jul 2018 07:42:06 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3066A276AA for ; Mon, 23 Jul 2018 07:42:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6N7g5F9040320 for ; Mon, 23 Jul 2018 07:42:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6N7g5Kt040319 for net@FreeBSD.org; Mon, 23 Jul 2018 07:42:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Mon, 23 Jul 2018 07:42:04 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name 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.27 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, 23 Jul 2018 07:42:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable10?, | |mfc-stable11? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jul 23 07:54:28 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3C2D10428D3 for ; Mon, 23 Jul 2018 07:54:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8B27C70CE5 for ; Mon, 23 Jul 2018 07:54:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 49F9110428D1; Mon, 23 Jul 2018 07:54:27 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3749410428D0 for ; Mon, 23 Jul 2018 07:54:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C76BF70CE3 for ; Mon, 23 Jul 2018 07:54:26 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BD95E2781E for ; Mon, 23 Jul 2018 07:54:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6N7sPOs062636 for ; Mon, 23 Jul 2018 07:54:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6N7sPI4062635 for net@FreeBSD.org; Mon, 23 Jul 2018 07:54:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Date: Mon, 23 Jul 2018 07:54:25 +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: ipfilter, regression, vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10- mfc-stable11- X-Bugzilla-Changed-Fields: flagtypes.name resolution bug_status 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.27 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, 23 Jul 2018 07:54:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable10?, |mfc-stable10-, |mfc-stable11? |mfc-stable11- Resolution|--- |FIXED Status|Open |Closed --- Comment #10 from Eugene Grosbein --- MFC is not applicable as stable branches has different code. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jul 24 08:28:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 516661044A60 for ; Tue, 24 Jul 2018 08:28:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DC64A85029 for ; Tue, 24 Jul 2018 08:28:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9C4571044A5C; Tue, 24 Jul 2018 08:28:07 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A94E1044A5A for ; Tue, 24 Jul 2018 08:28:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 251BA85026 for ; Tue, 24 Jul 2018 08:28: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 688EC14689 for ; Tue, 24 Jul 2018 08:28:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6O8S6tW099210 for ; Tue, 24 Jul 2018 08:28:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6O8S6L2099209 for net@FreeBSD.org; Tue, 24 Jul 2018 08:28:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229918] panic: Assertion ifsd_m[next] == NULL failed at /usr0/freebsd/base/head/sys/net/iflib.c:3151 Date: Tue, 24 Jul 2018 08:28:06 +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: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yasu@utahime.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 24 Jul 2018 08:28:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229918 Yasuhiro KIMURA changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events --- Comment #1 from Yasuhiro KIMURA --- I updated both host and jail OSes to base r336639 and now packages build completes without OS crash. So I close this bug report. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Jul 24 10:57:03 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 155E510480A5 for ; Tue, 24 Jul 2018 10:57:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A3B8C8A0E3 for ; Tue, 24 Jul 2018 10:57:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6258B10480A2; Tue, 24 Jul 2018 10:57:02 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E53010480A1 for ; Tue, 24 Jul 2018 10:57:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D98E88A0E1 for ; Tue, 24 Jul 2018 10:57:01 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2435D15B5E for ; Tue, 24 Jul 2018 10:57:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6OAv1p8083799 for ; Tue, 24 Jul 2018 10:57:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6OAv1o9083798 for net@FreeBSD.org; Tue, 24 Jul 2018 10:57:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230009] [patch] [ipfw_pmod] support module build outside of kernel build environment for VIMAGE-enabled kernel Date: Tue, 24 Jul 2018 10:57:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: easy, patch-ready X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: 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.27 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, 24 Jul 2018 10:57:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230009 Bug ID: 230009 Summary: [patch] [ipfw_pmod] support module build outside of kernel build environment for VIMAGE-enabled kernel Product: Base System Version: 11.2-STABLE Hardware: Any OS: Any Status: New Keywords: easy, patch-ready Severity: Affects Some People Priority: --- Component: kern Assignee: ae@FreeBSD.org Reporter: eugen@freebsd.org CC: net@FreeBSD.org Flags: mfc-stable11? Created attachment 195415 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195415&action= =3Dedit proposed fix Let's "make VIMAGE=3Dyes" in sys/modules/ipfw_pmod/ build VIMAGE-enabled ke= rnel module. Now it builds without errors but does not kldload with an error:=20 link_elf_obj: symbol layer3_chain undefined Attached patch fixes this. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jul 24 21:15:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E77710566FC for ; Tue, 24 Jul 2018 21:15:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE9480AAA for ; Tue, 24 Jul 2018 21:15:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 52F5810566FB; Tue, 24 Jul 2018 21:15:56 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41BFF10566FA for ; Tue, 24 Jul 2018 21:15:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D789880AA7 for ; Tue, 24 Jul 2018 21:15:55 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3BACE1B127 for ; Tue, 24 Jul 2018 21:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6OLFt5e071626 for ; Tue, 24 Jul 2018 21:15:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6OLFtYV071622 for net@FreeBSD.org; Tue, 24 Jul 2018 21:15:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 228108] if_ipsec drops all the icmp v4&v6 error messages Date: Tue, 24 Jul 2018 21:15:54 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dpd@dpdtech.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Flags: mfc-stable11+ 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.27 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, 24 Jul 2018 21:15:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228108 dpd@dpdtech.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dpd@dpdtech.com --- Comment #9 from dpd@dpdtech.com --- This change breaks ICMP ECHO (pings) to the receiving end of peer to peer /= 30 of the IPsec tunnel between FreeBSD and Juniper JunOS on their SRX products= .=20 To JunOS 12.x, this seems to block both ICMP and BGP packets to the other e= nd of the tunnel (being compared to 11.1-STABLE r331329), which works in this setup. To JunOS 17.x and an SRX, OSPF seems to work, but ICMP ECHO does not. (I do= n't yet have BGP in this setup). However, between 11.1-STABLE r331329 and 11.2-STABLE r335594, IPsec tunnels= get established, pings work, and BGP does establish. In the case of 11.2 -> JunOS 17, the tunnels and OSPF did come up, and ICMP does work routed across the tunnel, just not to the tunnel's termination po= int.=20 I can't seem to explain it, and seemly a little strange mix of OS and hardw= are, but reverting this one line seemed to fix all the issues I had. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 14:12:07 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC494104BF3C for ; Wed, 25 Jul 2018 14:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 58FE27FCBF for ; Wed, 25 Jul 2018 14:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1A52A104BF3B; Wed, 25 Jul 2018 14:12:07 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09109104BF3A for ; Wed, 25 Jul 2018 14:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F2F97FCBA for ; Wed, 25 Jul 2018 14:12:06 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EDBB123E1A for ; Wed, 25 Jul 2018 14:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PEC5fF021792 for ; Wed, 25 Jul 2018 14:12:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PEC5Bw021791 for net@FreeBSD.org; Wed, 25 Jul 2018 14:12:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Wed, 25 Jul 2018 14:12:02 +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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ricsip@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 14:12:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #24 from ricsip --- (In reply to Eugene Grosbein from comment #23) Hi Eugene, as I was not satisfied with the outcome here, I installed an ipfire linux distrib on my APU2 to see what performance it can achieve versus the low performance seen under Freebsd/opnsense. Same purely IP-routing based testi= ng as I did with opnsense, as I dont have the knowledge to build a proper PPPoE simulator lab. Well, using ipfire I could reach 850-900 Mbit/sec on single-flow iperf, that was only possible with multi-flow iperf under opnsense. Even the load was m= uch lighter in contrast with opnsense: according to TOP it was 70% idle during 900Mbit single-flow iperf session. So I think this whole thread about RSS-locked-to-single-core is either incorrect, or linux kernel does some ma= gic much much better than Freebsd. So I no longer know whom to believe anything in this topic... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 14:15:55 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96FFD104C2F5 for ; Wed, 25 Jul 2018 14:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 339318008A for ; Wed, 25 Jul 2018 14:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EC98D104C2F4; Wed, 25 Jul 2018 14:15:54 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB667104C2F3 for ; Wed, 25 Jul 2018 14:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DC9780085 for ; Wed, 25 Jul 2018 14: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 77A0C23E3B for ; Wed, 25 Jul 2018 14:15:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PEFruF027565 for ; Wed, 25 Jul 2018 14:15:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PEFrvc027563 for net@FreeBSD.org; Wed, 25 Jul 2018 14:15:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Wed, 25 Jul 2018 14:15:53 +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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crest@bultmann.eu X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 14:15:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #25 from Jan Bramkamp --- Does Linux use RSS to achieve this performance or does it drain the NIC que= ue in a single interrupt and load balance the rest? Did you try the netisr workaround? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 18:08:48 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C63A1050FD1 for ; Wed, 25 Jul 2018 18:08:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9EB88301 for ; Wed, 25 Jul 2018 18:08:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5F1F31050FD0; Wed, 25 Jul 2018 18:08:47 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DDAD1050FCF for ; Wed, 25 Jul 2018 18:08:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3E5D882FE for ; Wed, 25 Jul 2018 18:08:46 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3761725DE2 for ; Wed, 25 Jul 2018 18:08:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PI8kVA050981 for ; Wed, 25 Jul 2018 18:08:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PI8kc7050969 for net@FreeBSD.org; Wed, 25 Jul 2018 18:08:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Wed, 25 Jul 2018 18:08:45 +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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 18:08:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #26 from Eugene Grosbein --- (In reply to ricsip from comment #24) Please use our mailing lists or web forums for general support questions of discussion and leave Bugzilla for bug reports. Again, the problem has nothi= ng to do with this igb driver problem report. You can easily link this PR and = even distinct comments, though. Write to freebsd-net@freebsd.org, for example. And yes, you should try make use of netisr(9) queues first. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 18:21:33 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A814105146F for ; Wed, 25 Jul 2018 18:21:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BBF0C88C71 for ; Wed, 25 Jul 2018 18:21:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8106C105146D; Wed, 25 Jul 2018 18:21:32 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FC4F105146C for ; Wed, 25 Jul 2018 18:21:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1124C88C69 for ; Wed, 25 Jul 2018 18:21:32 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7039726084 for ; Wed, 25 Jul 2018 18:21:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PILVfn082871 for ; Wed, 25 Jul 2018 18:21:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PILV1v082870 for net@FreeBSD.org; Wed, 25 Jul 2018 18:21:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Wed, 25 Jul 2018 18:21:29 +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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: w0wkin@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 18:21:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #27 from Vladimir --- Do you mean something like net.isr.dispatch=3Ddeferred ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 18:24:54 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B328A10515D4 for ; Wed, 25 Jul 2018 18:24:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9A689000 for ; Wed, 25 Jul 2018 18:24:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 147A410515D3; Wed, 25 Jul 2018 18:24:54 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0318310515D2 for ; Wed, 25 Jul 2018 18:24:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9964988FFA for ; Wed, 25 Jul 2018 18:24:53 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E7802260C0 for ; Wed, 25 Jul 2018 18:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PIOqh1095312 for ; Wed, 25 Jul 2018 18:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PIOq1Y095311 for net@FreeBSD.org; Wed, 25 Jul 2018 18:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Wed, 25 Jul 2018 18:24: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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 18:24:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #28 from Eugene Grosbein --- (In reply to Vladimir from comment #27) Yes. Have you missed comment #11 describing possible solutions including th= is? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 18:32:48 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 381621051965 for ; Wed, 25 Jul 2018 18:32:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C79628987E for ; Wed, 25 Jul 2018 18:32:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8BFAF1051963; Wed, 25 Jul 2018 18:32:47 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AC231051962 for ; Wed, 25 Jul 2018 18:32:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BDC489877 for ; Wed, 25 Jul 2018 18:32:47 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5CF3B26222 for ; Wed, 25 Jul 2018 18:32:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PIWk9Q012128 for ; Wed, 25 Jul 2018 18:32:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PIWkHw012127 for net@FreeBSD.org; Wed, 25 Jul 2018 18:32:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Wed, 25 Jul 2018 18:32:45 +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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: w0wkin@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 18:32:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #29 from Vladimir --- (In reply to Eugene Grosbein from comment #28) No, just wanted to confirm. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 20:07:35 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E481E10536C6 for ; Wed, 25 Jul 2018 20:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 81D408CA4E for ; Wed, 25 Jul 2018 20:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4636110536C5; Wed, 25 Jul 2018 20:07:34 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34E8A10536C4 for ; Wed, 25 Jul 2018 20:07:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA8CE8CA4A for ; Wed, 25 Jul 2018 20:07:33 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2307B26ED5 for ; Wed, 25 Jul 2018 20:07:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PK7XWi041327 for ; Wed, 25 Jul 2018 20:07:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PK7XJm041326 for net@FreeBSD.org; Wed, 25 Jul 2018 20:07:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 181741] [kernel] [patch] Packet loss when 'control' messages are present with large data (sendmsg(2)) Date: Wed, 25 Jul 2018 20:07:32 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 20:07:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181741 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #17 from Mark Johnston --- I'm not sure I see much value in internalizing ("finalizing") control messa= ges in sosend_generic(). In general, the socket layer does not treat the sockb= uf limits (sb_mbmax and sb_hiwat) as strict limits; see the comment about SB_S= TOP in uipc_rcvd(), for example. Furthermore, the unix socket code never actua= lly puts anything in the send buffer. The purpose of the limits in this contex= t is to enable a somewhat rudimentary backpressure system, and since sosend_generic() already puts a hard bound on the size of control messages,= I don't see why it needs to go through the trouble of performing an exact che= ck. Assuming that argument is reasonable, I believe it's sufficient to just omit the space checks in sbappendcontrol() like we already do for SEQPACKET unix sockets. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 20:49:59 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6F2510540BD for ; Wed, 25 Jul 2018 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 441EA8DEA9 for ; Wed, 25 Jul 2018 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0510C10540BC; Wed, 25 Jul 2018 20:49:59 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7B4410540BB for ; Wed, 25 Jul 2018 20:49:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B9428DEA4 for ; Wed, 25 Jul 2018 20:49: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C037A27466 for ; Wed, 25 Jul 2018 20:49:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PKnvjV022317 for ; Wed, 25 Jul 2018 20:49:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PKnvRR022314 for net@FreeBSD.org; Wed, 25 Jul 2018 20:49:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 181741] [kernel] [patch] Packet loss when 'control' messages are present with large data (sendmsg(2)) Date: Wed, 25 Jul 2018 20:49:57 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: 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.27 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, 25 Jul 2018 20:49:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181741 --- Comment #18 from Mark Johnston --- (In reply to Mark Johnston from comment #17) > since sosend_generic() already puts a hard bound on the size of control m= essages, I don't see why it needs to go through the trouble of performing a= n exact check. To be clear, I'm saying that given a control message of size S, the amount = of occupied buffer space is some linear function of S plus a constant (the siz= e of a sockcred, if LOCAL_CREDS is configured). Given that we have a bound on S imposed by sosend_generic(), I don't think it's important to compute the ex= act amount of buffer space required for the internalized form of the messages. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 20:53:02 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E68410542A7 for ; Wed, 25 Jul 2018 20:53:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4938E22E for ; Wed, 25 Jul 2018 20:53:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 63C2E10542A6; Wed, 25 Jul 2018 20:53:01 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5282010542A5 for ; Wed, 25 Jul 2018 20:53:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E99488E229 for ; Wed, 25 Jul 2018 20:53:00 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4337C275C9 for ; Wed, 25 Jul 2018 20:53:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PKr0PW035406 for ; Wed, 25 Jul 2018 20:53:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PKr0qA035405 for net@FreeBSD.org; Wed, 25 Jul 2018 20:53:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 131876] [socket] FD leak by receiving SCM_RIGHTS by recvmsg with small control message buffer Date: Wed, 25 Jul 2018 20:52:59 +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: 6.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: markj@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.27 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, 25 Jul 2018 20:53:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D131876 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |markj@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 20:53:14 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8641010542BF for ; Wed, 25 Jul 2018 20:53:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 238AD8E274 for ; Wed, 25 Jul 2018 20:53:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DC95A10542BE; Wed, 25 Jul 2018 20:53:13 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB61C10542BD for ; Wed, 25 Jul 2018 20:53:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 656248E265 for ; Wed, 25 Jul 2018 20:53:13 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B3CA5275D5 for ; Wed, 25 Jul 2018 20:53:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PKrCCe035654 for ; Wed, 25 Jul 2018 20:53:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PKrCnE035653 for net@FreeBSD.org; Wed, 25 Jul 2018 20:53:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 181741] [kernel] [patch] Packet loss when 'control' messages are present with large data (sendmsg(2)) Date: Wed, 25 Jul 2018 20:53: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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: markj@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.27 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, 25 Jul 2018 20:53:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181741 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |markj@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 23:15:59 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B98A1056488 for ; Wed, 25 Jul 2018 23:15:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DA95671D77 for ; Wed, 25 Jul 2018 23:15:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9C51D1056487; Wed, 25 Jul 2018 23:15:58 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AF631056486 for ; Wed, 25 Jul 2018 23:15:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C7E871D76 for ; Wed, 25 Jul 2018 23:15: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8B3B38921 for ; Wed, 25 Jul 2018 23:15:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PNFvEo024262 for ; Wed, 25 Jul 2018 23:15:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PNFvMa024261 for net@FreeBSD.org; Wed, 25 Jul 2018 23:15:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 131876] [socket] FD leak by receiving SCM_RIGHTS by recvmsg with small control message buffer Date: Wed, 25 Jul 2018 23:15:57 +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: 6.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rgrimes@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: markj@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.27 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, 25 Jul 2018 23:15:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D131876 Rodney W. Grimes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Jul 25 23:16:54 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B556610564C0 for ; Wed, 25 Jul 2018 23:16:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 519AE71DF0 for ; Wed, 25 Jul 2018 23:16:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 16BE610564BF; Wed, 25 Jul 2018 23:16:54 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0597210564BE for ; Wed, 25 Jul 2018 23:16:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98C8471DED for ; Wed, 25 Jul 2018 23:16:53 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E76B08924 for ; Wed, 25 Jul 2018 23:16:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6PNGqeF025190 for ; Wed, 25 Jul 2018 23:16:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6PNGqao025189 for net@FreeBSD.org; Wed, 25 Jul 2018 23:16:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 181741] [kernel] [patch] Packet loss when 'control' messages are present with large data (sendmsg(2)) Date: Wed, 25 Jul 2018 23:16:53 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rgrimes@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: markj@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.27 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, 25 Jul 2018 23:16:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181741 Rodney W. Grimes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 26 07:58:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C261104614F for ; Thu, 26 Jul 2018 07:58:26 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from sender-of-o52.zoho.com (sender-of-o52.zoho.com [135.84.80.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E795C838F9 for ; Thu, 26 Jul 2018 07:58:25 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from mr185083 (mr185083.univ-rennes1.fr [129.20.185.83]) by mx.zohomail.com with SMTPS id 1532591890326582.1944053699215; Thu, 26 Jul 2018 00:58:10 -0700 (PDT) Date: Thu, 26 Jul 2018 09:58:05 +0200 From: Patrick Lamaiziere To: Lars Schotte Cc: freebsd-stable@freebsd.org, freebsd-net@freebsd.org Subject: Re: PF problems with 11-stable Message-ID: <20180726095805.28f86c64@mr185083> In-Reply-To: <20180722155341.065c3d4d@romy.j20.helspy.pw> References: <20180722155341.065c3d4d@romy.j20.helspy.pw> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 26 Jul 2018 07:58:26 -0000 Le Sun, 22 Jul 2018 15:53:41 +0200, Lars Schotte a =C3=A9crit : Hello, > Hey, > I am on=20 > 11.2-STABLE FreeBSD 11.2-STABLE #9 r336597 > Sun Jul 22 14:08:38 CEST 2018=20 >=20 > and I see 2 problems with PF that are still there: > 1.) set skip on lo=20 > does not work even though ifconfig lo matches. > SOLVED TEMPORARILY BY: set skip on lo0 I've seen this while upgrading from 10.3 to 11.2-RELEASE. I've added lo0 to set skip too. When the problem occurs, lo is marked '(skip)' (pfctl -vs Interfaces) but not lo0. But I can't reproduce this, this happened only one time. While I'm here, another small change is that pfctl -n does not work any more without root credentials, I'm not sure if this is a bug or a feature : % pfctl -n -f /etc/pf.conf=20 pfctl: pfi_get_ifaces: Bad file descriptor % ls -lah /etc/pf.conf=20 -rw-r--r-- 1 root wheel 97B Jul 26 09:37 /etc/pf.conf Regards, From owner-freebsd-net@freebsd.org Thu Jul 26 08:15:30 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6EED1046DFE; Thu, 26 Jul 2018 08:15:30 +0000 (UTC) (envelope-from patrick@davenulle.org) Received: from sender-of-o52.zoho.com (sender-of-o52.zoho.com [135.84.80.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4AE7A843EB; Thu, 26 Jul 2018 08:15:30 +0000 (UTC) (envelope-from patrick@davenulle.org) Received: from mr185083 (mr185083.univ-rennes1.fr [129.20.185.83]) by mx.zohomail.com with SMTPS id 153259292248056.731053416171676; Thu, 26 Jul 2018 01:15:22 -0700 (PDT) Date: Thu, 26 Jul 2018 10:15:18 +0200 From: Patrick Lamaiziere To: Patrick Lamaiziere Cc: Lars Schotte , freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: PF problems with 11-stable Message-ID: <20180726101518.1e8fd966@mr185083> In-Reply-To: <20180726095805.28f86c64@mr185083> References: <20180722155341.065c3d4d@romy.j20.helspy.pw> <20180726095805.28f86c64@mr185083> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-ZohoMail: Z_59798685 SPT_1 Z_59799992 SPT_1 SLF_D S_168 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 26 Jul 2018 08:15:31 -0000 Le Thu, 26 Jul 2018 09:58:05 +0200, Patrick Lamaiziere a =C3=A9crit : Hello, > > Hey, > > I am on=20 > > 11.2-STABLE FreeBSD 11.2-STABLE #9 r336597 > > Sun Jul 22 14:08:38 CEST 2018=20 > >=20 > > and I see 2 problems with PF that are still there: > > 1.) set skip on lo=20 > > does not work even though ifconfig lo matches. > > SOLVED TEMPORARILY BY: set skip on lo0 =20 >=20 > I've seen this while upgrading from 10.3 to 11.2-RELEASE. I've added > lo0 to set skip too. >=20 > When the problem occurs, lo is marked '(skip)' (pfctl -vs > Interfaces) but not lo0. >=20 > But I can't reproduce this, this happened only one time. I don't know if this is related but there were some kernel logs about 'loop= back' : Feb 15 17:11:48 fucop1 kernel: ifa_del_loopback_route: deletion failed: 47 Feb 15 17:11:48 fucop1 kernel: ifa_add_loopback_route: insertion failed: 47 Jul 16 13:50:36 fucop1 kernel: ifa_maintain_loopback_route: deletion failed= for interface ix2: 3 Jul 16 14:07:31 fucop1 kernel: ifa_maintain_loopback_route: deletion failed= for interface ix2: 3 Jul 16 14:07:31 fucop1 kernel: ifa_maintain_loopback_route: deletion failed= for interface igb1: 3 Jul 16 14:10:43 fucop1 kernel: ifa_maintain_loopback_route: insertion faile= d for interface igb0: 17 I've got two firewalls with carp and bird 2 (BGP). From owner-freebsd-net@freebsd.org Thu Jul 26 08:16:38 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B0631046E7B; Thu, 26 Jul 2018 08:16:38 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from sender-of-o52.zoho.com (sender-of-o52.zoho.com [135.84.80.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 733C88447F; Thu, 26 Jul 2018 08:16:37 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from mr185083 (mr185083.univ-rennes1.fr [129.20.185.83]) by mx.zohomail.com with SMTPS id 1532592990963833.750932496663; Thu, 26 Jul 2018 01:16:30 -0700 (PDT) Date: Thu, 26 Jul 2018 10:16:27 +0200 From: Patrick Lamaiziere To: Patrick Lamaiziere Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: PF problems with 11-stable Message-ID: <20180726101627.2db93a49@mr185083> In-Reply-To: <20180726095805.28f86c64@mr185083> References: <20180722155341.065c3d4d@romy.j20.helspy.pw> <20180726095805.28f86c64@mr185083> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-ZohoMail: Z_59798685 SPT_1 Z_59799992 SPT_1 SLF_D S_168 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 26 Jul 2018 08:16:38 -0000 Le Thu, 26 Jul 2018 09:58:05 +0200, Patrick Lamaiziere a =C3=A9crit : Hello, > > Hey, > > I am on=20 > > 11.2-STABLE FreeBSD 11.2-STABLE #9 r336597 > > Sun Jul 22 14:08:38 CEST 2018=20 > >=20 > > and I see 2 problems with PF that are still there: > > 1.) set skip on lo=20 > > does not work even though ifconfig lo matches. > > SOLVED TEMPORARILY BY: set skip on lo0 =20 >=20 > I've seen this while upgrading from 10.3 to 11.2-RELEASE. I've added > lo0 to set skip too. >=20 > When the problem occurs, lo is marked '(skip)' (pfctl -vs > Interfaces) but not lo0. >=20 > But I can't reproduce this, this happened only one time. I don't know if this is related but there were some kernel logs about 'loopback' : Feb 15 17:11:48 fucop1 kernel: ifa_del_loopback_route: deletion failed: 47 Feb 15 17:11:48 fucop1 kernel: ifa_add_loopback_route: insertion failed: 47 Jul 16 13:50:36 fucop1 kernel: ifa_maintain_loopback_route: deletion failed for interface ix2: 3 Jul 16 14:07:31 fucop1 kernel: ifa_maintain_loopback_route: deletion failed for interface ix2: 3 Jul 16 14:07:31 fucop1 kernel: ifa_maintain_loopback_route: deletion failed for interface igb1: 3 Jul 16 14:10:43 fucop1 kernel: ifa_maintain_loopback_route: insertion failed for interface igb0: 17 I've got two firewalls with carp and bird 2 (BGP). From owner-freebsd-net@freebsd.org Thu Jul 26 08:28:21 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72C3E1047603; Thu, 26 Jul 2018 08:28:21 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 150A884BC9; Thu, 26 Jul 2018 08:28:21 +0000 (UTC) (envelope-from kp@FreeBSD.org) 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)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id B1BA824306; Thu, 26 Jul 2018 08:28:20 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [192.168.228.1] (ptr-8rgnodvo8tn4qa3lwai.18120a2.ip6.access.telenet.be [IPv6:2a02:1811:240b:b802:95b1:ed91:aab2:81ba]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id EE7F85D75E; Thu, 26 Jul 2018 10:28:18 +0200 (CEST) From: "Kristof Provost" To: "Patrick Lamaiziere" Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: PF problems with 11-stable Date: Thu, 26 Jul 2018 10:28:18 +0200 X-Mailer: MailMate (2.0BETAr6116) Message-ID: In-Reply-To: <20180726101627.2db93a49@mr185083> References: <20180722155341.065c3d4d@romy.j20.helspy.pw> <20180726095805.28f86c64@mr185083> <20180726101627.2db93a49@mr185083> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 26 Jul 2018 08:28:21 -0000 On 26 Jul 2018, at 10:16, Patrick Lamaiziere wrote: > Le Thu, 26 Jul 2018 09:58:05 +0200, > Patrick Lamaiziere a écrit : > > Hello, > >>> Hey, >>> I am on >>> 11.2-STABLE FreeBSD 11.2-STABLE #9 r336597 >>> Sun Jul 22 14:08:38 CEST 2018 >>> >>> and I see 2 problems with PF that are still there: >>> 1.) set skip on lo >>> does not work even though ifconfig lo matches. >>> SOLVED TEMPORARILY BY: set skip on lo0 >> >> I've seen this while upgrading from 10.3 to 11.2-RELEASE. I've added >> lo0 to set skip too. >> >> When the problem occurs, lo is marked '(skip)' (pfctl -vs >> Interfaces) but not lo0. >> >> But I can't reproduce this, this happened only one time. > > I don't know if this is related but there were some kernel logs about > 'loopback' : > > Feb 15 17:11:48 fucop1 kernel: ifa_del_loopback_route: deletion failed: > 47 Feb 15 17:11:48 fucop1 kernel: ifa_add_loopback_route: insertion > failed: 47 Jul 16 13:50:36 fucop1 kernel: ifa_maintain_loopback_route: > deletion failed for interface ix2: 3 Jul 16 14:07:31 fucop1 kernel: > ifa_maintain_loopback_route: deletion failed for interface ix2: 3 Jul > 16 14:07:31 fucop1 kernel: ifa_maintain_loopback_route: deletion failed > for interface igb1: 3 Jul 16 14:10:43 fucop1 kernel: > ifa_maintain_loopback_route: insertion failed for interface igb0: 17 > No, those error messages are not related. The issue with interface groups is known, and is being worked on. The pfctl -n issue should be fixed as of r336164 Regards, Kristof From owner-freebsd-net@freebsd.org Thu Jul 26 14:27:58 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F9CB1050D31 for ; Thu, 26 Jul 2018 14:27:58 +0000 (UTC) (envelope-from ricsip@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 C4A2B91BAF for ; Thu, 26 Jul 2018 14:27:57 +0000 (UTC) (envelope-from ricsip@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id i18-v6so1478568ioj.13 for ; Thu, 26 Jul 2018 07:27:57 -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=i+MfVbPXfh6KDirH4jirIAtn+29u83LYCtXfn6lCGqI=; b=nk4zREj/p+2GQa6Ez0dfoDIX7LPtCwhgDXJw0Y7v7P2CeNRmtZs2GrgJTj/Z9FToGY MoSdPCgC9atVKKmWu6lcFJnK2B/os82HefDT8x0jJc7wTwsRmug6msI3HRnIXV0MC4xv 2KdcNbzljGZzYaGNVKMZJBDzFE9gnKu1lMRoOkfZRipRzfP+GDRqCgi4fsmokjeVAHP0 Sr5SzucOLJwnMBXad7EKX+REnitU2Slh8t47VXSjrVf2sqtXRnKSm2e0Cn9l+QYnre45 OV/zqa7a3YFWAL9UF5N7YNQAEDuFskT3mdnjOWlzjhiyUl3LJ6PpQdHXHMpvJB1cn7EL 03Og== 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=i+MfVbPXfh6KDirH4jirIAtn+29u83LYCtXfn6lCGqI=; b=un8M0V+mzoZTdnLHW23CBlkAFDaN1682Yu2Xbtn7UkMGGu5Mz67SK/02zlrTYyvBO6 fYrKi5x9ZXH4xDR/repk3OqOl6ASRBvdbKB33ua7oGWCDwpEsP3sciUO2VEYSbZ8boPp OJ6RL7HG203QDRUKP8ddoiIyU68nDEnqMseTJJjqjOc4r8B6wsUa3t5/QBnR8j1dRSQR LdMjHEFyXSbQPlh6C3IUZ5+Jjj4ChArvWxtwGiCwKUppdI8/6quGCgYzJfvgtfvSRlo3 9lblGTnwBsWfIdW5kQmXhTO2z/Tc4LahFW2JHZeVREvzA41/aYeeXi5MFNisCeUHW4BI SCZQ== X-Gm-Message-State: AOUpUlEhpqkD66ymbpOBKDcTQktouXdIxE+bBdoYhrDggrqCqZMJMjLe g+Lo6LyMp+b/GpThFVzpKw4daa4rWH/MLt9d32lIgO6iZ04= X-Google-Smtp-Source: AAOMgpdKREXXwy3TsejObF5rnwsnQapwVtEN17ya4uS+KIKfUnkxp4wESINTh5oWO4DpY3kfOeSaCx5odqJ4xu3lv0o= X-Received: by 2002:a6b:26ca:: with SMTP id m193-v6mr1798499iom.91.1532615277024; Thu, 26 Jul 2018 07:27:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:878a:0:0:0:0:0 with HTTP; Thu, 26 Jul 2018 07:27:26 -0700 (PDT) From: Richard Pasztor Date: Thu, 26 Jul 2018 16:27:26 +0200 Message-ID: Subject: PPPoE RX traffic is limited to one queue To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 26 Jul 2018 14:27:58 -0000 Dear all, continuing the discussion from here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203856 summary: (technically affects any NIC) Multi-queue NIC can use only RX queue "0", if PPPoE session is established (due to point-to-point connection, the RSS cannot load balance among multiple queues, at least that is what I was told and at the moment I have no idea if that is true or not) Result: 1 Gigabit traffic cannot be reached on some embedded SoC (in my case PC Engines APU2, Quad-core AMD 1Ghz CPU) due to less-than-server-grade single-core performance to handle the flow. Note: I am not planning to achieve wire-speed 1Gbit using IMIX (smallest packet size possible), on the contrary, I was testing using iperf3 with max. MTU + MSS Note2: I am not at the level of building a proper PPPoE simlator network to properly validate the final performance, all my tests were performed using pure IP routing. So expect PPPoE can be by definition only worse than what I can possibly reach using pure IP. I was suggested to set the following: net.isr.numthreads=4 net.isr.maxthreads=4 net.isr.bindthreads=1 net.isr.dispatch=deferred It didnt improve the situation, max. throughput was about the same, but CPU load in interrupt handling effectively became doubled. On the other hand, installing a small Linux firewall distrib (IPfire), I could easily manage to get 900+ MBit of traffic with less interrupt load on the system. So I dont know how could Linux overcome the above said limitation. As the original bugreport was against a possibly "igb" Intel driver issues, and that was said not the case, the PR was closed. So no advancement is expected in this topic, hence I opened it here, hoping there is some solution for this issue. Regards, Richard From owner-freebsd-net@freebsd.org Thu Jul 26 14:41:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BE7210512F0 for ; Thu, 26 Jul 2018 14:41:12 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (unknown [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EEF74925E6 for ; Thu, 26 Jul 2018 14:41:11 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w6QEf4Up063492 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Jul 2018 16:41:04 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w6QEf06A030900 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 26 Jul 2018 21:41:00 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: PPPoE RX traffic is limited to one queue To: Richard Pasztor , freebsd-net@freebsd.org References: From: Eugene Grosbein Message-ID: <5B59DD78.3020908@grosbein.net> Date: Thu, 26 Jul 2018 21:40:56 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 26 Jul 2018 14:41:12 -0000 26.07.2018 21:27, Richard Pasztor wrote: > Note2: I am not at the level of building a proper PPPoE simlator network to > properly validate the final performance, all my tests were performed using > pure IP routing. So expect PPPoE can be by definition only worse than what > I can possibly reach using pure IP. > > I was suggested to set the following: > net.isr.numthreads=4 > net.isr.maxthreads=4 > net.isr.bindthreads=1 > net.isr.dispatch=deferred > > It didnt improve the situation, max. throughput was about the same, but CPU > load in interrupt handling effectively became doubled. > > On the other hand, installing a small Linux firewall distrib (IPfire), I > could easily manage to get 900+ MBit of traffic with less interrupt load on > the system. So I dont know how could Linux overcome the above said > limitation. > > As the original bugreport was against a possibly "igb" Intel driver issues, > and that was said not the case, the PR was closed. So no advancement is > expected in this topic, hence I opened it here, hoping there is some > solution for this issue. Please describe your setup, hardware and software. Include exact FreeBSD version/revision you use. Include all changes to /boot/loader.conf and /etc/sysctl.conf, if any. Do you use GENERIC kernel? If not, include your kernel configuration file. Include full output of "ifconfig" command. Show output of "top -SHPI" at receiving side while performing your test. Also, include output of "systat -vm 3" while traffic flows. From owner-freebsd-net@freebsd.org Thu Jul 26 14:47:15 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C04651051697 for ; Thu, 26 Jul 2018 14:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5DBED92A1C for ; Thu, 26 Jul 2018 14:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 21DA41051696; Thu, 26 Jul 2018 14:47:15 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 106B21051695 for ; Thu, 26 Jul 2018 14:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5DF992A1A for ; Thu, 26 Jul 2018 14:47: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id ECD6C10C3A for ; Thu, 26 Jul 2018 14:47:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6QElDLH021935 for ; Thu, 26 Jul 2018 14:47:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6QElDWj021934 for net@FreeBSD.org; Thu, 26 Jul 2018 14:47:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 217763] [patch] [bsnmpd] MIBIF_ALIAS_SIZE is too low breaking ifXTable Date: Thu, 26 Jul 2018 14:47:13 +0000 X-Bugzilla-Reason: CC 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: patch-ready X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc keywords 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.27 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, 26 Jul 2018 14:47:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217763 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org Keywords|patch |patch-ready --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Jul 26 14:49:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 172A51051782 for ; Thu, 26 Jul 2018 14:49:22 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (unknown [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 959CD92C21 for ; Thu, 26 Jul 2018 14:49:21 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w6QEnEWR063551 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Jul 2018 16:49:15 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w6QEnBFE030955 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 26 Jul 2018 21:49:11 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: PPPoE RX traffic is limited to one queue To: Richard Pasztor , freebsd-net@freebsd.org References: <5B59DD78.3020908@grosbein.net> From: Eugene Grosbein Message-ID: <5B59DF63.9020000@grosbein.net> Date: Thu, 26 Jul 2018 21:49:07 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <5B59DD78.3020908@grosbein.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 26 Jul 2018 14:49:22 -0000 26.07.2018 21:40, Eugene Grosbein wrote: > Show output of "top -SHPI" at receiving side while performing your test. > Also, include output of "systat -vm 3" while traffic flows. Also include output of "systat -ifstat 3" while traffic flows, too. From owner-freebsd-net@freebsd.org Thu Jul 26 15:24:04 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A7C310527D0 for ; Thu, 26 Jul 2018 15:24:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D4D6394840 for ; Thu, 26 Jul 2018 15:24:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 96BEE10527CF; Thu, 26 Jul 2018 15:24:03 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 859B410527CE for ; Thu, 26 Jul 2018 15:24:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 284C994835 for ; Thu, 26 Jul 2018 15:24: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7623B111CA for ; Thu, 26 Jul 2018 15:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6QFO29T065335 for ; Thu, 26 Jul 2018 15:24:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6QFO2Ai065334 for net@FreeBSD.org; Thu, 26 Jul 2018 15:24:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 217763] [patch] [bsnmpd] MIBIF_ALIAS_SIZE is too low breaking ifXTable Date: Thu, 26 Jul 2018 15:24:02 +0000 X-Bugzilla-Reason: CC 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: patch-ready X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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.27 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, 26 Jul 2018 15:24:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217763 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://reviews.freebsd.org | |/D16459 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jul 27 07:19:34 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 475D9103A081 for ; Fri, 27 Jul 2018 07:19:34 +0000 (UTC) (envelope-from ricsip@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::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 C7A0989266 for ; Fri, 27 Jul 2018 07:19:33 +0000 (UTC) (envelope-from ricsip@gmail.com) Received: by mail-io0-x244.google.com with SMTP id i18-v6so3408365ioj.13 for ; Fri, 27 Jul 2018 00:19:33 -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=w2hnbFUQHCtzVzGWg8dP9eY8ezQPupKahMlLj39mamk=; b=K8E429WLVRbAdhPHcajttQiUbX14t97ZoZLg3yKlwBmwoUOz2/dghPJmqgD4gpfeBx VVaWvW3mfvp7mMtO9BlF4yh8aRAKdxx/n7GBR+ecSU6fhMmZ9a3VseBHvxc3Fv4I2YXF tUtDi67uO4K7zgAtXI9lhOU1M+JtCriT8ndX06QGvtdtyZWqoeaOtO5v9SLAEk0l1fOD 4STCZhMXANtAoZejTvGpgu5fNx/mMhxepkiQYWGiGgZSFw2UzuFwMqKbfNXOKXsKn+gX oXyEy8CJcGpk25OkCie7NGA785xoshleDV7ftOpPqiRF3uLhk1267wllPwUkMgO46Bmt gJYw== 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=w2hnbFUQHCtzVzGWg8dP9eY8ezQPupKahMlLj39mamk=; b=pOrpgjnW1vhdkQixIcuE8LSdxAVh2+oABh/F78NjHQe3YmfmU4r0qTO4prlZrtFAH7 C8EMVkhG/NTCQpDGTdul+kM00W/mg2i8smTaw1Fgmf77tLPfX71EIc4Ze4zZNgejoZEE /lmwwoo49b3iohueQGWOuUqnXHBDf3kA/OQUbvkp/XYIkLpAClFXrrb39w02WcWpRHDH EmNZFTaim8L2EaLtwrKid1Pw3FSSbxx2FLQgluqKoZcPIBTR8zrRxSmuQv1LkFggpxxL I9yMDFpDy7z2fxHvvTQuBzG51eZWnLX1eb5f21X7dcINBWqEPNm7+MTZXbmDa9/Db3XJ pcJw== X-Gm-Message-State: AOUpUlHOnS6e9YQmt+4cKqi2Ej4EjCyw+yUjJDWtVsW3tHbZnLJXQcjw GiZtLKvb3ocuvLB35KnVx7dDizwjD/F2VLUVvvUA2ZhG4VU= X-Google-Smtp-Source: AAOMgpcpQhQpSnAcC1UxjrK1gkxTUCJDU9o/s5BQaXajFy+8nBkpuBxLroqi5OSqQwcZJRtgdhfx1BTe7lF/npLw4Qw= X-Received: by 2002:a5e:c80e:: with SMTP id y14-v6mr4092429iol.198.1532675973006; Fri, 27 Jul 2018 00:19:33 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:878a:0:0:0:0:0 with HTTP; Fri, 27 Jul 2018 00:19:02 -0700 (PDT) In-Reply-To: <5B59DF63.9020000@grosbein.net> References: <5B59DD78.3020908@grosbein.net> <5B59DF63.9020000@grosbein.net> From: Richard Pasztor Date: Fri, 27 Jul 2018 09:19:02 +0200 Message-ID: Subject: Re: PPPoE RX traffic is limited to one queue To: Eugene Grosbein Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 27 Jul 2018 07:19:34 -0000 Hi Eugene, the details you requested: Router Hardware: PC Engines APU2C4 (http://pcengines.ch/apu2c4.htm) 3x i210AT NIC / AMD GX-412TC CPU / 4 GB DRAM Router Software: Opnsense 18.1.13 OS: FreeBSD 11.1-RELEASE-p11 FreeBSD 11.1-RELEASE-p11 116e406d37f(stable/18.1) amd64 I am not sure about how "GENERIC" the kernel is kldstat: Id Refs Address Size Name 1 91 0xffffffff80200000 213bb20 kernel 2 1 0xffffffff8233d000 6e18 if_gre.ko 3 1 0xffffffff82344000 7570 if_tap.ko 4 3 0xffffffff8234c000 54e78 pf.ko 5 1 0xffffffff823a1000 e480 carp.ko 6 1 0xffffffff823b0000 e3e0 if_bridge.ko 7 2 0xffffffff823bf000 6fd0 bridgestp.ko 8 1 0xffffffff823c6000 126a8 if_lagg.ko 9 1 0xffffffff823d9000 1610 ng_UI.ko 10 31 0xffffffff823db000 173e0 netgraph.ko 11 1 0xffffffff823f3000 3620 ng_async.ko 12 1 0xffffffff823f7000 4fb8 ng_bpf.ko 13 1 0xffffffff823fc000 4e98 ng_bridge.ko 14 1 0xffffffff82401000 31e0 ng_cisco.ko 15 1 0xffffffff82405000 f20 ng_echo.ko 16 1 0xffffffff82406000 38b8 ng_eiface.ko 17 1 0xffffffff8240a000 4870 ng_ether.ko 18 1 0xffffffff8240f000 1db0 ng_frame_relay.ko 19 1 0xffffffff82411000 17e8 ng_hole.ko 20 1 0xffffffff82413000 4250 ng_iface.ko 21 1 0xffffffff82418000 6250 ng_ksocket.ko 22 1 0xffffffff8241f000 7d88 ng_l2tp.ko 23 1 0xffffffff82427000 3fe0 ng_lmi.ko 24 1 0xffffffff8242b000 65c8 ng_mppc.ko 25 2 0xffffffff82432000 b48 rc4.ko 26 1 0xffffffff82433000 2ad8 ng_one2many.ko 27 1 0xffffffff82436000 a3e0 ng_ppp.ko 28 1 0xffffffff82441000 8f08 ng_pppoe.ko 29 1 0xffffffff8244a000 5f68 ng_pptpgre.ko 30 1 0xffffffff82450000 2570 ng_rfc1490.ko 31 1 0xffffffff82453000 6288 ng_socket.ko 32 1 0xffffffff8245a000 21a0 ng_tee.ko 33 1 0xffffffff8245d000 2ec0 ng_tty.ko 34 1 0xffffffff82460000 45b8 ng_vjc.ko 35 1 0xffffffff82465000 2f20 ng_vlan.ko 36 1 0xffffffff82468000 31f0 if_enc.ko 37 1 0xffffffff8246c000 28b0 pflog.ko 38 1 0xffffffff8246f000 d578 pfsync.ko 39 1 0xffffffff8247d000 3370 ng_car.ko 40 1 0xffffffff82481000 36a8 ng_deflate.ko 41 1 0xffffffff82485000 4ef8 ng_pipe.ko 42 1 0xffffffff8248a000 3658 ng_pred1.ko 43 1 0xffffffff8248e000 2058 ng_tcpmss.ko 44 1 0xffffffff82621000 7130 aesni.ko 45 1 0xffffffff82629000 1055 amdtemp.ko The 2 PC I use to generate traffic are 2x Win7 boxes, PC-A connects directly to igb0 (WAN endpoint), IP addr. 192.168.1.2 PC-B connects directly to igb1 (LAN endpoint), IP addr. 10.0.0.100 I run: (on the PC-A) iperf3 -s (on the PC-B) iperf3 -c 192.168.1.2 -t 300 -P 1 -R (-R to simulate traffic direction FROM Wan TO Lan, after PC-B made initial connection TO PC-A) ------------------------------------------------------------ ------------------------------------------------------------ --------------------- loader.conf: ############################################################## # This file was auto-generated using the rc.loader facility. # # In order to deploy a custom change to this installation, # # please use /boot/loader.conf.local as it is not rewritten. # ############################################################## loader_brand="opnsense" loader_logo="hourglass" loader_menu_title="" autoboot_delay="3" hw.usb.no_pf="1" # see https://forum.opnsense.org/index.php?topic=6366.0 hint.ahci.0.msi="0" hint.ahci.1.msi="0" # Vital modules that are not in FreeBSD's GENERIC # configuration will be loaded on boot, which makes # races with individual module's settings impossible. carp_load="YES" if_bridge_load="YES" if_enc_load="YES" if_gif_load="YES" if_gre_load="YES" if_lagg_load="YES" if_tap_load="YES" if_tun_load="YES" if_vlan_load="YES" pf_load="YES" pflog_load="YES" pfsync_load="YES" # The netgraph(4) framework is loaded here # for backwards compat for when the kernel # had these compiled in, not as modules. This # list needs further pruning and probing. netgraph_load="YES" ng_UI_load="YES" ng_async_load="YES" ng_bpf_load="YES" ng_bridge_load="YES" ng_car_load="YES" ng_cisco_load="YES" ng_deflate_load="YES" ng_echo_load="YES" ng_eiface_load="YES" ng_ether_load="YES" ng_frame_relay_load="YES" ng_hole_load="YES" ng_iface_load="YES" ng_ksocket_load="YES" ng_l2tp_load="YES" ng_lmi_load="YES" ng_mppc_load="YES" ng_one2many_load="YES" ng_pipe_load="YES" ng_ppp_load="YES" ng_pppoe_load="YES" ng_pptpgre_load="YES" ng_pred1_load="YES" ng_rfc1490_load="YES" ng_socket_load="YES" ng_tcpmss_load="YES" ng_tee_load="YES" ng_tty_load="YES" ng_vjc_load="YES" ng_vlan_load="YES" # dynamically generated tunables settings follow net.enc.in.ipsec_bpf_mask="2" net.enc.in.ipsec_filter_mask="2" net.enc.out.ipsec_bpf_mask="1" net.enc.out.ipsec_filter_mask="1" debug.pfftpproxy="0" vfs.read_max="32" net.inet.ip.portrange.first="1024" net.inet.tcp.blackhole="2" net.inet.udp.blackhole="1" net.inet.ip.random_id="1" net.inet.ip.sourceroute="0" net.inet.ip.accept_sourceroute="0" net.inet.icmp.drop_redirect="0" net.inet.icmp.log_redirect="0" net.inet.tcp.drop_synfin="1" net.inet.ip.redirect="1" net.inet6.ip6.redirect="1" net.inet6.ip6.use_tempaddr="0" net.inet6.ip6.prefer_tempaddr="0" net.inet.tcp.syncookies="1" net.inet.tcp.recvspace="65228" net.inet.tcp.sendspace="65228" net.inet.tcp.delayed_ack="0" net.inet.udp.maxdgram="57344" net.link.bridge.pfil_onlyip="0" net.link.bridge.pfil_local_phys="0" net.link.bridge.pfil_member="1" net.link.bridge.pfil_bridge="0" net.link.tap.user_open="1" kern.randompid="347" net.inet.ip.intr_queue_maxlen="1000" hw.syscons.kbd_reboot="0" net.inet.tcp.log_debug="0" net.inet.icmp.icmplim="0" net.inet.tcp.tso="1" net.inet.udp.checksum="1" kern.ipc.maxsockbuf="4262144" vm.pmap.pti="1" hw.ibrs_disable="0" # dynamically generated console settings follow comconsole_speed="115200" #boot_multicons boot_serial="YES" #kern.vty console="comconsole" --------------------------------------------- loader.conf.local # I have commented everything out, (did reboot to apply) to start performance tuning from scratch #kern.random.harvest.mask=351 #hw.igb.rx_process_limit=-1 #net.link.ifqmaxlen=2048 #net.isr.numthreads=4 #net.isr.maxthreads=4 #net.isr.dispatch=deferred #net.isr.bindthreads=1 ------------------------------------------------ sysctl.conf is practically empty ------------------------------------------------ ifconfig: Note: igb0 is "WAN", igb1 is "LAN" Note2: no PPPoE so far! igb0: flags=8843 metric 0 mtu 1500 options=4400b8 ether 00:0d:b9:4b:0b:5c hwaddr 00:0d:b9:4b:0b:5c inet6 fe80::20d:b9ff:fe4b:b5c%igb0 prefixlen 64 scopeid 0x1 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=21 media: Ethernet autoselect (1000baseT ) status: active igb1: flags=8843 metric 0 mtu 1500 options=4400b8 ether 00:0d:b9:4b:0b:5d hwaddr 00:0d:b9:4b:0b:5d inet6 fe80::20d:b9ff:fe4b:b5d%igb1 prefixlen 64 scopeid 0x2 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 nd6 options=21 media: Ethernet autoselect (1000baseT ) status: active igb2: flags=8c02 metric 0 mtu 1500 options=6403bb ether 00:0d:b9:4b:0b:5e hwaddr 00:0d:b9:4b:0b:5e nd6 options=21 media: Ethernet autoselect status: no carrier lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 groups: lo enc0: flags=0<> metric 0 mtu 1536 nd6 options=21 groups: enc pflog0: flags=100 metric 0 mtu 33160 groups: pflog pfsync0: flags=0<> metric 0 mtu 1500 groups: pfsync syncpeer: 0.0.0.0 maxupd: 128 defer: off -------------------------------------------------------------- top -SHPI last pid: 90572; load averages: 2.13, 1.48, 1.01 up 0+15:54:28 08:58:36 136 processes: 8 running, 99 sleeping, 29 waiting CPU 0: 0.0% user, 0.0% nice, 99.1% system, 0.0% interrupt, 0.9% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 67.1% interrupt, 32.9% idle CPU 2: 0.3% user, 0.0% nice, 0.8% system, 0.2% interrupt, 98.7% idle CPU 3: 0.2% user, 0.0% nice, 1.9% system, 6.8% interrupt, 91.2% idle Mem: 36M Active, 179M Inact, 610M Wired, 387M Buf, 3102M Free Swap: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 0 root -92 - 0K 448K CPU0 0 1:32 99.37% kernel{igb0 qu 11 root 155 ki31 0K 64K CPU2 2 904:01 98.85% idle{idle: cpu 11 root 155 ki31 0K 64K RUN 3 909:09 93.95% idle{idle: cpu 12 root -92 - 0K 496K CPU1 1 1:54 50.64% intr{irq262: i 11 root 155 ki31 0K 64K CPU1 1 906:22 39.25% idle{idle: cpu 12 root -92 - 0K 496K WAIT 1 0:26 10.09% intr{irq257: i 12 root -92 - 0K 496K WAIT 3 0:03 3.19% intr{irq264: i 17 root -16 - 0K 16K - 3 0:08 1.12% rand_harvestq 39298 unbound 20 0 72916K 31596K kqread 3 0:01 1.09% unbound{unboun 12 root -92 - 0K 496K WAIT 3 0:02 0.61% intr{irq259: i 11 root 155 ki31 0K 64K RUN 0 912:29 0.52% idle{idle: cpu 12 root -72 - 0K 496K WAIT 2 0:02 0.35% intr{swi1: pfs 0 root -92 - 0K 448K - 2 0:00 0.24% kernel{igb1 qu 12 root -76 - 0K 496K WAIT 3 0:03 0.15% intr{swi0: uar ----------------------------- systat -vm 3 1 users Load 2.58 1.69 1.11 Jul 27 08:59 Mem usage: 21%Phy 1%Kmem Mem: KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 129892 36820 12632092 39224 3175880 count All 133660 40504 13715660 67628 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt ioflt 35953 total 32 52k 2 5198 32k 926 cow 4 uart0 4 zfod 1 ehci0 18 25.9%Sys 18.7%Intr 2.1%User 0.0%Nice 53.3%Idle ozfod ahci0 19 | | | | | | | | | | %ozfod 1123 cpu0:timer =============+++++++++> daefr 1126 cpu1:timer 29 dtbuf prcfr 1127 cpu3:timer Namei Name-cache Dir-cache 145989 desvn totfr 84 cpu2:timer Calls hits % hits % 36007 numvn react 1 igb0:que 0 19 19 100 14872 frevn pdwak 13759 igb0:que 1 15 pdpgs 1 igb0:que 2 Disks ada0 pass0 intrn 3 igb0:que 3 KB/t 0.00 0.00 624712 wire igb0:link tps 0 0 36984 act 1 igb1:que 0 MB/s 0.00 0.00 183780 inact 13514 igb1:que 1 %busy 0 0 laund 3 igb1:que 2 3175880 free 5206 igb1:que 3 ----------------------------- systat -ifstat 3 /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average |||||||||||||| Interface Traffic Peak Total lo0 in 0.089 KB/s 0.982 KB/s 3.729 MB out 0.089 KB/s 0.982 KB/s 3.729 MB igb1 in 1.184 MB/s 1.194 MB/s 603.486 MB out 56.019 MB/s 56.498 MB/s 27.880 GB igb0 in 55.994 MB/s 56.525 MB/s 27.880 GB out 1.183 MB/s 1.194 MB/s 603.794 MB -------------------------------------------- vmstat -i 5 irq4: uart0 60 12 irq18: ehci0 4 1 irq19: ahci0 0 0 cpu0:timer 4949 989 cpu1:timer 5623 1124 cpu3:timer 5623 1124 cpu2:timer 3845 769 irq256: igb0:que 0 5 1 irq257: igb0:que 1 70255 14045 irq258: igb0:que 2 8 2 irq259: igb0:que 3 19 4 irq260: igb0:link 0 0 irq261: igb1:que 0 10 2 irq262: igb1:que 1 68832 13761 irq263: igb1:que 2 5 1 irq264: igb1:que 3 25967 5191 irq265: igb1:link 0 0 Total 185205 37026 --------------------------------------------------------------------------------------- On Thu, Jul 26, 2018 at 4:49 PM, Eugene Grosbein wrote: > 26.07.2018 21:40, Eugene Grosbein wrote: > > > Show output of "top -SHPI" at receiving side while performing your test. > > Also, include output of "systat -vm 3" while traffic flows. > > Also include output of "systat -ifstat 3" while traffic flows, too. > > From owner-freebsd-net@freebsd.org Fri Jul 27 08:05:29 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3FDC10416AB for ; Fri, 27 Jul 2018 08:05:28 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (unknown [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DC478A945 for ; Fri, 27 Jul 2018 08:05:27 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w6R84uSP070856 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 27 Jul 2018 10:04:56 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w6R84jiY040993 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 27 Jul 2018 15:04:45 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: PPPoE RX traffic is limited to one queue To: Richard Pasztor References: <5B59DD78.3020908@grosbein.net> <5B59DF63.9020000@grosbein.net> Cc: freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: <5B5AD219.6070205@grosbein.net> Date: Fri, 27 Jul 2018 15:04:41 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 27 Jul 2018 08:05:29 -0000 27.07.2018 14:19, Richard Pasztor wrote: > Hi Eugene, > > the details you requested: > > Router Hardware: PC Engines APU2C4 (http://pcengines.ch/apu2c4.htm) > 3x i210AT NIC / AMD GX-412TC CPU / 4 GB DRAM > > Router Software: Opnsense 18.1.13 > OS: FreeBSD 11.1-RELEASE-p11 FreeBSD 11.1-RELEASE-p11 > 116e406d37f(stable/18.1) amd64 > > I am not sure about how "GENERIC" the kernel is Well, you are not using default FreeBSD installation with GENERIC kernel. Instead, you are using heavily modified Opnsense installation built on top of FreeBSD. You should either install plain FreeBSD 11.1 system to test and compart and seek support from FreeBSD developers (and better 11.2-RELEAS) or continue using Opnsense and ask developers of Opnsense for support because only they know how did they modify FreeBSD. There may be plenty of reasons for the problem starting from suboptimal pf firewall performance (you could try disable it first to rule out its influence) and others. From owner-freebsd-net@freebsd.org Fri Jul 27 17:03:47 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED66D1050D79 for ; Fri, 27 Jul 2018 17:03:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7D37DB74 for ; Fri, 27 Jul 2018 17:03:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4F9BF1050D78; Fri, 27 Jul 2018 17:03:46 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E8261050D77 for ; Fri, 27 Jul 2018 17:03:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE36A7DB71 for ; Fri, 27 Jul 2018 17:03: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 388151E880 for ; Fri, 27 Jul 2018 17:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6RH3juU081676 for ; Fri, 27 Jul 2018 17:03:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6RH3jip081675 for net@FreeBSD.org; Fri, 27 Jul 2018 17:03:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Fri, 27 Jul 2018 17:03: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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 27 Jul 2018 17:03:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #30 from Kurt Jaeger --- (In reply to anoteros from comment #1) This link for a patch seems valid: http://static.ipfw.ru/patches/igb_flowid.diff Did anyone test with that ? Does that still apply ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jul 27 18:02:21 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53C611052212 for ; Fri, 27 Jul 2018 18:02:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E47C3800DD for ; Fri, 27 Jul 2018 18:02:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A97A61052211; Fri, 27 Jul 2018 18:02:20 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 980721052210 for ; Fri, 27 Jul 2018 18:02:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38F14800DB for ; Fri, 27 Jul 2018 18:02:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6E2121F0E4 for ; Fri, 27 Jul 2018 18:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6RI2Jeh044271 for ; Fri, 27 Jul 2018 18:02:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6RI2J0H044256 for net@FreeBSD.org; Fri, 27 Jul 2018 18:02:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Date: Fri, 27 Jul 2018 18:02:16 +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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 27 Jul 2018 18:02:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203856 --- Comment #31 from Eugene Grosbein --- (In reply to Kurt Jaeger from comment #30) This patch does not apply in any sense: it won't apply textually and it was (incomplete) attempt to solve another problem in first place: it tried to a= dd a sysctl to disable flowid generation by igb(4) driver based on (always zero = for PPPoE) hardware flow id assigned by the chip. It was meaningless from the beginning. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jul 27 19:45:09 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D89761054D0A for ; Fri, 27 Jul 2018 19:45:08 +0000 (UTC) (envelope-from ryan@ixsystems.com) Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (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 556AC84BD7 for ; Fri, 27 Jul 2018 19:45:08 +0000 (UTC) (envelope-from ryan@ixsystems.com) Received: by mail-pf1-x42d.google.com with SMTP id x17-v6so2069629pfh.5 for ; Fri, 27 Jul 2018 12:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixsystems-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=Hi3My3h3xeF7rxUw/9EbkxJa7j2O25CTDAATgEibcZ0=; b=uvw3uWB7wu41j2nMAnEBTB0jGHBK1hkaM+WPEcFCe/YrNO5Aue3kbjA/1A7DvbIJ9/ +rXuIjPR5+rKVOIpAd3JIMAHiBvohBSCA15QaJquuG/o17AnlAVwRQPjy5p0PI2QhiAd XB/b6FAjF/AmkElejoOAc20ED7NTg9i/2yVMTsctzlpA9MULoNUZYVjZgyTiEMCotEav 8y96KXp4TDQNTL8OUBMqO+4wRtVL0jfidw3W1izSptUbsy+TADgSJcn2hvF82lt3WGnf P2tLJBl32hCzkZ4S9AWxJYrOxcsHhuQKZa2WafrjclExsnBu5j+ZXKq6B3Eadl9yk/a4 Fbnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=Hi3My3h3xeF7rxUw/9EbkxJa7j2O25CTDAATgEibcZ0=; b=TpRgReonBaJc3fhRvP8grPK+L2dcWZyKRCAL7cYUmkRXAN4O3a9ZKGLqkVPS0a/KdB qcdlXKiVouY4RsJsGF08E3ipRz63Z3QR7uNepzDgh+P2j6QzB2Lo1Vs9PzHkI19KJgOr n5PRgYPjDzK6T+4z6AKP8e88zinLzcHJgWd/lkkcObUHsZHhjl4Zs44maBA4jEW2fx9o 42YNxLBVXhUpgq/Rq8tTqkBc2QtBYyuwE4uP4rU306cFqu0CP45FGkcZwsTYo5BPLlyb PA8POrEFPEl4wGu2K4VGrcpjJ0Ub0ZcaBs+EFANj2wKPTgsCyLHMtj4aRK83A66H9nEY wsaA== X-Gm-Message-State: AOUpUlHC0KOUk001IEKPgfef/0QqAJBkKSJHCOx2Syte93h6TmGI9PjJ OGerj9u9llD6ms+AnUGV1OS0KZcUD63rKyXDsYXctNmTA49rXslhO9j9u+yvatOo1DcKJ6QHfW9 LhGT+LdkxV1sf1SbEDYVnycMO9cBWbaaGuQuyCsNXdwAbS+UR47lcjyOwU2tmh2yOCw== X-Google-Smtp-Source: AAOMgpeIWoA4Y0qLuU7LA4abUzOmRol9ugHaLKS9xptglNLEqkF88QvL/aLmdaGV88AOaJEhMALjxg== X-Received: by 2002:a63:c902:: with SMTP id o2-v6mr7349142pgg.118.1532720706977; Fri, 27 Jul 2018 12:45:06 -0700 (PDT) Received: from [10.0.0.116] (c-67-160-253-209.hsd1.ca.comcast.net. [67.160.253.209]) by smtp.gmail.com with ESMTPSA id u9-v6sm15137206pfi.104.2018.07.27.12.45.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 12:45:06 -0700 (PDT) From: Ryan Moeller Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: 9k jumbo clusters Message-Id: Date: Fri, 27 Jul 2018 12:45:05 -0700 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 27 Jul 2018 19:45:09 -0000 Hello, There is a long-standing issue with 9k mbuf jumbo clusters in FreeBSD. For example: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D183381 https://lists.freebsd.org/pipermail/freebsd-net/2013-March/034890.html This comment suggests the 16k pool does not have the fragmentation = problem: https://reviews.freebsd.org/D11560#239462 I=E2=80=99m curious whether that has been confirmed. Is anyone working on the pathological case with 9k jumbo clusters in the physical memory allocator? There was an interesting discussion started = a few years ago but I=E2=80=99m not sure what ever came of it: http://docs.freebsd.org/cgi/mid.cgi?21225.20047.947384.390241 I have seen some work in the direction of avoiding larger than page size jumbo clusters in 12-CURRENT. Many existing drivers avoid the 9k = cluster size already. The code for larger cluster sizes in iflib is #ifdef'd = out so it maxes out at the page size jumbo clusters until = "CONTIGMALLOC_WORKS" (apparently it doesn't). With all the changes due to iflib, is there any chance some of this will get MFC'd to address the serious problem that remains in 11-STABLE? Otherwise, would it be feasible to disable the use of the 9k cluster = pool in at least some of the popular NIC drivers as a solution for the stable branches? Finally, I have studied some of the driver code in 11-STABLE and posted = the gist of my notes in relation to this problem. If anyone spots a mistake = or has something else to contribute, comments on the gist would be greatly appreciated! https://gist.github.com/freqlabs/eba9b755f17a223260246becfbb150a1 Thanks in advance! Ryan= From owner-freebsd-net@freebsd.org Fri Jul 27 20:23:28 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A34601055940 for ; Fri, 27 Jul 2018 20:23:28 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 360F3863C3 for ; Fri, 27 Jul 2018 20:23:28 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id EE6B4105593E; Fri, 27 Jul 2018 20:23:27 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3817105593D for ; Fri, 27 Jul 2018 20:23:27 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 0CDC8863C0 for ; Fri, 27 Jul 2018 20:23:26 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: by mail-wr1-x435.google.com with SMTP id a3-v6so6216451wrt.2 for ; Fri, 27 Jul 2018 13:23:26 -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=h7MSSyzHj5CGFEU5m2oaPfGEZ7l8AEaGIxf69VM7CFw=; b=Z4nhJl8QYPeSvRJknOMF8Haq0hrpjeUNFJNH3TwAIz2kPiTP4WIK9JGIdWyr67rga/ zbCvb6hxHsFxyyQKZAyQ6cK73tkBmebwgj43SEWfQgaQHUc5r4aBZm0GmHlVhmy+WIP+ cn3OniJq9oNI4Z87m2jqYOjQilkatn8fZfiINjIwhbs/IJTq5VUPBfscLPmzJH/tQNBV 3IINZeu3ZrfruSJaJ0mhqY+JBK2Dz9hJ9IU036XEe5MjGu2Shab6UwIL85sphRLdznEL YsiBeG7yDM8e5z5sugqfws/q9n2LKZZtqOJpwFxc3sGykJAQj45bTWBZIZesMwbUvF7d b12w== 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=h7MSSyzHj5CGFEU5m2oaPfGEZ7l8AEaGIxf69VM7CFw=; b=o0hm6RL2DgkWWdV2WJ9uMfVBX8gn/v0BHP21OprdX3cnHGOlLpJ06jtO1Rb8Dn4TMS 2boYknWx1uSns1K4US7ff+FOwphTr4lj7XpsFLvYVRoVhRQZAEaxStIMtoQMxxKBO9iv fY113RWJuuAWcoNnBbHaYmIndQJ8DJRb2M5vfi5ZwxS1qTBT5lJ5SEcMRgVw8MztwaGr kK2Jza2w8ld7QbWkE4YZuP1s0J1a0oaKOb4s4aH7O+xGoh8MlVx58ESfMv8lxjJkbNlG rXGhU3bJeM7csZRs101OXyIMMZPJTv3qdVbz5kFroL0EJRst8XHdMNYGt1kr83uH7tMk 340A== X-Gm-Message-State: AOUpUlEHHMBBjnC7mHZ6e/aU8g+nrHFYTZxJ8ivDdPR8SkayecC7i/1q rGmWmkVzDHzrzUaDiohiEJ6NxnLUFe+pS6A/uvlf/Q== X-Google-Smtp-Source: AAOMgpeqDZ+avxYdn0Ou8lKswyb/YOQJljqyiPPyMSoHTiJQoH5nCRXUmWB3lecdhXCKt/JHTEUpstBeFUOss/QwEpA= X-Received: by 2002:adf:e8c2:: with SMTP id k2-v6mr6587518wrn.31.1532723005781; Fri, 27 Jul 2018 13:23:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:c806:0:0:0:0:0 with HTTP; Fri, 27 Jul 2018 13:22:45 -0700 (PDT) In-Reply-To: References: <2bb73b27-d5c7-93dd-aaf8-ff47b64b7d70@iet.unipi.it> <4686483f-21de-129e-efd3-359a5189eb46@iet.unipi.it> <4a7920a2-26ba-9abe-d677-233aa7d47cd0@iet.unipi.it> From: Sumit Lakra Date: Sat, 28 Jul 2018 01:52:45 +0530 Message-ID: Subject: Re: PSPAT subsystem Implementation in FreeBSD - GSoC 2018 To: Giuseppe Lettieri Cc: "Alexander V. Chernikov" X-Mailman-Approved-At: Fri, 27 Jul 2018 20:35:13 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 27 Jul 2018 20:23:28 -0000 Hello, I tried the sysctl and it worked in that I was able to intercept the packets with DIR == DIR_OUT | PROTO_LAYER2, but I am beginning to face some other increasingly difficult and unanticipated problems in trying to attach the PSPAT code to work with the present networking system. As you mentioned you are a bit busy now, I was hoping maybe Alexander will be able to help me a little here. It will be good to hear a different viewpoint as well. Also, there are issues I am facing which I believe even you may not be aware of, hence I am also sending this mail to the mailing lists in hope of getting additional opinions from other experts of dummynet/ipfw and the FreeBSD network stack. PSPAT WIP branch - https://github.com/theGodlessL akra/freebsd-pspat/tree/pspat-temp Firstly, as per our previous ideas we had the plan to intercept the packets from dummynet... pass it through PSPAT... and finally dispatch them out from the dispatcher queue via the arbiter or a dedicated dispatcher thread using functions like ip_output() or ether_output_frame() similar to dummynet_send(). I had already spent a good deal of time trying to get these working but it failed every time and resulted in kernel panics. My first thoughts were that the packets are not complete enough for these functions. (net.link.ether.ipfw worked but it also resulted in an error when sending the packet to ether_output_frame). So, in order to test it, I wrote a simple commit to test whether these packets can really be sent to these functions without making them go through PSPAT at all. Turns out, they failed. The first one can be seen here .. sending DIR_OUT packets to ip_output() directly from dummynt_io() with nothing to do with PSPAT failed. The second one can be seen here .. a similar failure with DIR_OUT | PROTO_LAYER2 packets. These both attempts resulted in kernel panics. The conclusion was that neither of these are a good match for PSPAT input and output interception. (Also, in case of the DIR_OUT | PROTO_LAYER2 packets, they were successfully intercepted and put on the PSPAT client mailboxes but when the arbiter scanned them, it somehow returned NULL. This did not happen with DIR_OUT packets which successfully reached the PSPAT exit point) So, next I tried to check if we can let dummynet tag the packets and then call the dummynet_send() functions to dispatch them directly. The first try with no PSPAT looked like this .. and it worked without any errors. Although I am unable to make out anything special being done by the code here, but somehow, letting dummynet tag the packets and just reading those tags in dummynet_send() before calling ip_output() or ether_output_frame() seems to work better than trying to call these functions directly. Anyway, I figured then it would be a good idea to let dummynet tag these packets before redirecting them to PSPAT and then calling dummynet_send() itself at the PSPAT exit point pspat_txqs_flush(), and so I did as can be seen here .., but it didn't work out again. The packets were successfully intercepted and reached pspat_txqs_flush() but when dummynet_send() is called on them they result in kernel panics.. I can't figure out how and why ? So after all these attempts and many more like them, when I was unable to get it working, I decided to intercept the packets in the originally planned way that we thought of at the start of GSoC, i.e. to intercept them where if_output() is called. I also thought that it would be better to call the exact same function during which we intercept it, while dispatching, as we don't do anything other than scheduling in PSPAT so the packet remains in the same state and calling a lower layer function on the packet may not end well. So, I wrote a bunch of printf statements to see which is the most commonly used if_output() function call. For testing, I wanted to intercept at only one position instead of all the dozen places where this is called in the code. The chosen point was ip_output.c line 662, which is what is almost always used..I guess. I wrote the code to intercept packets here as can be seen here . On testing, I found that the interception was successful and the packets were stored in the PSPAT client queues, but the arbiter always returned NULL while scanning these queues for packets. This issue was similar to intercepting DIR_OUT | PROTO_LAYER2 packets. Lastly, leaving the search for the perfect point for packet interception, I decided to try and implement the Scheduler Algorithm use in PSPAT. I am yet to use the patch and see how it works. I was more keen in trying a different approach, where it would be used similar to the use of SA's in dummynet_io(). This looked like this .. The idea was that this approach would make it easier for PSPAT to be integrated with dummynet which is the long term goal. Also, as all the 7 SA's are loaded when dummynet is loaded into the kernel, it didn't seem to make much sense to write all that loading code separately for each SA for PSPAT all over again. And another perk would be that the SA to be used with PSPAT could be changed with the exact same command with which we change SA's to be used to dummynet in general. Also, before I wrote this code, I tried to check if we can send a packet to a SA from within pspat_client_handler() after it has been passed the required arguments, and I was glad that it was able to enqueue the packets successfully. However, when we try to do the same from the arbiter thread, it fails for some reason. As you can see from this mail, I have been trying out a lot of different approaches and ideas to attach PSPAT with the present subsystem but it is not working. I haven't been able to make any real progress lately, so I made commits of some of those attempts and have tried to explain my approach here so someone can help me point out what exactly is wrong and how to fix it. I myself have a couple of other ideas to figure out why this is not working and I will try them and let you know soon how they go. As of now, I have two theories on these - [1] The points from where we are trying to intercept packets are all called by the client threads itself till the very last function call which actually sends the packet to NIC, so, when we instead make the client thread put the packet in PSPAT client queue and return with a value indicating no error, the thread may consider the packet dispatched on its way back and hence free up the mbuf pointer as well. This would explain the disappearing of packets from client queues when they are scanned by the arbiter. [2] The original client threads may have some thread specific allocations/de-allocations or tags etc somewhere in the network stack which get modified when we return the client thread with no error indications, and later when we call a same function from a different thread, this causes a conflict. This would explain why we are not able to dispatch using the dispatcher/arbiter thread (dummynet_send) or why the arbiter thread fails to enqueue packets to SA when the client thread is able to do so when called from within pspat_client_handler() To summarize, I was hoping that in this project, the PSPAT would be the big deal, and it would only take a little more code to add for enqueuing/dequeuing to/from an SA and that the packet interception would also be relatively easy, but I have already written and tested the PSPAT code and these are the parts which are turning out to be way more complicated. I hope I can get some help here. Thanks and Regards, Sumit On Tue, Jul 24, 2018 at 7:23 PM, Giuseppe Lettieri wrote: > Hello Sumit, > > sorry but I am a bit busy right now. Have you tried playing with the > sysctls mentioned in the PACKET FLOW section of the ipfw manpage? If you > may want to set net.link.ether.ipfw=1 and reset the others. > > Cheers, > Giuseppe > > > Il 24/07/2018 06:26, Sumit Lakra ha scritto: > >> Hello, >> >> I was trying to use the scheduler similar to its use in dummynet_io() >> where it uses FIFO as the default scheduler. I have been able to enqueue >> the packets successfuly but there was an error I was facing while >> dequeuing. This implementation is not very appropriate though for a few >> reasons. I started to try it only because it seemed possible and it would >> help me understand the SAs better. I will try to get it working if possible >> before using the patch and trying a different approach. I will notify you >> soon about the results or issues if any. >> >> Meanwhile, have you been able to check what was it about dummynet that >> caused packet duplication and other unexpected results ? The packet >> duplication is not a big problem in terms of PSPAT though as I have already >> written a simple hack to only let in a packet once. What's more important >> is - >> >> [1] Why are there no packets with dir == DIR_OUT | PROTO_LAYER2 ? This >> will help us intercept such packets and send them to ether_output_frame(). >> or, >> [2] Why were the packets with dir == DIR_OUT not ready for ip_output() ? >> They caused an error as they had incomplete headers.. How to fix this ? >> Should we call some function other than ip_output() ? >> >> Ignoring the packet duplication, if you could help me with either one of >> the above two issues, it will help me complete and test the PSPAT code as a >> whole. >> >> Thanks and Regards, >> Sumit >> > > > -- > Dr. Ing. Giuseppe Lettieri > Dipartimento di Ingegneria della Informazione > Universita' di Pisa > Largo Lucio Lazzarino 1, 56122 Pisa - Italy > Ph. : (+39) 050-2217.649 (direct) .599 (switch) > Fax : (+39) 050-2217.600 > e-mail: g.lettieri@iet.unipi.it > From owner-freebsd-net@freebsd.org Fri Jul 27 20:53:28 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C33B105672E for ; Fri, 27 Jul 2018 20:53:28 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (tunnel82308-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) (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 84C468759C for ; Fri, 27 Jul 2018 20:53:27 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.15.2/8.15.2) with ESMTP id w6RKrPW4053570; Fri, 27 Jul 2018 16:53:26 -0400 (EDT) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.15.2/8.14.4/Submit) id w6RKrO1o053565; Fri, 27 Jul 2018 16:53:24 -0400 (EDT) (envelope-from wollman) Date: Fri, 27 Jul 2018 16:53:24 -0400 (EDT) From: Garrett Wollman Message-Id: <201807272053.w6RKrO1o053565@hergotha.csail.mit.edu> To: ryan@ixsystems.com Subject: Re: 9k jumbo clusters X-Newsgroups: mit.lcs.mail.freebsd-net References: Organization: none Cc: freebsd-net@freebsd.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (hergotha.csail.mit.edu [127.0.0.1]); Fri, 27 Jul 2018 16:53:26 -0400 (EDT) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hergotha.csail.mit.edu X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 27 Jul 2018 20:53:28 -0000 In article ryan@ixsystems.com writes: >I have seen some work in the direction of avoiding larger than page size >jumbo clusters in 12-CURRENT. Many existing drivers avoid the 9k cluster >size already. The code for larger cluster sizes in iflib is #ifdef'd out >so it maxes out at the page size jumbo clusters until "CONTIGMALLOC_WORKS" >(apparently it doesn't). My view, which I've expressed before, is that we should have a special pool allocator that provides much larger buffers for systems with high-speed network interfaces that can benefit from them. On at machine with 96 GB of RAM (a small file server in my world), it would not hurt at all to reserve a few 2 GB pages worth of physical memory to be used as very large network buffers, say 64k in length, with the constraint that all of the "very large" buffers had to be the same length. This could be set up in early initialization via tunables, with the default being not to reserve any space so it doesn't affect memory allocation on systems that aren't configured for it. (If you're building a high-performance file server you obviously are going to need to tune more than just network buffers anyway!) I thought a bit about trying to implement this a few years ago when the 9k cluster issue was really biting me, but instead I just diked out the 9k cluster code in the NIC drivers I was using. -GAWollman From owner-freebsd-net@freebsd.org Fri Jul 27 22:18:54 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E82CB1058ABF for ; Fri, 27 Jul 2018 22:18:53 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56D908BED6 for ; Fri, 27 Jul 2018 22:18:52 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id w6RMIid0004282 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Jul 2018 15:18:44 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id w6RMIiiw004281; Fri, 27 Jul 2018 15:18:44 -0700 (PDT) (envelope-from jmg) Date: Fri, 27 Jul 2018 15:18:43 -0700 From: John-Mark Gurney To: Ryan Moeller Cc: freebsd-net@freebsd.org Subject: Re: 9k jumbo clusters Message-ID: <20180727221843.GZ2884@funkthat.com> Mail-Followup-To: Ryan Moeller , freebsd-net@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Fri, 27 Jul 2018 15:18:44 -0700 (PDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 27 Jul 2018 22:18:54 -0000 Ryan Moeller wrote this message on Fri, Jul 27, 2018 at 12:45 -0700: > There is a long-standing issue with 9k mbuf jumbo clusters in FreeBSD. > For example: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183381 > https://lists.freebsd.org/pipermail/freebsd-net/2013-March/034890.html > > This comment suggests the 16k pool does not have the fragmentation problem: > https://reviews.freebsd.org/D11560#239462 > I???m curious whether that has been confirmed. > > Is anyone working on the pathological case with 9k jumbo clusters in the > physical memory allocator? There was an interesting discussion started a > few years ago but I???m not sure what ever came of it: > http://docs.freebsd.org/cgi/mid.cgi?21225.20047.947384.390241 > > I have seen some work in the direction of avoiding larger than page size > jumbo clusters in 12-CURRENT. Many existing drivers avoid the 9k cluster > size already. The code for larger cluster sizes in iflib is #ifdef'd out > so it maxes out at the page size jumbo clusters until "CONTIGMALLOC_WORKS" > (apparently it doesn't). > > With all the changes due to iflib, is there any chance some of this will > get MFC'd to address the serious problem that remains in 11-STABLE? > > Otherwise, would it be feasible to disable the use of the 9k cluster pool > in at least some of the popular NIC drivers as a solution for the stable > branches? > > Finally, I have studied some of the driver code in 11-STABLE and posted the > gist of my notes in relation to this problem. If anyone spots a mistake or > has something else to contribute, comments on the gist would be greatly > appreciated! > https://gist.github.com/freqlabs/eba9b755f17a223260246becfbb150a1 Drivers need to be fixed to use 4k pages instead of cluster. I really hope no one is using a card that can't do 4k pages, or if they are, then they should get a real card that can do scatter/gather on 4k pages for jumbo frames.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@freebsd.org Sat Jul 28 08:25:03 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 646DD10465AA for ; Sat, 28 Jul 2018 08:25:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EC75480EB0 for ; Sat, 28 Jul 2018 08:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B182D10465A9; Sat, 28 Jul 2018 08:25:02 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A024810465A8 for ; Sat, 28 Jul 2018 08:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3AA6D80EAF for ; Sat, 28 Jul 2018 08:25:02 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 88A9C26911 for ; Sat, 28 Jul 2018 08:25:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6S8P1Zu059490 for ; Sat, 28 Jul 2018 08:25:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6S8P1Yx059489 for net@FreeBSD.org; Sat, 28 Jul 2018 08:25:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 197997] [panic] ng_pppoe sometimes panics with trap 12 when server drops session Date: Sat, 28 Jul 2018 08:25:01 +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: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status 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.27 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, 28 Jul 2018 08:25:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197997 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Feedback Timeout CC| |eugen@freebsd.org Status|New |Closed --- Comment #6 from Eugene Grosbein --- Feedback timeout over 3 years. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jul 28 08:28:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B41110468B1 for ; Sat, 28 Jul 2018 08:28:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 37E648102C for ; Sat, 28 Jul 2018 08:28:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F152B10468B0; Sat, 28 Jul 2018 08:28:40 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E01FE10468AF for ; Sat, 28 Jul 2018 08:28:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8141E81028 for ; Sat, 28 Jul 2018 08:28:40 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B06E026916 for ; Sat, 28 Jul 2018 08:28:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6S8SdOe063025 for ; Sat, 28 Jul 2018 08:28:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6S8SdCi063024 for net@FreeBSD.org; Sat, 28 Jul 2018 08:28:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 200860] Failed do-not-fragment ping when using PPPoE over FTTX connection Date: Sat, 28 Jul 2018 08:28:39 +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 Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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.27 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, 28 Jul 2018 08:28:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200860 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED CC| |eugen@freebsd.org --- Comment #1 from Eugene Grosbein --- Just use net/mpd5 port/package that has requested RFC 4638 PPPoE client support. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jul 28 08:31:28 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48FCD1046BC3 for ; Sat, 28 Jul 2018 08:31:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D9D6D812F4 for ; Sat, 28 Jul 2018 08:31:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9F1C01046BC2; Sat, 28 Jul 2018 08:31:27 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DE221046BC1 for ; Sat, 28 Jul 2018 08:31:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E1EE812ED for ; Sat, 28 Jul 2018 08:31:27 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7D16C26A40 for ; Sat, 28 Jul 2018 08:31:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6S8VQiB069923 for ; Sat, 28 Jul 2018 08:31:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6S8VQ5D069921 for net@FreeBSD.org; Sat, 28 Jul 2018 08:31:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 184141] [ppp] [patch] Kernel PPPoE sends bad echo-req magic number on big endian machines Date: Sat, 28 Jul 2018 08:31:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: sparc64 X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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.27 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, 28 Jul 2018 08:31:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D184141 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jmg@FreeBSD.org |net@FreeBSD.org CC| |eugen@freebsd.org --- Comment #6 from Eugene Grosbein --- Reset assignee after 5 years of inactivity. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jul 28 08:47:51 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A6F110476A4 for ; Sat, 28 Jul 2018 08:47:51 +0000 (UTC) (envelope-from moremore2@outlook.com) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-oln040092000035.outbound.protection.outlook.com [40.92.0.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBAE081A38 for ; Sat, 28 Jul 2018 08:47:50 +0000 (UTC) (envelope-from moremore2@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=meUK/aqJ/E0INHdAOxsRBKmYUP98rLknawBO2jZWsj4=; b=FpyL2kdhAn6BQbBskS7LJepFr27/B9+G6gbjyNyX6+5JbZjdk5odNfozJ5LEYA2gTpFRDUzLRzdsWDgboEUnRp1t3Ol8sNG+5sVYQ/3vj7pybsQ3VF1FFJ8gTS3JPtJlqMEccA3h6qMebI9zhHyKsCgYS2VYSRKzTczcjV6vWpFx/L1xBnkKOr7bMYWvqrCx1rW0twJIqzSi3bWnWL/bLRW8Gpzazue2n+udASla1lfY9RrtPL1mLwDGlfYMcxvO86uAsa5OrxZhCf5gyCsK2e3Cl554c7sV0/b7cnwtt2xHx6j8/yk1UT4PeIbHuXguEbcX/0ENfadPW+9k54gnSw== Received: from SN1NAM01FT004.eop-nam01.prod.protection.outlook.com (10.152.64.55) by SN1NAM01HT016.eop-nam01.prod.protection.outlook.com (10.152.65.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.995.12; Sat, 28 Jul 2018 08:47:47 +0000 Received: from BN7PR13MB2243.namprd13.prod.outlook.com (10.152.64.53) by SN1NAM01FT004.mail.protection.outlook.com (10.152.64.188) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.995.12 via Frontend Transport; Sat, 28 Jul 2018 08:47:47 +0000 Received: from BN7PR13MB2243.namprd13.prod.outlook.com ([fe80::651f:1e89:5044:283c]) by BN7PR13MB2243.namprd13.prod.outlook.com ([fe80::651f:1e89:5044:283c%2]) with mapi id 15.20.1017.010; Sat, 28 Jul 2018 08:47:47 +0000 From: k simon To: "freebsd-net@freebsd.org" Subject: Re: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Thread-Topic: [Bug 203856] [igb] PPPoE RX traffic is limitied to one queue Thread-Index: AQHUJdPzsVuD7NlEJ0+vVon64jFCYqSkU5yA Date: Sat, 28 Jul 2018 08:47:47 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: KL1PR0302CA0022.apcprd03.prod.outlook.com (2603:1096:802::32) To BN7PR13MB2243.namprd13.prod.outlook.com (2603:10b6:406:b6::27) x-incomingtopheadermarker: OriginalChecksum:A0A6300F5A2153DDD32B8881A135ABAE76EFDAFEBAC8754344A31E55140A3D74; UpperCasedChecksum:684D52038BA313EC94CAFA3DD9674D787DD488C3598ED720CE45B526108E5480; SizeAsReceived:7495; Count:49 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [QWzM+bJp8GK4wrU+M4jaz98NwjgWcM1K] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; SN1NAM01HT016; 6:k8gmqE01Vt/dKT4161y+SHHYY7whs2nceUV5SQvPgOYZ7thq+q1oVbHVmaVVtUsdATHVnAlakY2wnH1JrEy6jlygsPOJpK/UwS5WbsTn2DBI6s5u1c+BuB2iCcUDFw358Bvb7CRoGfVwdg3yO3XHRJU9rubhP1dWnc6AHsYbHfLBIm1xbYWTWrp9WZUN55FrmLxDp2gban759qhl+ko0+KHMWoBzR37OPfk4fTz5X/Tx8czpe2EiPHJgcWaSveM8h95k0X/cS8dCPnnwlt3PVM43LtFiQTTEgExtCXvqP0Fb9d8bxnepwhJn6urSd/weolxRH+kwNuEahMe3O35tlXQFLn/LnCMInlMR3pcn5tjR/bg7vWkowj4Z7aSAnOrxiY3UWsyLdEgFLcBlx6pDRcdsCvS2YcNMjrU0vaSYMgRA3H4Hgy7pr565IJKM8F0eSOSkOB6KoU1tB1qOuF89ew==; 5:m8/WYPMOHR2Zm6Chy23wNHohvwuVXKJWYx1XLMIUaQCuh9lESNCljJK+M+GbjNHjhRj6XcTyK8Ef9Fga3TTGZIS13ycjNJGSIcJB1BWUtOTIIxXYtXFIgGKz8kngLrGNaFOOBa8DUGijoXXaff6G/3vvUStBpMKYkTvQZHMNjqY=; 7:LgOL8w6An2XBaqLzYQg7OIkc978s/JLfDwQq+YP/QPc6rgxnPz/+0XGKgv3UbKbQz2toGCkdmwd8VQiJTnuvoppBgVWXUZRg62mUB+TIjcck8aRlZrO6oX2o22mUkNiWe7RrOs6xu97XeDi0+KcuxK0DXJkd963LPlSImreiEkMAp3qJcbgoUljOMnNzqY9aW/aV+bG45mMISlMLo/2+Raoc3MfuyiZi7QM4Tvgs4fG3/VVHK408mB6KJPoR9dAY x-incomingheadercount: 49 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031322404)(2017031323274)(1603101475)(1601125500)(1701031045); SRVR:SN1NAM01HT016; x-ms-traffictypediagnostic: SN1NAM01HT016: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(82015058); SRVR:SN1NAM01HT016; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM01HT016; x-forefront-prvs: 07473990A5 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(199004)(189003)(6436002)(386003)(8936002)(7696005)(76176011)(81156014)(8676002)(6246003)(74316002)(55016002)(86152003)(82202002)(97736004)(486006)(5250100002)(68736007)(2501003)(56003)(6346003)(102836004)(26005)(2900100001)(5640700003)(305945005)(25786009)(6306002)(966005)(14454004)(5660300001)(11346002)(86362001)(33656002)(476003)(6916009)(99286004)(426003)(2351001)(106356001)(105586002)(256004)(446003)(87572001)(20460500001)(229853002)(104016004); DIR:OUT; SFP:1901; SCL:1; SRVR:SN1NAM01HT016; H:BN7PR13MB2243.namprd13.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=moremore2@outlook.com; x-microsoft-antispam-message-info: 1Kc8GlxXKdJHxo25EYN07bKlfgVIsoctHHexkaS+wNSQEhUx2zRQyAG37eKh7DfdbJNaBXwxPHXuwBjG70PyC8XBVX8i2NcyQ5ZvjlX5Mt1vp/JOiIS81x4ojw34OxCGdaIhji49vLk3pOUOIrWyvVF5MT19xn3bIP6VVZ3ai3ikr0kehF8dlG6W5PjTb0oSTaZapzVvdltENOknatCXBUh9Olr2katjwPBQLQShaKw= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-Network-Message-Id: 8f8b96d1-65b3-4a8d-26d8-08d5f466cade X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2018 08:47:47.5154 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM01HT016 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 28 Jul 2018 08:47:51 -0000 ICAgQXMgYSB3b3Jrcm91bmQ6ICBVc2Ugb25lIGV0aGVyY2FyZCBzdXBwb3J0cyBTUi1JT1YsIHRo ZW4gYWRkcyBhbGwgdGhlIA0KVkZzIHRvIGEgYnJpZGdlLCBib3VuZCBlYWNoIFZGIHdpdGggYSBN UEQ1IGluc3RhbmNlIGFuZCBhIGNwdSBjb3JlLiBJIA0KaGF2ZSBoZWFyZCB0aGF0IFBQUCBwcm90 b2NvbCBzdXBwb3J0IFJvdW5kUm9iaW4gYWxnby4NCiAgIEJ1dCBJIGhhdmUgbm90IHRlc3RlZCBp dC4NCg0KDQpTaW1vbg0KMjAxODA3MjgNCg0K5ZyoIDIwMTgvNy8yOCAwMjowMiwgYnVnemlsbGEt bm9yZXBseUBmcmVlYnNkLm9yZyDlhpnpgZM6DQo+IGh0dHBzOi8vYnVncy5mcmVlYnNkLm9yZy9i dWd6aWxsYS9zaG93X2J1Zy5jZ2k/aWQ9MjAzODU2DQo+IA0KPiAtLS0gQ29tbWVudCAjMzEgZnJv bSBFdWdlbmUgR3Jvc2JlaW4gPGV1Z2VuQGZyZWVic2Qub3JnPiAtLS0NCj4gKEluIHJlcGx5IHRv IEt1cnQgSmFlZ2VyIGZyb20gY29tbWVudCAjMzApDQo+IA0KPiBUaGlzIHBhdGNoIGRvZXMgbm90 IGFwcGx5IGluIGFueSBzZW5zZTogaXQgd29uJ3QgYXBwbHkgdGV4dHVhbGx5IGFuZCBpdCB3YXMN Cj4gKGluY29tcGxldGUpIGF0dGVtcHQgdG8gc29sdmUgYW5vdGhlciBwcm9ibGVtIGluIGZpcnN0 IHBsYWNlOiBpdCB0cmllZCB0byBhZGQgYQ0KPiBzeXNjdGwgdG8gZGlzYWJsZSBmbG93aWQgZ2Vu ZXJhdGlvbiBieSBpZ2IoNCkgZHJpdmVyIGJhc2VkIG9uIChhbHdheXMgemVybyBmb3INCj4gUFBQ b0UpIGhhcmR3YXJlIGZsb3cgaWQgYXNzaWduZWQgYnkgdGhlIGNoaXAuIEl0IHdhcyBtZWFuaW5n bGVzcyBmcm9tIHRoZQ0KPiBiZWdpbm5pbmcuDQo+IA0K From owner-freebsd-net@freebsd.org Sat Jul 28 11:32:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0452104C7BF for ; Sat, 28 Jul 2018 11:32:26 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD568850A for ; Sat, 28 Jul 2018 11:32:26 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 04DF0104C7B8; Sat, 28 Jul 2018 11:32:26 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5D5E104C7B7; Sat, 28 Jul 2018 11:32:25 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 28DD288504; Sat, 28 Jul 2018 11:32:25 +0000 (UTC) (envelope-from sumitlakradev@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id y2-v6so7985016wma.1; Sat, 28 Jul 2018 04:32:25 -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=lPC+GNVvsIDdx/Y3Dm7ygcaRxjwi6CJK5Kjd2oKtbfE=; b=oH2ecfVPBqThhAFAQP9T5GiHPCY2Vr9n0dOAhs40fMvIGGJKTvKBal1sLXiWT+vT40 O+Pqx2wmHGtNPRERqZnbgzE0laA1YWo10D97ixnasTyAvjzOAmgURysXoNia2qOO6WXt pzlY2NHFwj2nob+w166ewD9CNaY1dVfkLBNGrnQI+zSVd6nMjNIQZv+l3fyB/MD/fvI/ SQZ977FHmnzKp6PqQEAs60OdgJb8v1q0gQxH7sJVOmXqeW9RMqKqfS9XGc5eL7xJkpHr /d4o4NnEFV37wxmNbK5NhfPhj+4dup9tGCH7fOou+OAQIgpqoHq0lu8VxAQUsv8kSm5i OQLg== 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=lPC+GNVvsIDdx/Y3Dm7ygcaRxjwi6CJK5Kjd2oKtbfE=; b=r7XjG+4KiZx/DoDzoea2aK71nlUejNtzZE3Lv5RbZPJff1M7x9M+VW+UzC1YL4fqqo A61gxAGXBIpHpMXQkUm3Xuximw+gvf7SnFGcdEK+1bNo6m1ItoZwH2hAVi3UKnx4OVSD OP0ybchrzWOt1JA45gqCGDfmY3u8bbFu5+RO1BKiuE4KJ+gzc/jhns9FyeUIC2dh7z9E acXlyObO4RaaQmgI8e45dmF8LHl4qpMe7DvQxLw2mgfTWd8s+iTbb9m7IIZlElRW4KBb k+wd1E7qflN7l2H9cyQUxP66E1QXg1ud7QJkUh1RA5pWC4JfJEAAL22BIVigdBvwZ6jk Jn7g== X-Gm-Message-State: AOUpUlHSE0T6KPG0T07b8rBuY2BuWwV0Kb4c/V4rbSD8H6FpFL2revPC FX7ZVhJsngZNqU1YqdcyoVSfw4q7asEQDOeSHho= X-Google-Smtp-Source: AAOMgpfO847FsFCr05/7Vfqxshy8BRFlxfhgwvnLyc6Fs9H/USy8RthdkcU8TG21+CAHYvnTFumSWc2SGKayBteaAXY= X-Received: by 2002:a1c:ec06:: with SMTP id k6-v6mr8237231wmh.39.1532777543547; Sat, 28 Jul 2018 04:32:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:c806:0:0:0:0:0 with HTTP; Sat, 28 Jul 2018 04:31:43 -0700 (PDT) In-Reply-To: References: <2bb73b27-d5c7-93dd-aaf8-ff47b64b7d70@iet.unipi.it> <4686483f-21de-129e-efd3-359a5189eb46@iet.unipi.it> <4a7920a2-26ba-9abe-d677-233aa7d47cd0@iet.unipi.it> From: Sumit Lakra Date: Sat, 28 Jul 2018 17:01:43 +0530 Message-ID: Subject: Re: PSPAT subsystem Implementation in FreeBSD - GSoC 2018 To: Giuseppe Lettieri Cc: "Alexander V. Chernikov" , net@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 28 Jul 2018 11:32:27 -0000 Hello, I tried some other simpler tests today. First I tried intercepting the packets from ip_output.c again and added some printf statements to track the path of package (code ). As before, they were successfully intercepted and placed in the PSPAT client queues but the arbiter was unable to find them most of the time (not always), when scanning the queues. As per my previous assumption this was probably due to client threads early return without any error indications which assumed that the packet was dispatched. So, to test it I did this .. I couldn't make the client threads pause as they apparently had some non sleepable locks held, so I made them go through a really long loop before returning hoping this would allow PSPAT enough time to pick them up and dispatch.. and bingo.. it worked. The packets no longer disappeared from the PSPAT client queues and reached the pspat_txqs_flush(). This could also be the same reason how the packets with PROTO_LAYER2 tags disappeared, although as I mentioned in the previous mail, they were really not good for interception anyway. Next, I uncommented the actual if_output() call in the pspat_txqs_flush() to dispatch the packets that were reaching this point, but somehow the function call failed again(code ). In order to check if the function was called with correct parameters, I used some printf statements to check them (code ).. they were intact. But the function call was failing when called by the arbiter thread to dispatch packets. The exact same function called with the exact same arguments and yet it fails when called from a thread other then the client thread... Why does this happen ??.. I can't figure out !! This makes my second assumption from the previous mail to be possibly correct too, and this is probably why calling dummynet_send() from pspat_txqs_flush() didn't work either.. Put simply, there is some thread specific stuff going on with the client threads and they don't like any other threads trying to step in their shoes and dispatch their packets, and this is not restricted to dummynet/ipfw but maybe true for the entire network stack and many other functions Like I had said, I have already completed the PSPAT part and tested it to be working well but trying to make it work with the existing networking subsystem is turning out to be increasingly complex. I have no idea how to get around this problem, but will keep trying to come up with something. Any help/ideas will be greatly appreciated. Thanks and Regards, Sumit On Sat, Jul 28, 2018 at 1:52 AM, Sumit Lakra wrote: > Hello, > > I tried the sysctl and it worked in that I was able to intercept the > packets with DIR == DIR_OUT | PROTO_LAYER2, but I am beginning to face > some other increasingly difficult and unanticipated problems in trying to > attach the PSPAT code to work with the present networking system. As you > mentioned you are a bit busy now, I was hoping maybe Alexander will be able > to help me a little here. It will be good to hear a different viewpoint as > well. Also, there are issues I am facing which I believe even you may not > be aware of, hence I am also sending this mail to the mailing lists in hope > of getting additional opinions from other experts of dummynet/ipfw and the > FreeBSD network stack. > > PSPAT WIP branch - https://github.com/theGodlessL > akra/freebsd-pspat/tree/pspat-temp > > Firstly, as per our previous ideas we had the plan to intercept the > packets from dummynet... pass it through PSPAT... and finally dispatch them > out from the dispatcher queue via the arbiter or a dedicated dispatcher > thread using functions like ip_output() or ether_output_frame() similar to > dummynet_send(). I had already spent a good deal of time trying to get > these working but it failed every time and resulted in kernel panics. My > first thoughts were that the packets are not complete enough for these > functions. (net.link.ether.ipfw worked but it also resulted in an error > when sending the packet to ether_output_frame). So, in order to test it, I > wrote a simple commit to test whether these packets can really be sent to > these functions without making them go through PSPAT at all. Turns out, > they failed. > > The first one can be seen here > .. > sending DIR_OUT packets to ip_output() directly from dummynt_io() with > nothing to do with PSPAT failed. > The second one can be seen here > .. > a similar failure with DIR_OUT | PROTO_LAYER2 packets. These both attempts > resulted in kernel panics. > > The conclusion was that neither of these are a good match for PSPAT input > and output interception. (Also, in case of the DIR_OUT | PROTO_LAYER2 > packets, they were successfully intercepted and put on the PSPAT client > mailboxes but when the arbiter scanned them, it somehow returned NULL. This > did not happen with DIR_OUT packets which successfully reached the PSPAT > exit point) > > So, next I tried to check if we can let dummynet tag the packets and then > call the dummynet_send() functions to dispatch them directly. The first try > with no PSPAT looked like this > .. > and it worked without any errors. Although I am unable to make out anything > special being done by the code here, but somehow, letting dummynet tag the > packets and just reading those tags in dummynet_send() before calling > ip_output() or ether_output_frame() seems to work better than trying to > call these functions directly. > > Anyway, I figured then it would be a good idea to let dummynet tag these > packets before redirecting them to PSPAT and then calling dummynet_send() > itself at the PSPAT exit point pspat_txqs_flush(), and so I did as can be > seen here > .., > but it didn't work out again. The packets were successfully intercepted and > reached pspat_txqs_flush() but when dummynet_send() is called on them they > result in kernel panics.. I can't figure out how and why ? > > So after all these attempts and many more like them, when I was unable to > get it working, I decided to intercept the packets in the originally > planned way that we thought of at the start of GSoC, i.e. to intercept them > where if_output() is called. I also thought that it would be better to call > the exact same function during which we intercept it, while dispatching, as > we don't do anything other than scheduling in PSPAT so the packet remains > in the same state and calling a lower layer function on the packet may not > end well. So, I wrote a bunch of printf statements to see which is the most > commonly used if_output() function call. For testing, I wanted to intercept > at only one position instead of all the dozen places where this is called > in the code. The chosen point was ip_output.c line 662, which is what is > almost always used..I guess. I wrote the code to intercept packets here as > can be seen here > . > On testing, I found that the interception was successful and the packets > were stored in the PSPAT client queues, but the arbiter always returned > NULL while scanning these queues for packets. This issue was similar to > intercepting DIR_OUT | PROTO_LAYER2 packets. > > Lastly, leaving the search for the perfect point for packet interception, > I decided to try and implement the Scheduler Algorithm use in PSPAT. I am > yet to use the patch and see how it works. I was more keen in trying a > different approach, where it would be used similar to the use of SA's in > dummynet_io(). This looked like this > > .. > > The idea was that this approach would make it easier for PSPAT to be > integrated with dummynet which is the long term goal. Also, as all the 7 > SA's are loaded when dummynet is loaded into the kernel, it didn't seem to > make much sense to write all that loading code separately for each SA for > PSPAT all over again. And another perk would be that the SA to be used with > PSPAT could be changed with the exact same command with which we change > SA's to be used to dummynet in general. Also, before I wrote this code, I > tried to check if we can send a packet to a SA from within > pspat_client_handler() after it has been passed the required arguments, and > I was glad that it was able to enqueue the packets successfully. However, > when we try to do the same from the arbiter thread, it fails for some > reason. > > As you can see from this mail, I have been trying out a lot of different > approaches and ideas to attach PSPAT with the present subsystem but it is > not working. I haven't been able to make any real progress lately, so I > made commits of some of those attempts and have tried to explain my > approach here so someone can help me point out what exactly is wrong and > how to fix it. I myself have a couple of other ideas to figure out why this > is not working and I will try them and let you know soon how they go. > > As of now, I have two theories on these - > [1] The points from where we are trying to intercept packets are all > called by the client threads itself till the very last function call which > actually sends the packet to NIC, so, when we instead make the client > thread put the packet in PSPAT client queue and return with a value > indicating no error, the thread may consider the packet dispatched on its > way back and hence free up the mbuf pointer as well. This would explain the > disappearing of packets from client queues when they are scanned by the > arbiter. > > [2] The original client threads may have some thread specific > allocations/de-allocations or tags etc somewhere in the network stack which > get modified when we return the client thread with no error indications, > and later when we call a same function from a different thread, this causes > a conflict. This would explain why we are not able to dispatch using the > dispatcher/arbiter thread (dummynet_send) or why the arbiter thread fails > to enqueue packets to SA when the client thread is able to do so when > called from within pspat_client_handler() > > To summarize, I was hoping that in this project, the PSPAT would be the > big deal, and it would only take a little more code to add for > enqueuing/dequeuing to/from an SA and that the packet interception would > also be relatively easy, but I have already written and tested the PSPAT > code and these are the parts which are turning out to be way more > complicated. I hope I can get some help here. > > Thanks and Regards, > Sumit > > On Tue, Jul 24, 2018 at 7:23 PM, Giuseppe Lettieri < > g.lettieri@iet.unipi.it> wrote: > >> Hello Sumit, >> >> sorry but I am a bit busy right now. Have you tried playing with the >> sysctls mentioned in the PACKET FLOW section of the ipfw manpage? If you >> may want to set net.link.ether.ipfw=1 and reset the others. >> >> Cheers, >> Giuseppe >> >> >> Il 24/07/2018 06:26, Sumit Lakra ha scritto: >> >>> Hello, >>> >>> I was trying to use the scheduler similar to its use in dummynet_io() >>> where it uses FIFO as the default scheduler. I have been able to enqueue >>> the packets successfuly but there was an error I was facing while >>> dequeuing. This implementation is not very appropriate though for a few >>> reasons. I started to try it only because it seemed possible and it would >>> help me understand the SAs better. I will try to get it working if possible >>> before using the patch and trying a different approach. I will notify you >>> soon about the results or issues if any. >>> >>> Meanwhile, have you been able to check what was it about dummynet that >>> caused packet duplication and other unexpected results ? The packet >>> duplication is not a big problem in terms of PSPAT though as I have already >>> written a simple hack to only let in a packet once. What's more important >>> is - >>> >>> [1] Why are there no packets with dir == DIR_OUT | PROTO_LAYER2 ? This >>> will help us intercept such packets and send them to ether_output_frame(). >>> or, >>> [2] Why were the packets with dir == DIR_OUT not ready for ip_output() ? >>> They caused an error as they had incomplete headers.. How to fix this ? >>> Should we call some function other than ip_output() ? >>> >>> Ignoring the packet duplication, if you could help me with either one of >>> the above two issues, it will help me complete and test the PSPAT code as a >>> whole. >>> >>> Thanks and Regards, >>> Sumit >>> >> >> >> -- >> Dr. Ing. Giuseppe Lettieri >> Dipartimento di Ingegneria della Informazione >> Universita' di Pisa >> Largo Lucio Lazzarino 1, 56122 Pisa - Italy >> Ph. : (+39) 050-2217.649 (direct) .599 (switch) >> Fax : (+39) 050-2217.600 >> e-mail: g.lettieri@iet.unipi.it >> > > From owner-freebsd-net@freebsd.org Sat Jul 28 20:33:52 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A894105DB1A for ; Sat, 28 Jul 2018 20:33:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 CB655802E6 for ; Sat, 28 Jul 2018 20:33:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id c13-v6so8498069wrt.1 for ; Sat, 28 Jul 2018 13:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=RFYTk4QGl5LQiRRJrvegQY1S93HAhTCgZNzl9yLCzJ0=; b=P/Zec0PqWvEkYJlRujq++0lFIZ9FtlZ6jAdDt3M37hahy5DU7d7e6OK7E27ENOo71c PN0kFE3b+qsyPXGDI9xLHaCbZy52WBSsms3ydK4PzyzU7v4qvMOXQJVVSssJs9WvZXZ8 FZVjS0tK1vpTBVCRvJbT+4EoEuWtKI7VHh6nfcKJxaFdl8ULGL/fS7Rq0amYPwQNUxhn I8hA1MN8OwP+LBTTsD82PF4Ljaz3NreP+a6qK6d80rbZ7UYcWdTGArjH2nKC20z1swvM A/df2dG6fS7utZf1S9PZmxl8pvpg5IOelyZGVBoJU3yMBCbsQCucM9OrJn39zlPrIEhQ IHiw== 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=RFYTk4QGl5LQiRRJrvegQY1S93HAhTCgZNzl9yLCzJ0=; b=b7PwF3fql4MxteAgZ8kP0cr6raxnyTRy1u+BMI3TPH9r6Dxf49V+zAfiqvM4Eiza4I PqPBXU9+fpUEsHFaqndyAg0V+7lSd5JzTHjukHTZ47o2PK3SvQpBmmuUUyGyxGUNQeuw lTFAX67WLKAPhA8gVhw6AJh0laccZTf7ODDbl9Amyg8r8OTZoNmcK4tKGXkmNF+K8ROW qCGKJDwq0yApfFGLMOlGF7jwOROFdHljOFDiLnf8RYjmW8ZbovgN/wZuhFiiB32HjHjx ZWkYEFsKWQ2XUNKT3bxNJh9+ZxA/m2V9A7cW0BBO7v+8ZJkqZIXFXEyecSJlBA7lhLG7 lXOA== X-Gm-Message-State: AOUpUlF5ffA0o5DEGOuOaOuBDZOsCHLfQ6FUArNdFh3oIJwkFqTbU4sU EPo/4+NnxQkrIjduQruM9WKPrGe555RXQTaUvDhMzA== X-Google-Smtp-Source: AAOMgpfQHc8pKVozrSB1QfaXiQ4HZgrxS/lkVfgRjOi4ZeAr8bZ1cLQ5v7sL8fSDteFkElX5FS3Uwp9SbJXa0LgmUfg= X-Received: by 2002:adf:a64d:: with SMTP id k71-v6mr10358045wrc.78.1532810030094; Sat, 28 Jul 2018 13:33:50 -0700 (PDT) MIME-Version: 1.0 References: <20180727221843.GZ2884@funkthat.com> In-Reply-To: <20180727221843.GZ2884@funkthat.com> From: Adrian Chadd Date: Sat, 28 Jul 2018 13:33:36 -0700 Message-ID: Subject: Re: 9k jumbo clusters To: ryan@ixsystems.com, FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 28 Jul 2018 20:33:52 -0000 On Fri, 27 Jul 2018 at 15:19, John-Mark Gurney wrote: > Ryan Moeller wrote this message on Fri, Jul 27, 2018 at 12:45 -0700: > > There is a long-standing issue with 9k mbuf jumbo clusters in FreeBSD. > > For example: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183381 > > https://lists.freebsd.org/pipermail/freebsd-net/2013-March/034890.html > > > > This comment suggests the 16k pool does not have the fragmentation > problem: > > https://reviews.freebsd.org/D11560#239462 > > I???m curious whether that has been confirmed. > > > > Is anyone working on the pathological case with 9k jumbo clusters in the > > physical memory allocator? There was an interesting discussion started a > > few years ago but I???m not sure what ever came of it: > > http://docs.freebsd.org/cgi/mid.cgi?21225.20047.947384.390241 > > > > I have seen some work in the direction of avoiding larger than page size > > jumbo clusters in 12-CURRENT. Many existing drivers avoid the 9k cluster > > size already. The code for larger cluster sizes in iflib is #ifdef'd out > > so it maxes out at the page size jumbo clusters until > "CONTIGMALLOC_WORKS" > > (apparently it doesn't). > > > > With all the changes due to iflib, is there any chance some of this will > > get MFC'd to address the serious problem that remains in 11-STABLE? > > > > Otherwise, would it be feasible to disable the use of the 9k cluster pool > > in at least some of the popular NIC drivers as a solution for the stable > > branches? > > > > Finally, I have studied some of the driver code in 11-STABLE and posted > the > > gist of my notes in relation to this problem. If anyone spots a mistake > or > > has something else to contribute, comments on the gist would be greatly > > appreciated! > > https://gist.github.com/freqlabs/eba9b755f17a223260246becfbb150a1 > > Drivers need to be fixed to use 4k pages instead of cluster. I really hope > no one is using a card that can't do 4k pages, or if they are, then they > should get a real card that can do scatter/gather on 4k pages for jumbo > frames.. Yeah but it's 2018 and your server has like minimum a dozen million 4k pages. So if you're doing stuff like lots of network packet kerchunking why not have specialised allocator paths that can do things like "hey, always give me 64k physical contig pages for storage/mbufs because you know what? they're going to be allocated/freed together always." There was always a race between bus bandwidth, memory bandwidth and bus/memory latencies. I'm not currently on the disk/packet pushing side of things, but the last couple times I were it was at different points in that 4d space and almost every single time there was a benefit from having a couple of specialised allocators so you didn't have to try and manage a few dozen million 4k pages based on your changing workload. I enjoy the 4k page size management stuff for my 128MB routers. Your 128G server has a lot of 4k pages. It's a bit silly. -adrian