From owner-freebsd-net@freebsd.org Sun Feb 16 20:48:37 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99CD2241D15 for ; Sun, 16 Feb 2020 20:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48LK2s3Hkyz3N8m for ; Sun, 16 Feb 2020 20:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 70EC0241D11; Sun, 16 Feb 2020 20:48:37 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 70B2D241D10 for ; Sun, 16 Feb 2020 20:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LK2s2QJGz3N8Y for ; Sun, 16 Feb 2020 20:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1CE602B9F1 for ; Sun, 16 Feb 2020 20:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01GKmaae025654 for ; Sun, 16 Feb 2020 20:48:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01GKma50025653 for net@FreeBSD.org; Sun, 16 Feb 2020 20:48:36 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 211689] panic with lagg failover wireless ath and iwm Date: Sun, 16 Feb 2020 20:48:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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.29 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, 16 Feb 2020 20:48:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211689 --- Comment #19 from commit-hook@freebsd.org --- A commit references this bug: Author: yuri Date: Sun Feb 16 20:47:57 UTC 2020 New revision: 526321 URL: https://svnweb.freebsd.org/changeset/ports/526321 Log: math/libnormaliz: Update 3.8.3 -> 3.8.4 PR: 211689 Submitted by: salvadore (maintainer) Changes: head/math/libnormaliz/Makefile head/math/libnormaliz/distinfo --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 16 21:00:42 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 405A32427C5 for ; Sun, 16 Feb 2020 21:00:42 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48LKJn3xtbz43GS for ; Sun, 16 Feb 2020 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8765F242794; Sun, 16 Feb 2020 21:00:41 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87224242793 for ; Sun, 16 Feb 2020 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LKJn36XVz43GJ for ; Sun, 16 Feb 2020 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 65B482BC8A for ; Sun, 16 Feb 2020 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01GL0fov052256 for ; Sun, 16 Feb 2020 21:00:41 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01GL0fs4052255 for net@FreeBSD.org; Sun, 16 Feb 2020 21:00:41 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202002162100.01GL0fs4052255@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, 16 Feb 2020 21:00:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 16 Feb 2020 21:00:42 -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 In Progress | 235700 | oce(4) driver causes fatal trap 12 on boot with e New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 213410 | [carp] service netif restart causes hang only whe Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194453 | dummynet(4): pipe config bw parameter limited to Open | 200319 | Bridge+CARP crashes/freezes Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 210726 | tcp connect() can return invalid EADDRINUSE (Eg: Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 225792 | ECMP is broken since tryforward() Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 235524 | igb(4): Ethernet interface loses active link stat Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 236983 | bnxt(4) VLAN not operational unless explicit "ifc Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237391 | route get returns no result for network addresses Open | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240530 | netgraph/ng_source: Allow ng_source to inject int Open | 240608 | if_vmx(4): iflib - Panic with INVARIANTS: Memory Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 240969 | netinet6: Neighbour reachability detection broken Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 241191 | route flush panic with RADIX_MPATH Open | 243463 | ix0: Watchdog timeout 31 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Feb 17 02:03:07 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C5AB2494F6 for ; Mon, 17 Feb 2020 02:03:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48LS1l3FmYz4JpD for ; Mon, 17 Feb 2020 02:03:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6F9652494F5; Mon, 17 Feb 2020 02:03:07 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6F5532494F4 for ; Mon, 17 Feb 2020 02:03:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LS1l2Nl2z4Jp8 for ; Mon, 17 Feb 2020 02:03:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4D7FE2F704 for ; Mon, 17 Feb 2020 02:03:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01H237wE012493 for ; Mon, 17 Feb 2020 02:03:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01H237MS012489 for net@FreeBSD.org; Mon, 17 Feb 2020 02:03:07 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 194485] Userland cannot add IPv6 prefix routes Date: Mon, 17 Feb 2020 02:03:06 +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: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: bug_file_loc 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.29 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, 17 Feb 2020 02:03:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194485 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://reviews.freebsd.org | |/D23695 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 17 02:11:05 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06B822497EB for ; Mon, 17 Feb 2020 02:11:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48LSBw6LbZz4QbD for ; Mon, 17 Feb 2020 02:11:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D9CE62497E9; Mon, 17 Feb 2020 02:11:04 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D99522497E7 for ; Mon, 17 Feb 2020 02:11:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LSBw5XQHz4Qb1 for ; Mon, 17 Feb 2020 02:11:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B86ED2F74A for ; Mon, 17 Feb 2020 02:11:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01H2B4LQ042310 for ; Mon, 17 Feb 2020 02:11:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01H2B4f4042305 for net@FreeBSD.org; Mon, 17 Feb 2020 02:11:04 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 243838] Increase vale switch limits Date: Mon, 17 Feb 2020 02:11:03 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: feature X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vmaffione@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_file_loc 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.29 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, 17 Feb 2020 02:11:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243838 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org Assignee|net@FreeBSD.org |vmaffione@FreeBSD.org URL| |https://reviews.freebsd.org | |/D23546 --- Comment #7 from Kubilay Kocak --- @Vincenzo Is the man page change the only changes required to resolve this issue as reported, or are there other changes? --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 17 09:04:23 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F3AA2252843 for ; Mon, 17 Feb 2020 09:04:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48LdMq6J13z4ZS0 for ; Mon, 17 Feb 2020 09:04:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D5B8D252842; Mon, 17 Feb 2020 09:04:23 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D5835252841 for ; Mon, 17 Feb 2020 09:04:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LdMq5PpYz4ZRx for ; Mon, 17 Feb 2020 09:04:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B50C0482F for ; Mon, 17 Feb 2020 09:04:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01H94NOg064827 for ; Mon, 17 Feb 2020 09:04:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01H94NnW064820 for net@FreeBSD.org; Mon, 17 Feb 2020 09:04:23 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 244002] Kernel panic while trying to read multicast stream Date: Mon, 17 Feb 2020 09:04:22 +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: 12.1-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress 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.29 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, 17 Feb 2020 09:04:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244002 --- Comment #20 from Bjoern A. Zeeb --- Comment on attachment 211583 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211583 Patch to solve problem Looks ok to me (without further context). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 17 09:47:20 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFD50253852 for ; Mon, 17 Feb 2020 09:47:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48LfKN0Hcqz4Gb0 for ; Mon, 17 Feb 2020 09:47:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C4FA5253851; Mon, 17 Feb 2020 09:47:19 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B7612253850 for ; Mon, 17 Feb 2020 09:47:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LfKM3bjNz4GZc for ; Mon, 17 Feb 2020 09:47:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 47E904FF9 for ; Mon, 17 Feb 2020 09:47:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01H9lIVN096123 for ; Mon, 17 Feb 2020 09:47:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01H9lIir096122 for net@FreeBSD.org; Mon, 17 Feb 2020 09:47:18 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 244002] Kernel panic while trying to read multicast stream Date: Mon, 17 Feb 2020 09:47: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: 12.1-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress 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.29 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, 17 Feb 2020 09:47:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244002 --- Comment #21 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Mon Feb 17 09:46:33 UTC 2020 New revision: 358013 URL: https://svnweb.freebsd.org/changeset/base/358013 Log: Fix kernel panic while trying to read multicast stream. When VIMAGE is enabled make sure the "m_pkthdr.rcvif" pointer is set for all mbufs being input by the IGMP/MLD6 code. Else there will be a NULL-pointer dereference in the netisr code when trying to set the VNET based on the incoming mbuf. Add an assert to catch this when queueing mbufs on a netisr to make debugging of similar cases easier. Found by: Vladislav V. Prodan PR: 244002 Reviewed by: bz@ MFC after: 1 week Sponsored by: Mellanox Technologies Changes: head/sys/net/netisr.c head/sys/netinet/igmp.c head/sys/netinet6/mld6.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 17 09:47:52 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EFC442538CB for ; Mon, 17 Feb 2020 09:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48LfKz4LlDz4Grd for ; Mon, 17 Feb 2020 09:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8A57F2538CA; Mon, 17 Feb 2020 09:47:51 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 743EF2538C8 for ; Mon, 17 Feb 2020 09:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LfKz2CXmz4GrH for ; Mon, 17 Feb 2020 09:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 542AC4FFD for ; Mon, 17 Feb 2020 09:47:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01H9loRj096789 for ; Mon, 17 Feb 2020 09:47:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01H9lojQ096786 for net@FreeBSD.org; Mon, 17 Feb 2020 09:47:50 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 244002] Kernel panic while trying to read multicast stream Date: Mon, 17 Feb 2020 09:47:50 +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: 12.1-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@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 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.29 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, 17 Feb 2020 09:47:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244002 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #22 from Hans Petter Selasky --- Will be MFC'ed next week. Thank you for the bug-report! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 17 21:43:26 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2AE1D2480D7 for ; Mon, 17 Feb 2020 21:43:26 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LyCd5xRcz4TGV; Mon, 17 Feb 2020 21:43:25 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id AE233DA4B; Mon, 17 Feb 2020 21:43:25 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id AA1303687AD; Mon, 17 Feb 2020 21:43:25 +0000 (UTC) Date: Mon, 17 Feb 2020 21:43:25 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 1827792 X-Phabricator-Send-Attempt: m27ptlk4xpqsqnx4 Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRl X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23737) new() object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_ade79039fcb2fd40857e7ab15920c50a" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2020 21:43:26 -0000 --b1_ade79039fcb2fd40857e7ab15920c50a Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 bmVlbF9uZWVsYy5vcmcgY3JlYXRlZCB0aGlzIHJldmlzaW9uLgpuZWVsX25lZWxjLm9yZyBhZGRl ZCBhIHByb2plY3Q6IG5ldHdvcmsuCkhlcmFsZCBhZGRlZCBzdWJzY3JpYmVyczogQ29udHJpYnV0 b3IgUmV2aWV3cyAoYmFzZSksIG1lbGlmYXJvLCBhZSwgaW1wLgoKUkVWSVNJT04gU1VNTUFSWQog IG5hdDY0OiBHZXQgdGhlIElQdjQgYWRkcmVzcyBmcm9tIGFuIElQdjYgTkFUNjQgYWRkcmVzcyB3 aGVuIGNvbXBhcmluZyB0aGUgaW5uZXIgc291cmNlIGFkZHJlc3Mgd2l0aCBhbiBvdXRlciBkZXN0 aW5hdGlvbiBhZGRyZXNzIGluIGFuIElDTVAgdHJhbnNsYXRlLgogIAogIFN1Ym1pdHRlZCBieTog TmVlbCBDaGF1aGFuIDxuZWVsIEFUIG5lZWxjIERPVCBvcmc+CgpSRVBPU0lUT1JZCiAgclMgRnJl ZUJTRCBzcmMgcmVwb3NpdG9yeQoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZy ZWVic2Qub3JnL0QyMzczNwoKQUZGRUNURUQgRklMRVMKICBzeXMvbmV0cGZpbC9pcGZ3L25hdDY0 L25hdDY0X3RyYW5zbGF0ZS5jCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5m cmVlYnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IG5lZWxfbmVl bGMub3JnCkNjOiBpbXAsIGFlLCBtZWxpZmFybywgI2NvbnRyaWJ1dG9yX3Jldmlld3NfYmFzZSwg ZnJlZWJzZC1uZXQtbGlzdCwgbW1hY3ksIGtwcmF2ZWVuLmxrbWxfZ21haWwuY29tLCBtYXJjbmFy Y19nbWFpbC5jb20sIHNpbW9udmVsbGFfZ21haWwuY29tLCBub3ZpY2VfdGVjaGllLmNvbSwgdG9t bWkucGVybmlsYV9pa2kuZmkK --b1_ade79039fcb2fd40857e7ab15920c50a Content-Type: text/x-patch; charset=utf-8; name="D23737.68476.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D23737.68476.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMgYi9z eXMvbmV0cGZpbC9pcGZ3L25hdDY0L25hdDY0X3RyYW5zbGF0ZS5jCi0tLSBhL3N5cy9uZXRwZmls L2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMKKysrIGIvc3lzL25ldHBmaWwvaXBmdy9uYXQ2 NC9uYXQ2NF90cmFuc2xhdGUuYwpAQCAtOTEsNiArOTEsOCBAQAogc3RhdGljIGludCBuYXQ2NF9k aXJlY3Rfb3V0cHV0KHN0cnVjdCBpZm5ldCAqLCBzdHJ1Y3QgbWJ1ZiAqLAogICAgIHN0cnVjdCBz b2NrYWRkciAqLCBzdHJ1Y3QgbmF0NjRfY291bnRlcnMgKiwgdm9pZCAqKTsKIAorc3RhdGljIHVp bnQzMl90IG5hdDY0X2dldF9pcDQoc3RydWN0IGluNl9hZGRyICphZGRyKTsKKwogc3RydWN0IG5h dDY0X21ldGhvZHMgewogCW5hdDY0X291dHB1dF90CQlvdXRwdXQ7CiAJbmF0NjRfb3V0cHV0X29u ZV90CW91dHB1dF9vbmU7CkBAIC0xMDYxLDE5ICsxMDYzLDE1IEBACiAJCSAgICBtLT5tX3BrdGhk ci5sZW4pOwogCQlnb3RvIGZyZWVpdDsKIAl9Ci0jaWYgMAogCS8qCiAJICogQ2hlY2sgdGhhdCBp bm5lciBzb3VyY2UgbWF0Y2hlcyB0aGUgb3V0ZXIgZGVzdGluYXRpb24uCi0JICogWFhYOiBXZSBu ZWVkIHNvbWUgbWV0aG9kIHRvIGNvbnZlcnQgSVB2NCBpbnRvIElQdjYgYWRkcmVzcyBoZXJlLAot CSAqCWFuZCBjb21wYXJlIElQdjYgYWRkcmVzc2VzLgogCSAqLwogCWlmIChpcC5pcF9zcmMuc19h ZGRyICE9IG5hdDY0X2dldF9pcDQoJmlwNi0+aXA2X2RzdCkpIHsKLQkJRFBSSU5URihEUF9HRU5F UklDLCAiSW5uZXIgc291cmNlIGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb24gIiwKKwkJRFBSSU5U RihEUF9HRU5FUklDLCAiSW5uZXIgc291cmNlIGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb246ICIK IAkJICAgICIlMDR4IHZzICUwNHgiLCBpcC5pcF9zcmMuc19hZGRyLAogCQkgICAgbmF0NjRfZ2V0 X2lwNCgmaXA2LT5pcDZfZHN0KSk7CiAJCWdvdG8gZnJlZWl0OwogCX0KLSNlbmRpZgogCS8qCiAJ ICogQ3JlYXRlIG5ldyBtYnVmIGZvciBJQ01QdjYgZGF0YWdyYW0uCiAJICogTk9URTogbGVuIGlz IGRhdGEgbGVuZ3RoIGp1c3QgYWZ0ZXIgaW5uZXIgSVAgaGVhZGVyLgpAQCAtMTE3NCw2ICsxMTcy LDEyIEBACiAJbV9mcmVlbShtKTsKIAlOQVQ2NFNUQVRfSU5DKCZjZmctPnN0YXRzLCBkcm9wcGVk KTsKIAlyZXR1cm4gKE5VTEwpOworfQorCitzdGF0aWMgdWludDMyX3QKK25hdDY0X2dldF9pcDQo c3RydWN0IGluNl9hZGRyICphZGRyKQoreworCXJldHVybiBhZGRyLT5fX3U2X2FkZHIuX191Nl9h ZGRyMzJbM107CiB9CiAKIGludAoK --b1_ade79039fcb2fd40857e7ab15920c50a-- From owner-freebsd-net@freebsd.org Tue Feb 18 08:15:56 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BD4AC2583AB for ; Tue, 18 Feb 2020 08:15:56 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MDFS2qq0z43mj; Tue, 18 Feb 2020 08:15:56 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 8373B1D059; Tue, 18 Feb 2020 08:15:55 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 8269834EAE0; Tue, 18 Feb 2020 08:15:55 +0000 (UTC) Date: Tue, 18 Feb 2020 08:15:55 +0000 To: Phabricator From: "ae (Andrey V. Elsukov)" Cc: freebsd-net@freebsd.org Reply-to: "ae (Andrey V. Elsukov)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: <8c5b6d36adbfa94404b0a20bd0d5c871@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 1828038 X-Phabricator-Send-Attempt: 5a2sxvek4cs3truf In-Reply-To: References: Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRlIF5LnTs= X-Phabricator-Stamps: actor(@ae) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23737) object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) reviewer(@ae) revision-repository(rS) revision-status(needs-revision) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2020 08:15:56 -0000 YWUgcmVxdWVzdGVkIGNoYW5nZXMgdG8gdGhpcyByZXZpc2lvbi4KYWUgYWRkZWQgYSBjb21tZW50 LgpUaGlzIHJldmlzaW9uIG5vdyByZXF1aXJlcyBjaGFuZ2VzIHRvIHByb2NlZWQuCgoKICBUaGUg cGF0Y2ggaXMgbm90IGNvcnJlY3QuIElQdjQgYWRkcmVzcyBjYW4gYmUgZW1iZWRkZWQgaW4gZGlm ZmVyZW50IHBsYWNlcyBkZXBlbmRpbmcgZnJvbSBjb25maWd1cmF0aW9uLgoKUkVQT1NJVE9SWQog IHJTIEZyZWVCU0Qgc3JjIHJlcG9zaXRvcnkKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBo dHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDIzNzM3L25ldy8KClJFVklTSU9OIERFVEFJTAog IGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3MzcKCkVNQUlMIFBSRUZFUkVOQ0VTCiAg aHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5j ZXMvCgpUbzogbmVlbF9uZWVsYy5vcmcsIGFlCkNjOiBpbXAsIGFlLCBtZWxpZmFybywgI2NvbnRy aWJ1dG9yX3Jldmlld3NfYmFzZSwgZnJlZWJzZC1uZXQtbGlzdCwgbW1hY3ksIGtwcmF2ZWVuLmxr bWxfZ21haWwuY29tLCBtYXJjbmFyY19nbWFpbC5jb20sIHNpbW9udmVsbGFfZ21haWwuY29tLCBu b3ZpY2VfdGVjaGllLmNvbSwgdG9tbWkucGVybmlsYV9pa2kuZmkK From owner-freebsd-net@freebsd.org Tue Feb 18 09:52:11 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0E8625A0CD for ; Tue, 18 Feb 2020 09:52:11 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MGNW6658z46hP; Tue, 18 Feb 2020 09:52:11 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id A3EBE169D2; Tue, 18 Feb 2020 09:52:11 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [10.10.132.6] (94-225-81-19.access.telenet.be [94.225.81.19]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id B336B3D14A; Tue, 18 Feb 2020 10:52:09 +0100 (CET) From: "Kristof Provost" To: freebsd-net Subject: vtnet IFF_NEEDSEPOCH? Date: Tue, 18 Feb 2020 10:52:09 +0100 X-Mailer: MailMate (1.13.1r5671) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed; markup=markdown Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 09:52:12 -0000 Hi, I’ve been playing around with a risc-v qemu image, and run into this panic with vtnet: DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 5 panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/netisr.c:1093 cpuid = 0 time = 1581981733 KDB: stack backtrace: db_trace_self() at db_trace_self db_fetch_ksymtab() at db_fetch_ksymtab+0x12a kdb_backtrace() at kdb_backtrace+0x2c vpanic() at vpanic+0x144 panic() at panic+0x26 netisr_dispatch_src() at netisr_dispatch_src+0x3c0 netisr_dispatch() at netisr_dispatch+0x10 ether_ifattach() at ether_ifattach+0x2fa vtmmio_attach() at vtmmio_attach+0x490c vtmmio_attach() at vtmmio_attach+0x4624 vtmmio_attach() at vtmmio_attach+0x544a virtqueue_intr() at virtqueue_intr+0xc vtmmio_attach() at vtmmio_attach+0x2008 db_dump_intr_event() at db_dump_intr_event+0x730 fork_exit() at fork_exit+0x68 fork_trampoline() at fork_trampoline+0xa KDB: enter: panic [ thread pid 12 tid 100023 ] Stopped at kdb_enter+0x44: sd zero,0(a0) db> It seems pretty clear that the vtmmio path doesn’t enter epoch before it runs the vtnet_attach() code. On the other hand, I run vtnet CURRENT guests in bhyve, and don’t see this panic. In that case it lives on top of PCI rather than mmio, but I don’t see why/where that’d enter epoch. The following does fix the panic for me, but I’m not sure if I’m fixing the correct problem: commit 4e388ab164c0d746875501d403a1c7052f1ed633 (HEAD -> kp-hardfloat) Author: Kristof Provost Date: Mon Feb 17 10:05:14 2020 +0100 vtnet: Needs epoch diff --git a/sys/dev/virtio/network/if_vtnet.c b/sys/dev/virtio/network/if_vtnet.c index ceb3ffaaf2b..8c776b27f21 100644 --- a/sys/dev/virtio/network/if_vtnet.c +++ b/sys/dev/virtio/network/if_vtnet.c @@ -950,7 +950,7 @@ vtnet_setup_interface(struct vtnet_softc *sc) if_initname(ifp, device_get_name(dev), device_get_unit(dev)); ifp->if_baudrate = IF_Gbps(10); /* Approx. */ ifp->if_softc = sc; - ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST | IFF_NEEDSEPOCH; ifp->if_init = vtnet_init; ifp->if_ioctl = vtnet_ioctl; ifp->if_get_counter = vtnet_get_counter; Best regards, Kristof From owner-freebsd-net@freebsd.org Tue Feb 18 11:56:44 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9201B25DA4A for ; Tue, 18 Feb 2020 11:56:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48MK8C1SkQz3Fqx for ; Tue, 18 Feb 2020 11:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2F1F925DA49; Tue, 18 Feb 2020 11:56:43 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2ED9525DA48 for ; Tue, 18 Feb 2020 11:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MK8C0Lj8z3Fqg for ; Tue, 18 Feb 2020 11:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0315D1F984 for ; Tue, 18 Feb 2020 11:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01IBugGE008955 for ; Tue, 18 Feb 2020 11:56:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01IBugcC008954 for net@FreeBSD.org; Tue, 18 Feb 2020 11:56:42 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 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph Date: Tue, 18 Feb 2020 11:56:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lutz@donnerhacke.de 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.29 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, 18 Feb 2020 11:56:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 lutz@donnerhacke.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lutz@donnerhacke.de --- Comment #3 from lutz@donnerhacke.de --- That's a memory allocation issue with the netgraph framework. There are sev= eral ones, which become visible, if you add enough nodes. I've to have a look into it anyway. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 18 14:09:52 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D406623A9D9 for ; Tue, 18 Feb 2020 14:09:52 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MN5q2YHqz4PhW; Tue, 18 Feb 2020 14:09:50 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf1-f45.google.com with SMTP id n25so14655684lfl.0; Tue, 18 Feb 2020 06:09:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:openpgp:autocrypt:message-id :date:user-agent:mime-version:content-language :content-transfer-encoding; bh=p4AjPZl5Rv6msk8kcCrV7g3dwE8ZlCOaZSruYMRie9g=; b=fah3wvnZaAdL1mEOvzfpux23B93K0mU6FUEUHRAZLmzmRITPkRy0r/4b9H3bNJaT+H bB6MxJfx3n1N0gvoSYjtF16uSFYPXS1o4Bf3UsJWcTdwJhTVIvmQRba/H622Ea8Sjrqp Tv0pmD9f4fINEFVct8zbrYBISFy/33iKL1oL0h6wS9I6D7HhlZUVbabivRcJHGYb3zc/ nACSxQsSExnuazF6HEJOCXVLFvmSXHCsoQhKYn/XUZ1x4XQFfvCOGfvGakmR1cXafUEq DLqVD098smauImBKWWiC0SVCGfa6rYbZis/2FMTjbHMPH0WKAsPvdM/Ud8I0MUh5wUYg +WHQ== X-Gm-Message-State: APjAAAUXdB3tvKOvY4g8ZpDaas0qRXxxVDYFaodbeqXE3nvWrxIel4Ax shL9sXMc9eYkkiyG/zcdyeguquMhgB8= X-Google-Smtp-Source: APXvYqz8zM86gblSCkX4Gn4bhKYIE9h+YELE86iQb6A/vHuywwKqTrLH8z+XaKhqNT27SGYXl/u59A== X-Received: by 2002:ac2:46c2:: with SMTP id p2mr10382415lfo.139.1582034988540; Tue, 18 Feb 2020 06:09:48 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id h5sm2597688lja.16.2020.02.18.06.09.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Feb 2020 06:09:47 -0800 (PST) To: freebsd-net Cc: Patrick Kelsey , Josh Paetzel From: Andriy Gapon Subject: terrible if_vmx / vmxnet3 rx performance with lro (post iflib) Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFm4LIgBEADNB/3lT7f15UKeQ52xCFQx/GqHkSxEdVyLFZTmY3KyNPQGBtyvVyBfprJ7 mAeXZWfhat6cKNRAGZcL5EmewdQuUfQfBdYmKjbw3a9GFDsDNuhDA2QwFt8BmkiVMRYyvI7l N0eVzszWCUgdc3qqM6qqcgBaqsVmJluwpvwp4ZBXmch5BgDDDb1MPO8AZ2QZfIQmplkj8Y6Z AiNMknkmgaekIINSJX8IzRzKD5WwMsin70psE8dpL/iBsA2cpJGzWMObVTtCxeDKlBCNqM1i gTXta1ukdUT7JgLEFZk9ceYQQMJJtUwzWu1UHfZn0Fs29HTqawfWPSZVbulbrnu5q55R4PlQ /xURkWQUTyDpqUvb4JK371zhepXiXDwrrpnyyZABm3SFLkk2bHlheeKU6Yql4pcmSVym1AS4 dV8y0oHAfdlSCF6tpOPf2+K9nW1CFA8b/tw4oJBTtfZ1kxXOMdyZU5fiG7xb1qDgpQKgHUX8 7Rd2T1UVLVeuhYlXNw2F+a2ucY+cMoqz3LtpksUiBppJhw099gEXehcN2JbUZ2TueJdt1FdS ztnZmsHUXLxrRBtGwqnFL7GSd6snpGIKuuL305iaOGODbb9c7ne1JqBbkw1wh8ci6vvwGlzx rexzimRaBzJxlkjNfMx8WpCvYebGMydNoeEtkWldtjTNVsUAtQARAQABtB5BbmRyaXkgR2Fw b24gPGF2Z0BGcmVlQlNELm9yZz6JAlQEEwEIAD4WIQS+LEO7ngQnXA4Bjr538m7TUc1yjwUC WbgsiAIbIwUJBaOagAULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRB38m7TUc1yj+JAEACV l9AK/nOWAt/9cufV2fRj0hdOqB1aCshtSrwHk/exXsDa4/FkmegxXQGY+3GWX3deIyesbVRL rYdtdK0dqJyT1SBqXK1h3/at9rxr9GQA6KWOxTjUFURsU7ok/6SIlm8uLRPNKO+yq0GDjgaO LzN+xykuBA0FlhQAXJnpZLcVfPJdWv7sSHGedL5ln8P8rxR+XnmsA5TUaaPcbhTB+mG+iKFj GghASDSfGqLWFPBlX/fpXikBDZ1gvOr8nyMY9nXhgfXpq3B6QCRYKPy58ChrZ5weeJZ29b7/ QdEO8NFNWHjSD9meiLdWQaqo9Y7uUxN3wySc/YUZxtS0bhAd8zJdNPsJYG8sXgKjeBQMVGuT eCAJFEYJqbwWvIXMfVWop4+O4xB+z2YE3jAbG/9tB/GSnQdVSj3G8MS80iLS58frnt+RSEw/ psahrfh0dh6SFHttE049xYiC+cM8J27Aaf0i9RflyITq57NuJm+AHJoU9SQUkIF0nc6lfA+o JRiyRlHZHKoRQkIg4aiKaZSWjQYRl5Txl0IZUP1dSWMX4s3XTMurC/pnja45dge/4ESOtJ9R 8XuIWg45Oq6MeIWdjKddGhRj3OohsltKgkEU3eLKYtB6qRTQypHHUawCXz88uYt5e3w4V16H lCpSTZV/EVHnNe45FVBlvK7k7HFfDDkryLkCDQRZuCyIARAAlq0slcsVboY/+IUJdcbEiJRW be9HKVz4SUchq0z9MZPX/0dcnvz/gkyYA+OuM78dNS7Mbby5dTvOqfpLJfCuhaNYOhlE0wY+ 1T6Tf1f4c/uA3U/YiadukQ3+6TJuYGAdRZD5EqYFIkreARTVWg87N9g0fT9BEqLw9lJtEGDY EWUE7L++B8o4uu3LQFEYxcrb4K/WKmgtmFcm77s0IKDrfcX4doV92QTIpLiRxcOmCC/OCYuO jB1oaaqXQzZrCutXRK0L5XN1Y1PYjIrEzHMIXmCDlLYnpFkK+itlXwlE2ZQxkfMruCWdQXye syl2fynAe8hvp7Mms9qU2r2K9EcJiR5N1t1C2/kTKNUhcRv7Yd/vwusK7BqJbhlng5ZgRx0m WxdntU/JLEntz3QBsBsWM9Y9wf2V4tLv6/DuDBta781RsCB/UrU2zNuOEkSixlUiHxw1dccI 6CVlaWkkJBxmHX22GdDFrcjvwMNIbbyfQLuBq6IOh8nvu9vuItup7qemDG3Ms6TVwA7BD3j+ 3fGprtyW8Fd/RR2bW2+LWkMrqHffAr6Y6V3h5kd2G9Q8ZWpEJk+LG6Mk3fhZhmCnHhDu6CwN MeUvxXDVO+fqc3JjFm5OxhmfVeJKrbCEUJyM8ESWLoNHLqjywdZga4Q7P12g8DUQ1mRxYg/L HgZY3zfKOqcAEQEAAYkCPAQYAQgAJhYhBL4sQ7ueBCdcDgGOvnfybtNRzXKPBQJZuCyIAhsM BQkFo5qAAAoJEHfybtNRzXKPBVwQAKfFy9P7N3OsLDMB56A4Kf+ZT+d5cIx0Yiaf4n6w7m3i ImHHHk9FIetI4Xe54a2IXh4Bq5UkAGY0667eIs+Z1Ea6I2i27Sdo7DxGwq09Qnm/Y65ADvXs 3aBvokCcm7FsM1wky395m8xUos1681oV5oxgqeRI8/76qy0hD9WR65UW+HQgZRIcIjSel9vR XDaD2HLGPTTGr7u4v00UeTMs6qvPsa2PJagogrKY8RXdFtXvweQFz78NbXhluwix2Tb9ETPk LIpDrtzV73CaE2aqBG/KrboXT2C67BgFtnk7T7Y7iKq4/XvEdDWscz2wws91BOXuMMd4c/c4 OmGW9m3RBLufFrOag1q5yUS9QbFfyqL6dftJP3Zq/xe+mr7sbWbhPVCQFrH3r26mpmy841ym dwQnNcsbIGiBASBSKksOvIDYKa2Wy8htPmWFTEOPRpFXdGQ27awcjjnB42nngyCK5ukZDHi6 w0qK5DNQQCkiweevCIC6wc3p67jl1EMFY5+z+zdTPb3h7LeVnGqW0qBQl99vVFgzLxchKcl0 R/paSFgwqXCZhAKMuUHncJuynDOP7z5LirUeFI8qsBAJi1rXpQoLJTVcW72swZ42IdPiboqx NbTMiNOiE36GqMcTPfKylCbF45JNX4nF9ElM0E+Y8gi4cizJYBRr2FBJgay0b9Cp Message-ID: <40c4a4df-3df6-d95d-53c2-eef905ff45b1@FreeBSD.org> Date: Tue, 18 Feb 2020 16:09:46 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48MN5q2YHqz4PhW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.167.45 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-3.04 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.04)[ip: (-0.46), ipnet: 209.85.128.0/17(-3.00), asn: 15169(-1.68), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[45.167.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[45.167.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[96.151.72.93.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 14:09:52 -0000 At work we are seeing some rather terrible vmxnet3 rx performance when lro is enabled. We have it enabled because with the pre-iflib vmxnet3 it improved the performance quite significantly. For example, in a particular test configuration we could receive ~1 Gbps w/o lro and ~1.8 Gbps with it. With the latest driver we can see the same ~1 Gbps w/o lro, but enabling lro kills the performance -- it's ~40 Mbps. There is one significant difference that I see between the old and the new code. Previously, vmxnet3 would just communicate to the virtual hardware that it wants lro enabled, e.g.: if (ifp->if_capenable & IFCAP_LRO) ds->upt_features |= UPT1_F_LRO; At the same time, it never used tcp_lro_* routines. Nowadays, if lro is enabled, then the iflib code would pass eligible packets to tcp_lro_rx() and so on. I hacked iflib code to not do that while leaving vmxnet3 code unchanged. The performance with lro enabled immediately improved to ~1.4 Gbps. It's still a bit worse than the pre-iflib code, but much better than iflib+lro. I cannot explain my observations but I confirmed them multiple times. Perhaps, the way that the "hardware" lro works hits a degenerate case either in tcp_lro_* code or in how iflib calls that code. Perhaps, iflib needs a special lro quirk for a driver such vmxnet3? P.S. My general experience with post-iflib vmxnet3 is that vmxnet3 has some peculiarities that result in a certain "impedance mismatch" with iflib. Although we now have a bit less code and it is a bit more regular, there are a few significant (for us, at least) problems: - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243126 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240608 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243392 - the problem described above - a couple of issues that we already fixed or worked around We are contemplating locally reverting to the pre-iflib vmxnet3 and we are wondering if the conversion was really worth it in general. -- Andriy Gapon From owner-freebsd-net@freebsd.org Tue Feb 18 14:32:32 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E41D23B5E2 for ; Tue, 18 Feb 2020 14:32:32 +0000 (UTC) (envelope-from Jason@zx2c4.com) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "frisell.zx2c4.com", Issuer "frisell.zx2c4.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MNbz2cPXz3GXj; Tue, 18 Feb 2020 14:32:30 +0000 (UTC) (envelope-from Jason@zx2c4.com) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 7a52d2d7; Tue, 18 Feb 2020 14:29:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :from:date:message-id:subject:to:cc:content-type; s=mail; bh=mVd Q51LvjRVcy9KFDwZHR3/xFv0=; b=OTAhdA5nUVrkeMTICLZdzoBMZJ62V968Ba3 fgr7fkfAQD9hHbM8EegK3GOScIFE81bEMcYgoSDccplukxvGTgsEtvfqoHxipuLO DO0b4qKL+e7KgqzN0Qg2xAzTXZn0m7LKcaFqocvebNz06miz+T5oxmCSbP7yUGFB Gm40x0f87jXPC0AN9bnidMGuZrqaGu4kAvOVVzUPN8xuOkNs4GbzFLDYxgCpIfEY oFJopqCc9AP2rbV9pibB88VfWImYffWK3VG95LK/CkuV+HZh3vvG0Fn0iDu84ZYI zchcmss9VXEaDM0a73NaWyy4huwzBT00hU7WyojSxhMWj1CeDbQ== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 8a21a270 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 18 Feb 2020 14:29:51 +0000 (UTC) Received: by mail-oi1-f179.google.com with SMTP id d62so20224369oia.11; Tue, 18 Feb 2020 06:32:29 -0800 (PST) X-Gm-Message-State: APjAAAWheAAqVp2zQfQAxsyyp12dM+CZsT7miIyM1DLo7cvsSNlzk2bi hCBZoiHx7TIfT+FxTIQzcyFHk60hngPhpGC+ZvQ= X-Google-Smtp-Source: APXvYqwPld+RXfnmTNY+ZkLlo9iaIvQwLElnu5mExIATm8mUuGyyDBMaGt6/f8DvKeYfoB9S93/USjHB1PV200GRmWU= X-Received: by 2002:a05:6808:4cc:: with SMTP id a12mr1473198oie.115.1582036348292; Tue, 18 Feb 2020 06:32:28 -0800 (PST) MIME-Version: 1.0 From: "Jason A. Donenfeld" Date: Tue, 18 Feb 2020 15:32:17 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: wireguard implementation in progress with zero coordination or communication with wireguard project? can we help? To: mmacy@freebsd.org Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48MNbz2cPXz3GXj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zx2c4.com header.s=mail header.b=OTAhdA5n; dmarc=pass (policy=none) header.from=zx2c4.com; spf=pass (mx1.freebsd.org: domain of Jason@zx2c4.com designates 192.95.5.64 as permitted sender) smtp.mailfrom=Jason@zx2c4.com X-Spamd-Result: default: False [-2.15 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[zx2c4.com:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.16)[ipnet: 192.95.0.0/18(-2.84), asn: 16276(2.06), country: FR(0.00)]; DKIM_TRACE(0.00)[zx2c4.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[64.5.95.192.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_ALLOW(-0.50)[zx2c4.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:192.95.0.0/18, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 14:32:32 -0000 Hi Matthew, I'm Jason, the lead of the WireGuard project. Somebody brought it to my attention that Netgate has been sponsoring you to write a WireGuard kernel implementation for FreeBSD. What a terrific development! However, this is in fact the first I've heard of such an initiative, which is quite surprising and possibly alarming. While I can sort of vaguely imagine possible commercial reasons for this from Netgate's perspective, I can't imagine that dis-coordination is something desirable on the part of FreeBSD. I'd like to find some way we can work together on this. In parallel, the WireGuard project has been working on an implementation for OpenBSD's kernel that we intended to eventually port to FreeBSD. We're also working on other implementations for other platforms as well. It will be interesting to learn if your work is "from scratch", or if you've already begun porting the in-progress OpenBSD work. Our goal as a Project is to keep things as uniform and inter-operable as possible, to offer the same good experience across platforms. Another goal is to keep the security and security-related semantics uniform. We view WireGuard as more than just the development of a protocol, but rather as a set of implementations that we feel good about. To that end, I was wondering if whatever development has been going on for the FreeBSD kernel could begin to work with the WireGuard project. Personally, I'd be interesting in auditing the code, reviewing the design, matching up configuration semantics, and generally the set of things we've done on each platform so far to make sure things going. In other words, how can the WireGuard project get involved with this great FreeBSD development? How can we begin to coordinate? Thanks, Jason From owner-freebsd-net@freebsd.org Tue Feb 18 15:33:21 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3668723D4C4 for ; Tue, 18 Feb 2020 15:33:21 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MPy82Dp1z47xk for ; Tue, 18 Feb 2020 15:33:20 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-lj1-f196.google.com with SMTP id q23so7376241ljm.4 for ; Tue, 18 Feb 2020 07:33:20 -0800 (PST) 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=DV57+qZzEIHJhoy9QGzC42Hog5fiQOSiQRhdfZqHenM=; b=I34x0Qg7pc3c70I3u341siuGep8XnwA1C//J0gTlznsKzZLzve8MSooitVY/2XKi5G Cw8grZJ9+SliDZuH/utQkZwaEKi12cC5d4/sS3jUHhJsIJ07iR2JHEoQZvmK6Eii6cfO vMzFPlvZD8kbxgy3M8xS2I2EjGf4FEbq2kXAlg2GCUFFLR3/ahkGPzxdBdaL9K45cURD yZFQf+dszg2mW6ol3poT9OtIGmyyiXoJjCUJuGqAj5Fqgtjw6n1joN/4q6crXliBu4tS bREdw49JBYk9+Xp6MZFxy2HRbqkViC88h9njT+picxv9DNeB/OM8Oc/S8yTnnJD6R1M3 fx4g== X-Gm-Message-State: APjAAAUBTJgg6N7vLReZe5RQ1j5crZddB5elcFMVW78HBkfpmuyaM7Qe ItE54Wm4b0sYzasWDsGOQMYxvkugPr0XIblZRG2ta++6 X-Google-Smtp-Source: APXvYqxF89Ish3pOwNatqtO7r8NStimbbsJG61ysl1EshD5u1FAUjUOiYQqIZILPxsrpF/n0CVUjXkX7KQvleXFBreA= X-Received: by 2002:a2e:8e70:: with SMTP id t16mr13377706ljk.73.1582039997601; Tue, 18 Feb 2020 07:33:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "K. Macy" Date: Tue, 18 Feb 2020 07:33:06 -0800 Message-ID: Subject: Re: wireguard implementation in progress with zero coordination or communication with wireguard project? can we help? To: "Jason A. Donenfeld" , "freebsd-net@freebsd.org" X-Rspamd-Queue-Id: 48MPy82Dp1z47xk X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kmacybsd@gmail.com designates 209.85.208.196 as permitted sender) smtp.mailfrom=kmacybsd@gmail.com X-Spamd-Result: default: False [-0.90 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; URI_COUNT_ODD(1.00)[3]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[196.208.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; IP_SCORE(-0.91)[ip: (0.19), ipnet: 209.85.128.0/17(-3.00), asn: 15169(-1.68), country: US(-0.05)]; FORGED_SENDER(0.30)[kmacy@freebsd.org,kmacybsd@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[196.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[kmacy@freebsd.org,kmacybsd@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 15:33:21 -0000 Hi Jason - I appreciate your enthusiasm, but I can=E2=80=99t count the number of nasce= nt kernel projects that have come up in discussion over the years and ultimately come to nothing. I started by getting the OpenBSD bits to build on FreeBSD. However, the implementation in Open is not really a very good semantic match for FreeBSD. So I often have to check what the Linux one is doing as well and sometimes the NetBSD one. Ultimately, apart from struct definitions, very little code will be shared between the platforms. I don=E2=80=99t see a who= le lot of benefit to coordination until I can configure a Wireguard interface and there is at least the possibility of passing packets. At that point, presumably in the next month or so, I would very much welcome any time you can spare to audit and provide feedback. Cheers. On Tue, Feb 18, 2020 at 06:32 Jason A. Donenfeld wrote: > Hi Matthew, > > I'm Jason, the lead of the WireGuard project. > > Somebody brought it to my attention that Netgate has been sponsoring > you to write a WireGuard kernel implementation for FreeBSD. What a > terrific development! > > However, this is in fact the first I've heard of such an initiative, > which is quite surprising and possibly alarming. While I can sort of > vaguely imagine possible commercial reasons for this from Netgate's > perspective, I can't imagine that dis-coordination is something > desirable on the part of FreeBSD. I'd like to find some way we can > work together on this. > > In parallel, the WireGuard project has been working on an > implementation for OpenBSD's kernel that we intended to eventually > port to FreeBSD. We're also working on other implementations for other > platforms as well. It will be interesting to learn if your work is > "from scratch", or if you've already begun porting the in-progress > OpenBSD work. > > Our goal as a Project is to keep things as uniform and inter-operable > as possible, to offer the same good experience across platforms. > Another goal is to keep the security and security-related semantics > uniform. We view WireGuard as more than just the development of a > protocol, but rather as a set of implementations that we feel good > about. > > To that end, I was wondering if whatever development has been going on > for the FreeBSD kernel could begin to work with the WireGuard project. > Personally, I'd be interesting in auditing the code, reviewing the > design, matching up configuration semantics, and generally the set of > things we've done on each platform so far to make sure things going. > In other words, how can the WireGuard project get involved with this > great FreeBSD development? How can we begin to coordinate? > > Thanks, > Jason > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Tue Feb 18 15:39:00 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F00CE23D69C for ; Tue, 18 Feb 2020 15:39:00 +0000 (UTC) (envelope-from christina.evans@globaltradeshowleads.com) Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MQ4h1FqJz4Hwp for ; Tue, 18 Feb 2020 15:39:00 +0000 (UTC) (envelope-from christina.evans@globaltradeshowleads.com) Received: by mail-pg1-x541.google.com with SMTP id d9so11138060pgu.3 for ; Tue, 18 Feb 2020 07:38:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:return-receipt-to:from:to:references:in-reply-to :subject:date:message-id:mime-version:importance:sensitivity :thread-index:content-language:disposition-notification-to; bh=inDqGC7BI6i/7DWH9la93Xoxr4mbw3C9Xb1ARR/za9I=; b=Ck4zuFVXlOVaf9fsaHg6sqYSB0FyKwxOioLLqOLbKXtE7ao4OBOTiTc+yVCIRc4JRO nCnBRmxun8EGni7yOzBAYZb/eAf0SpFPq20JTwWCeYkLbtPQpGw6xZaqK1ATgY1tfxP0 C5EO5NBXZdURiEw9ObdIyaMljqh2Be7sEp4dhGmI3s1BURKc9Uw/k+COD01IDVTFrs5h ChxQwUiY6O5TEjDtHDkV4IxHFqUcbXOIfY9mj59PpJ/nUF5Cu9/iFlBA7kNeR+1jOY0m +aM8epBoE6vg58zisZOe8D/2W0uiEPlZFdnib3QRlIcdk5pH+I+PTQMYup6Rtr7IqW+4 gy2w== X-Gm-Message-State: APjAAAV450L+2Y7ifsvWrmVmEHi0JTdCRKcJpCsePPiAHUVCqQIDShlO uFdhF3PjM0OPo4E+tpt2ehCq9pFYZQ== X-Google-Smtp-Source: APXvYqzAK1lNWi+9SrEpqkJUo7Yjn+HyIAiNU+D9SJxGvVSyQOHkXqNA+GXkBLynUZYS9yqEF37fQw== X-Received: by 2002:aa7:8695:: with SMTP id d21mr22418663pfo.199.1582040338427; Tue, 18 Feb 2020 07:38:58 -0800 (PST) Received: from EMS2 ([223.226.48.67]) by smtp.gmail.com with ESMTPSA id a9sm3874646pjk.1.2020.02.18.07.38.56 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Feb 2020 07:38:57 -0800 (PST) From: "Christina Evans" To: References: In-Reply-To: Subject: RE: Southern California 2020 Linux Expo Emails Date: Tue, 18 Feb 2020 10:35:28 -0500 Message-ID: MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 14.0 Importance: High Sensitivity: Company-Confidential Thread-Index: AdXd0wVTzBYQMeogTpG9HVJXuIJmEgIna4Cw Content-Language: en-us X-Rspamd-Queue-Id: 48MQ4h1FqJz4Hwp X-Spamd-Bar: - X-Spamd-Result: default: False [-1.35 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[globaltradeshowleads-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.00)[nan,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HFILTER_FROMHOST_NORESOLVE_MX(0.50)[globaltradeshowleads.com]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.85)[ip: (-0.62), ipnet: 2607:f8b0::/32(-1.89), asn: 15169(-1.68), country: US(-0.05)]; DKIM_TRACE(0.00)[globaltradeshowleads-com.20150623.gappssmtp.com:+]; DMARC_POLICY_ALLOW(-0.50)[globaltradeshowleads.com,quarantine]; RCVD_IN_DNSWL_NONE(0.00)[1.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-0.00)[nan,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; HAS_X_PRIO_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[67.48.226.223.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 15:39:01 -0000 Hi, Writing to check if you have received my below email sent you earlier. Just pick a number that best describes your response, 1. Yes, I'm interested & Send counts and cost of list. 2. No - Opt-Out -Not interested Let me know if you are interested so that I can provide you the cost and additional details. Sincerely, Christina Evans | Database Coordinator From: Christina Evans [mailto:christina.evans@globaltradeshowleads.com] Sent: Friday, February 07, 2020 11:24 AM To: 'freebsd-net@freebsd.org' Subject: Southern California 2020 Linux Expo Emails Importance: High Sensitivity: Confidential Hi Good Morning, Would you be interested in acquiring Southern California 2020 Linux Expo Attendees complete List? Just pick a number that best describes your response, 1. Yes, I'm interested & Send counts and cost of attendees list. 2. No - Opt-Out -Not interested Who Attends: CEOs, CTOs, CIOs, IT Directors & Managers, Students Decision makers and more. All contacts are provided with: Contact Name, Title, Company Name, Website, Physical Address, Phone Number, Fax Number, SIC, Industry type, Employees, Direct Emails and Verification results. Let me know if you are interested so that I can provide you the cost and additional details. Sincerely, Christina Evans | Expo Coordinator 609-27O-DCGO If you don't want to receive further emails please revert with "Take Out" in the subject. From owner-freebsd-net@freebsd.org Tue Feb 18 16:25:40 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D9E1523F3DD for ; Tue, 18 Feb 2020 16:25:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MR6W4lvyz4GYZ; Tue, 18 Feb 2020 16:25:39 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 69AA522D11; Tue, 18 Feb 2020 16:25:39 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 678CE362A9D; Tue, 18 Feb 2020 16:25:39 +0000 (UTC) Date: Tue, 18 Feb 2020 16:25:39 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: <10db919ccfa33b2ab3c1ebf701642b42@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 1828735 X-Phabricator-Send-Attempt: 5roila4gocdx7n3h In-Reply-To: References: Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRlIF5MEAM= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23737) object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) reviewer(@ae) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_10db919ccfa33b2ab3c1ebf701642b42" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2020 16:25:40 -0000 --b1_10db919ccfa33b2ab3c1ebf701642b42 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 bmVlbF9uZWVsYy5vcmcgdXBkYXRlZCB0aGlzIHJldmlzaW9uIHRvIERpZmYgNjg0ODguCm5lZWxf bmVlbGMub3JnIGVkaXRlZCB0aGUgc3VtbWFyeSBvZiB0aGlzIHJldmlzaW9uLgpuZWVsX25lZWxj Lm9yZyBhZGRlZCBhIGNvbW1lbnQuCgoKICBIZXJlLCBJIGFsc28gY29tcGFyZSB0aGUgZGVzdGlu YXRpb24gYWRkcmVzc2VzLiBJcyB0aGlzIHdoYXQgeW91IHdhbnQ/CgpSRVBPU0lUT1JZCiAgclMg RnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIFVQREFURQogIGh0dHBz Oi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3Mzc/dnM9Njg0NzYmaWQ9Njg0ODgKCkNIQU5HRVMg U0lOQ0UgTEFTVCBBQ1RJT04KICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDIzNzM3L25l dy8KClJFVklTSU9OIERFVEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3MzcK CkFGRkVDVEVEIEZJTEVTCiAgc3lzL25ldHBmaWwvaXBmdy9uYXQ2NC9uYXQ2NF90cmFuc2xhdGUu YwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGlu Z3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBuZWVsX25lZWxjLm9yZywgYWUKQ2M6IGlt cCwgYWUsIG1lbGlmYXJvLCAjY29udHJpYnV0b3JfcmV2aWV3c19iYXNlLCBmcmVlYnNkLW5ldC1s aXN0LCBtbWFjeSwga3ByYXZlZW4ubGttbF9nbWFpbC5jb20sIG1hcmNuYXJjX2dtYWlsLmNvbSwg c2ltb252ZWxsYV9nbWFpbC5jb20sIG5vdmljZV90ZWNoaWUuY29tLCB0b21taS5wZXJuaWxhX2lr aS5maQo= --b1_10db919ccfa33b2ab3c1ebf701642b42 Content-Type: text/x-patch; charset=utf-8; name="D23737.68488.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D23737.68488.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMgYi9z eXMvbmV0cGZpbC9pcGZ3L25hdDY0L25hdDY0X3RyYW5zbGF0ZS5jCi0tLSBhL3N5cy9uZXRwZmls L2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMKKysrIGIvc3lzL25ldHBmaWwvaXBmdy9uYXQ2 NC9uYXQ2NF90cmFuc2xhdGUuYwpAQCAtOTEsNiArOTEsOCBAQAogc3RhdGljIGludCBuYXQ2NF9k aXJlY3Rfb3V0cHV0KHN0cnVjdCBpZm5ldCAqLCBzdHJ1Y3QgbWJ1ZiAqLAogICAgIHN0cnVjdCBz b2NrYWRkciAqLCBzdHJ1Y3QgbmF0NjRfY291bnRlcnMgKiwgdm9pZCAqKTsKIAorc3RhdGljIHVp bnQzMl90IG5hdDY0X2dldF9pcDQoc3RydWN0IGluNl9hZGRyICphZGRyKTsKKwogc3RydWN0IG5h dDY0X21ldGhvZHMgewogCW5hdDY0X291dHB1dF90CQlvdXRwdXQ7CiAJbmF0NjRfb3V0cHV0X29u ZV90CW91dHB1dF9vbmU7CkBAIC0xMDYxLDIwICsxMDYzLDI1IEBACiAJCSAgICBtLT5tX3BrdGhk ci5sZW4pOwogCQlnb3RvIGZyZWVpdDsKIAl9Ci0jaWYgMAogCS8qCiAJICogQ2hlY2sgdGhhdCBp bm5lciBzb3VyY2UgbWF0Y2hlcyB0aGUgb3V0ZXIgZGVzdGluYXRpb24uCi0JICogWFhYOiBXZSBu ZWVkIHNvbWUgbWV0aG9kIHRvIGNvbnZlcnQgSVB2NCBpbnRvIElQdjYgYWRkcmVzcyBoZXJlLAot CSAqCWFuZCBjb21wYXJlIElQdjYgYWRkcmVzc2VzLgogCSAqLwogCWlmIChpcC5pcF9zcmMuc19h ZGRyICE9IG5hdDY0X2dldF9pcDQoJmlwNi0+aXA2X2RzdCkpIHsKLQkJRFBSSU5URihEUF9HRU5F UklDLCAiSW5uZXIgc291cmNlIGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb24gIiwKKwkJRFBSSU5U RihEUF9HRU5FUklDLCAiSW5uZXIgc291cmNlIGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb246ICIK IAkJICAgICIlMDR4IHZzICUwNHgiLCBpcC5pcF9zcmMuc19hZGRyLAogCQkgICAgbmF0NjRfZ2V0 X2lwNCgmaXA2LT5pcDZfZHN0KSk7CiAJCWdvdG8gZnJlZWl0OwogCX0KLSNlbmRpZgogCS8qCisJ ICogQ2hlY2sgdGhhdCBpbm5lciBzb3VyY2UgbWF0Y2hlcyB0aGUgb3V0ZXIgZGVzdGluYXRpb24u CisJICovCisJaWYgKGlwLmlwX2RzdC5zX2FkZHIgIT0gbmF0NjRfZ2V0X2lwNCgmaXA2LT5pcDZf c3JjKSkgeworCQlEUFJJTlRGKERQX0dFTkVSSUMsICJJbm5lciBkZXN0aW5hdGlvbiBkb2Vzbid0 IG1hdGNoIHNvdXJjZTogIgorCQkgICAgIiUwNHggdnMgJTA0eCIsIGlwLmlwX2RzdC5zX2FkZHIs CisJCSAgICBuYXQ2NF9nZXRfaXA0KCZpcDYtPmlwNl9zcmMpKTsKKwkJZ290byBmcmVlaXQ7CisJ fQorCS8qCiAJICogQ3JlYXRlIG5ldyBtYnVmIGZvciBJQ01QdjYgZGF0YWdyYW0uCiAJICogTk9U RTogbGVuIGlzIGRhdGEgbGVuZ3RoIGp1c3QgYWZ0ZXIgaW5uZXIgSVAgaGVhZGVyLgogCSAqLwpA QCAtMTE3NCw2ICsxMTgxLDEyIEBACiAJbV9mcmVlbShtKTsKIAlOQVQ2NFNUQVRfSU5DKCZjZmct PnN0YXRzLCBkcm9wcGVkKTsKIAlyZXR1cm4gKE5VTEwpOworfQorCitzdGF0aWMgdWludDMyX3QK K25hdDY0X2dldF9pcDQoc3RydWN0IGluNl9hZGRyICphZGRyKQoreworCXJldHVybiBhZGRyLT5f X3U2X2FkZHIuX191Nl9hZGRyMzJbM107CiB9CiAKIGludAoK --b1_10db919ccfa33b2ab3c1ebf701642b42-- From owner-freebsd-net@freebsd.org Tue Feb 18 16:38:47 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E991723F9B1 for ; Tue, 18 Feb 2020 16:38:47 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MRPg5rq8z4Yhg; Tue, 18 Feb 2020 16:38:47 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id AFB1422EE7; Tue, 18 Feb 2020 16:38:47 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id AE13B366034; Tue, 18 Feb 2020 16:38:47 +0000 (UTC) Date: Tue, 18 Feb 2020 16:38:47 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: <50799b957fcae804e244758784e068d6@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 1828753 X-Phabricator-Send-Attempt: g76vm62zefq2du5h In-Reply-To: References: Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRlIF5MExc= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23737) object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) reviewer(@ae) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_50799b957fcae804e244758784e068d6" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2020 16:38:48 -0000 --b1_50799b957fcae804e244758784e068d6 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 bmVlbF9uZWVsYy5vcmcgdXBkYXRlZCB0aGlzIHJldmlzaW9uIHRvIERpZmYgNjg0ODkuCgpSRVBP U0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIFVQ REFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3Mzc/dnM9Njg0ODgmaWQ9Njg0 ODkKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5v cmcvRDIzNzM3L25ldy8KClJFVklTSU9OIERFVEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNk Lm9yZy9EMjM3MzcKCkFGRkVDVEVEIEZJTEVTCiAgc3lzL25ldHBmaWwvaXBmdy9uYXQ2NC9uYXQ2 NF90cmFuc2xhdGUuYwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJz ZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBuZWVsX25lZWxjLm9y ZywgYWUKQ2M6IGltcCwgYWUsIG1lbGlmYXJvLCAjY29udHJpYnV0b3JfcmV2aWV3c19iYXNlLCBm cmVlYnNkLW5ldC1saXN0LCBtbWFjeSwga3ByYXZlZW4ubGttbF9nbWFpbC5jb20sIG1hcmNuYXJj X2dtYWlsLmNvbSwgc2ltb252ZWxsYV9nbWFpbC5jb20sIG5vdmljZV90ZWNoaWUuY29tLCB0b21t aS5wZXJuaWxhX2lraS5maQo= --b1_50799b957fcae804e244758784e068d6 Content-Type: text/x-patch; charset=utf-8; name="D23737.68489.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D23737.68489.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMgYi9z eXMvbmV0cGZpbC9pcGZ3L25hdDY0L25hdDY0X3RyYW5zbGF0ZS5jCi0tLSBhL3N5cy9uZXRwZmls L2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMKKysrIGIvc3lzL25ldHBmaWwvaXBmdy9uYXQ2 NC9uYXQ2NF90cmFuc2xhdGUuYwpAQCAtOTEsNiArOTEsOCBAQAogc3RhdGljIGludCBuYXQ2NF9k aXJlY3Rfb3V0cHV0KHN0cnVjdCBpZm5ldCAqLCBzdHJ1Y3QgbWJ1ZiAqLAogICAgIHN0cnVjdCBz b2NrYWRkciAqLCBzdHJ1Y3QgbmF0NjRfY291bnRlcnMgKiwgdm9pZCAqKTsKIAorc3RhdGljIHVp bnQzMl90IG5hdDY0X2dldF9pcDQoc3RydWN0IGluNl9hZGRyICphZGRyKTsKKwogc3RydWN0IG5h dDY0X21ldGhvZHMgewogCW5hdDY0X291dHB1dF90CQlvdXRwdXQ7CiAJbmF0NjRfb3V0cHV0X29u ZV90CW91dHB1dF9vbmU7CkBAIC0xMDYxLDIwICsxMDYzLDI1IEBACiAJCSAgICBtLT5tX3BrdGhk ci5sZW4pOwogCQlnb3RvIGZyZWVpdDsKIAl9Ci0jaWYgMAogCS8qCiAJICogQ2hlY2sgdGhhdCBp bm5lciBzb3VyY2UgbWF0Y2hlcyB0aGUgb3V0ZXIgZGVzdGluYXRpb24uCi0JICogWFhYOiBXZSBu ZWVkIHNvbWUgbWV0aG9kIHRvIGNvbnZlcnQgSVB2NCBpbnRvIElQdjYgYWRkcmVzcyBoZXJlLAot CSAqCWFuZCBjb21wYXJlIElQdjYgYWRkcmVzc2VzLgogCSAqLwogCWlmIChpcC5pcF9zcmMuc19h ZGRyICE9IG5hdDY0X2dldF9pcDQoJmlwNi0+aXA2X2RzdCkpIHsKLQkJRFBSSU5URihEUF9HRU5F UklDLCAiSW5uZXIgc291cmNlIGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb24gIiwKKwkJRFBSSU5U RihEUF9HRU5FUklDLCAiSW5uZXIgc291cmNlIGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb246ICIK IAkJICAgICIlMDR4IHZzICUwNHgiLCBpcC5pcF9zcmMuc19hZGRyLAogCQkgICAgbmF0NjRfZ2V0 X2lwNCgmaXA2LT5pcDZfZHN0KSk7CiAJCWdvdG8gZnJlZWl0OwogCX0KLSNlbmRpZgogCS8qCisJ ICogQ2hlY2sgdGhhdCBpbm5lciBkZXN0aW5hdGlvbiBtYXRjaGVzIHRoZSBvdXRlciBzb3VyY2Uu CisJICovCisJaWYgKGlwLmlwX2RzdC5zX2FkZHIgIT0gbmF0NjRfZ2V0X2lwNCgmaXA2LT5pcDZf c3JjKSkgeworCQlEUFJJTlRGKERQX0dFTkVSSUMsICJJbm5lciBkZXN0aW5hdGlvbiBkb2Vzbid0 IG1hdGNoIHNvdXJjZTogIgorCQkgICAgIiUwNHggdnMgJTA0eCIsIGlwLmlwX2RzdC5zX2FkZHIs CisJCSAgICBuYXQ2NF9nZXRfaXA0KCZpcDYtPmlwNl9zcmMpKTsKKwkJZ290byBmcmVlaXQ7CisJ fQorCS8qCiAJICogQ3JlYXRlIG5ldyBtYnVmIGZvciBJQ01QdjYgZGF0YWdyYW0uCiAJICogTk9U RTogbGVuIGlzIGRhdGEgbGVuZ3RoIGp1c3QgYWZ0ZXIgaW5uZXIgSVAgaGVhZGVyLgogCSAqLwpA QCAtMTE3NCw2ICsxMTgxLDEyIEBACiAJbV9mcmVlbShtKTsKIAlOQVQ2NFNUQVRfSU5DKCZjZmct PnN0YXRzLCBkcm9wcGVkKTsKIAlyZXR1cm4gKE5VTEwpOworfQorCitzdGF0aWMgdWludDMyX3QK K25hdDY0X2dldF9pcDQoc3RydWN0IGluNl9hZGRyICphZGRyKQoreworCXJldHVybiBhZGRyLT5f X3U2X2FkZHIuX191Nl9hZGRyMzJbM107CiB9CiAKIGludAoK --b1_50799b957fcae804e244758784e068d6-- From owner-freebsd-net@freebsd.org Tue Feb 18 18:09:15 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 25537241E51 for ; Tue, 18 Feb 2020 18:09:15 +0000 (UTC) (envelope-from Jason@zx2c4.com) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "frisell.zx2c4.com", Issuer "frisell.zx2c4.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MTQ26PcQz4QHK; Tue, 18 Feb 2020 18:09:14 +0000 (UTC) (envelope-from Jason@zx2c4.com) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id b30aae06; Tue, 18 Feb 2020 18:06:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; s=mail; bh=EuCsCcDTOFLA 4TvmZ1EhAPoWw7o=; b=rtBUdr3Wz2fsNswEHSzfgfTbmSa69QsLZi0/WFXqvhIZ SnS33r79cND3S1HdJ14dmgSjrdDmWTc+1F6CFv6Bq6VSwJV4wXuD3N3RYvq0eYEU pRjG2JQwxrN75B8BPOTYmHXK++npfi2PnZ3ZNeOLxCdQqFmrgzP70aUKjLY12yAG vlpa8Vd4w7yCQfVkjf8nSgU7V2F20jc36+GPYaD/gNwLZemEGSfsTnuGI7VjYR9y fUbRUz5XOcVTbhgZYeHrkfIr06xu3ON0FQoGDMq6ijLWkHOsf/7F+Amf3Ra79M/y DrVVPPOfdhIVsCciCWfP/AxBnkRFTqw2J1GADwhPVg== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id d1f77721 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 18 Feb 2020 18:06:34 +0000 (UTC) Received: by mail-ot1-f49.google.com with SMTP id 66so20419396otd.9; Tue, 18 Feb 2020 10:09:13 -0800 (PST) X-Gm-Message-State: APjAAAUiWs1Qy1HPCrDpqVumOAbJ7r1Vlq6mrjT8izc1xGOtgY04fc3/ 9imcQyYjAtvR0rR+KnxTAdYucyOTJoXr86jV1Zs= X-Google-Smtp-Source: APXvYqxPG7ym7TcfRR6smpDOLXhJ8wm5uBBsV8ZOol98QZQdC29HkdUmVi+MUvRlvaOjeHDSEz6csIZqI8graTGxa3k= X-Received: by 2002:a9d:6a53:: with SMTP id h19mr17334749otn.120.1582049352554; Tue, 18 Feb 2020 10:09:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Jason A. Donenfeld" Date: Tue, 18 Feb 2020 19:09:01 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: wireguard implementation in progress with zero coordination or communication with wireguard project? can we help? To: "K. Macy" Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48MTQ26PcQz4QHK X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 18:09:15 -0000 Hey K, On Tue, Feb 18, 2020 at 4:33 PM K. Macy wrote: > I appreciate your enthusiasm, but I can=E2=80=99t count the number of nas= cent kernel projects that have come up in discussion over the years and ult= imately come to nothing. Do you mean that the FreeBSD one might not work out, or you're skeptical that the OpenBSD one will? Either way, I'm pretty determined to bring them both -- FreeBSD (with you) and the OpenBSD one -- across the finish line as best as we can. > I started by getting the OpenBSD bits to build on FreeBSD. However, the i= mplementation in Open is not really a very good semantic match for FreeBSD.= So I often have to check what the Linux one is doing as well and sometimes= the NetBSD one. Ultimately, apart from struct definitions, very little cod= e will be shared between the platforms. Yea, that's what I initially had thought, but then for the OpenBSD stuff we were actually able to take a lot from the Linux implementation in the end, especially with regards to timer semantic and key exchange flow. If it winds up helping, we can do the same where it's useful for FreeBSD and in the end we'll relicense what we need to to {1,2,3,28}-clause BSD, since I imagine FreeBSD doesn't want GPL stuff. > I don=E2=80=99t see a whole lot of benefit to coordination until I can co= nfigure a Wireguard interface and there is at least the possibility of pass= ing packets. I think there will be quite some benefit for coordinating early on and talking through some design challenges. We've now worked through this exercise several times on a few platforms an might be able to help out quite a bit. Are you on IRC? If so, poke me on Freenode -- I'm zx2c4 -- where we have a channel of people who have implemented this before and are eager and excited to help out. Looking forward, Jason From owner-freebsd-net@freebsd.org Tue Feb 18 19:20:32 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0963C2437E7 for ; Tue, 18 Feb 2020 19:20:32 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MW0H1Zbvz48lr for ; Tue, 18 Feb 2020 19:20:31 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-lj1-f194.google.com with SMTP id q8so24289664ljb.2 for ; Tue, 18 Feb 2020 11:20:31 -0800 (PST) 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:cc:content-transfer-encoding; bh=REAfKHp1l2u1Ru+fmjWb/k7/y+aj2ZUso3Ci7NDBWeM=; b=eAaJe221h6t94lGiIN59LmNoY7OO3qPhU7/y6LC/hXgRoUWZh6KrA5xrXXlYBU6t24 Dfpz9Ac3lAAO9HkOCTzTdYzpfl6VzRkXhU2+L0JZY1el/dYcFRlJSJy8fFbVxCr2yARj jCCqe/jZH9np3R7RAxVn5eaL1Yku2DOeMXrj4LWIv7F1D3nzdPpZo6T1G+0ewj68wXMB 2Bj9Idf4h1+CzFQ6NSXBoIWqh3/S3LArJgDRXLubam4tbczxCHvUb4jT7YSJdU0BuXWD 4aPSWAWSKsOEfUI7aEgE7vssjzfD33T3TUVE1JvwEe+D0dvj9V+jxqkfjouvzB2zHPP6 2oGg== X-Gm-Message-State: APjAAAVntQgg/0VBKR3GeHfss+K5rkLYCFQJ89MYBFVrACdWjZiSjdS0 US2gHWVdUv7gQLPSsX262sR/y9fxSMQJt+c5VKUb4sHB X-Google-Smtp-Source: APXvYqws8sqUuDRRwasLGVEstdRFh0+ZQAi8ZYfvSLqCMhhIVORdyVM2LSDoj3cRrcHOxjH3jOTNULr0L4ayURA7BeM= X-Received: by 2002:a2e:8651:: with SMTP id i17mr14086918ljj.121.1582053628675; Tue, 18 Feb 2020 11:20:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "K. Macy" Date: Tue, 18 Feb 2020 11:20:17 -0800 Message-ID: Subject: Re: wireguard implementation in progress with zero coordination or communication with wireguard project? can we help? To: "Jason A. Donenfeld" Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48MW0H1Zbvz48lr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kmacybsd@gmail.com designates 209.85.208.194 as permitted sender) smtp.mailfrom=kmacybsd@gmail.com X-Spamd-Result: default: False [-1.93 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; IP_SCORE(-0.93)[ip: (0.09), ipnet: 209.85.128.0/17(-3.00), asn: 15169(-1.68), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[194.208.85.209.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; FORGED_SENDER(0.30)[kmacy@freebsd.org,kmacybsd@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[kmacy@freebsd.org,kmacybsd@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 19:20:32 -0000 On Tue, Feb 18, 2020 at 10:09 AM Jason A. Donenfeld wrote= : > > Hey K, > > On Tue, Feb 18, 2020 at 4:33 PM K. Macy wrote: > > I appreciate your enthusiasm, but I can=E2=80=99t count the number of n= ascent kernel projects that have come up in discussion over the years and u= ltimately come to nothing. > > Do you mean that the FreeBSD one might not work out, or you're > skeptical that the OpenBSD one will? Either way, I'm pretty determined > to bring them both -- FreeBSD (with you) and the OpenBSD one -- across > the finish line as best as we can. I'm comfortable that these will both come to fruition. However, if you look on the mailing lists you'll see people saying they'll do X, and X never happens. If you look at the git and svn project branches you will see that even the best developers have lots of ideas that never make it over the finish line. > > > I started by getting the OpenBSD bits to build on FreeBSD. However, the= implementation in Open is not really a very good semantic match for FreeBS= D. So I often have to check what the Linux one is doing as well and sometim= es the NetBSD one. Ultimately, apart from struct definitions, very little c= ode will be shared between the platforms. > > Yea, that's what I initially had thought, but then for the OpenBSD > stuff we were actually able to take a lot from the Linux > implementation in the end, especially with regards to timer semantic > and key exchange flow. If it winds up helping, we can do the same > where it's useful for FreeBSD and in the end we'll relicense what we > need to to {1,2,3,28}-clause BSD, since I imagine FreeBSD doesn't want > GPL stuff. > That would be helpful. > > I don=E2=80=99t see a whole lot of benefit to coordination until I can = configure a Wireguard interface and there is at least the possibility of pa= ssing packets. > > I think there will be quite some benefit for coordinating early on and > talking through some design challenges. We've now worked through this > exercise several times on a few platforms an might be able to help out > quite a bit. Are you on IRC? If so, poke me on Freenode -- I'm zx2c4 > -- where we have a channel of people who have implemented this before > and are eager and excited to help out. This is a background task, so I can chime in on the weekends. Cheers. From owner-freebsd-net@freebsd.org Tue Feb 18 19:37:13 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 577392441DD for ; Tue, 18 Feb 2020 19:37:13 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MWMX1Spdz4Vbc; Tue, 18 Feb 2020 19:37:11 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id 01IJb8j0040173 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 18 Feb 2020 11:37:08 -0800 (PST) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id 01IJb8Zx040172; Tue, 18 Feb 2020 11:37:08 -0800 (PST) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Tue, 18 Feb 2020 11:37:08 -0800 From: Gleb Smirnoff To: Kristof Provost Cc: freebsd-net Subject: Re: vtnet IFF_NEEDSEPOCH? Message-ID: <20200218193708.GH5741@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 48MWMX1Spdz4Vbc X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 19:37:13 -0000 On Tue, Feb 18, 2020 at 10:52:09AM +0100, Kristof Provost wrote: K> Hi, K> K> I’ve been playing around with a risc-v qemu image, and run into this panic K> with vtnet: K> K> DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 5 K> panic: Assertion in_epoch(net_epoch_preempt) failed at K> /usr/src/sys/net/netisr.c:1093 K> cpuid = 0 K> time = 1581981733 K> KDB: stack backtrace: K> db_trace_self() at db_trace_self K> db_fetch_ksymtab() at db_fetch_ksymtab+0x12a K> kdb_backtrace() at kdb_backtrace+0x2c K> vpanic() at vpanic+0x144 K> panic() at panic+0x26 K> netisr_dispatch_src() at netisr_dispatch_src+0x3c0 K> netisr_dispatch() at netisr_dispatch+0x10 K> ether_ifattach() at ether_ifattach+0x2fa K> vtmmio_attach() at vtmmio_attach+0x490c K> vtmmio_attach() at vtmmio_attach+0x4624 K> vtmmio_attach() at vtmmio_attach+0x544a K> virtqueue_intr() at virtqueue_intr+0xc K> vtmmio_attach() at vtmmio_attach+0x2008 K> db_dump_intr_event() at db_dump_intr_event+0x730 K> fork_exit() at fork_exit+0x68 K> fork_trampoline() at fork_trampoline+0xa K> KDB: enter: panic K> [ thread pid 12 tid 100023 ] K> Stopped at kdb_enter+0x44: sd zero,0(a0) K> db> K> K> It seems pretty clear that the vtmmio path doesn’t enter epoch before it K> runs the vtnet_attach() code. K> On the other hand, I run vtnet CURRENT guests in bhyve, and don’t see this K> panic. In that case it lives on top of PCI rather than mmio, but I don’t K> see why/where that’d enter epoch. The transition from ether_ifattach to netisr_dispatch looks strange. Is that something run trough EVENTHANDLER_INVOKE? Can you please print in kgdb? > list *ether_ifattach+0x2fa -- Gleb Smirnoff From owner-freebsd-net@freebsd.org Tue Feb 18 21:08:55 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 033962466C1 for ; Tue, 18 Feb 2020 21:08:55 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MYPK48NMz4Cv6; Tue, 18 Feb 2020 21:08:53 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 425601BEAA; Tue, 18 Feb 2020 21:08:53 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [10.10.132.6] (94-225-81-19.access.telenet.be [94.225.81.19]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 0EC7A420F5; Tue, 18 Feb 2020 22:08:51 +0100 (CET) From: "Kristof Provost" To: "Gleb Smirnoff" Cc: freebsd-net Subject: Re: vtnet IFF_NEEDSEPOCH? Date: Tue, 18 Feb 2020 22:08:50 +0100 X-Mailer: MailMate (1.13.1r5671) Message-ID: <5520BD42-7D17-4561-A2CD-C690B159D15E@FreeBSD.org> In-Reply-To: <20200218193708.GH5741@FreeBSD.org> References: <20200218193708.GH5741@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed; markup=markdown Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Feb 2020 21:08:55 -0000 On 18 Feb 2020, at 20:37, Gleb Smirnoff wrote: > On Tue, Feb 18, 2020 at 10:52:09AM +0100, Kristof Provost wrote: > K> Hi, > K> > K> I’ve been playing around with a risc-v qemu image, and run into > this panic > K> with vtnet: > K> > K> DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 5 > K> panic: Assertion in_epoch(net_epoch_preempt) failed at > K> /usr/src/sys/net/netisr.c:1093 > K> cpuid = 0 > K> time = 1581981733 > K> KDB: stack backtrace: > K> db_trace_self() at db_trace_self > K> db_fetch_ksymtab() at db_fetch_ksymtab+0x12a > K> kdb_backtrace() at kdb_backtrace+0x2c > K> vpanic() at vpanic+0x144 > K> panic() at panic+0x26 > K> netisr_dispatch_src() at netisr_dispatch_src+0x3c0 > K> netisr_dispatch() at netisr_dispatch+0x10 > K> ether_ifattach() at ether_ifattach+0x2fa > K> vtmmio_attach() at vtmmio_attach+0x490c > K> vtmmio_attach() at vtmmio_attach+0x4624 > K> vtmmio_attach() at vtmmio_attach+0x544a > K> virtqueue_intr() at virtqueue_intr+0xc > K> vtmmio_attach() at vtmmio_attach+0x2008 > K> db_dump_intr_event() at db_dump_intr_event+0x730 > K> fork_exit() at fork_exit+0x68 > K> fork_trampoline() at fork_trampoline+0xa > K> KDB: enter: panic > K> [ thread pid 12 tid 100023 ] > K> Stopped at kdb_enter+0x44: sd zero,0(a0) > K> db> > K> > K> It seems pretty clear that the vtmmio path doesn’t enter epoch > before it > K> runs the vtnet_attach() code. > K> On the other hand, I run vtnet CURRENT guests in bhyve, and don’t > see this > K> panic. In that case it lives on top of PCI rather than mmio, but I > don’t > K> see why/where that’d enter epoch. > > The transition from ether_ifattach to netisr_dispatch looks strange. > Is that something run trough EVENTHANDLER_INVOKE? > > Can you please print in kgdb? > >> list *ether_ifattach+0x2fa > Not immediately, no. This is risc-v, and there’s no kgdb for it right now. I can give you objdump output however: ffffffc00036fd6c : /* * Perform common duties while attaching to interface list */ void ether_ifattach(struct ifnet *ifp, const u_int8_t *lla) { ffffffc00036fd6c: 7139 addi sp,sp,-64 ffffffc00036fd6e: fc06 sd ra,56(sp) ffffffc00036fd70: f822 sd s0,48(sp) ffffffc00036fd72: f426 sd s1,40(sp) ffffffc00036fd74: f04a sd s2,32(sp) ffffffc00036fd76: ec4e sd s3,24(sp) ffffffc00036fd78: e852 sd s4,16(sp) ffffffc00036fd7a: e456 sd s5,8(sp) ffffffc00036fd7c: e05a sd s6,0(sp) ffffffc00036fd7e: 0080 addi s0,sp,64 ffffffc00036fd80: 892e mv s2,a1 ffffffc00036fd82: 89aa mv s3,a0 ffffffc00036fd84: 4539 li a0,14 … if (__predict_false(ifp->if_flags & IFF_NEEDSEPOCH)) ffffffc000370036: 0709c503 lbu a0,112(s3) ffffffc00037003a: 02057513 andi a0,a0,32 ffffffc00037003e: e92d bnez a0,ffffffc0003700b0 while (m) { ffffffc000370040: 020a8763 beqz s5,ffffffc00037006e ffffffc000370044: 5a7d li s4,-1 mn = m->m_nextpkt; ffffffc000370046: 008ab483 ld s1,8(s5) m->m_nextpkt = NULL; ffffffc00037004a: 000ab423 sd zero,8(s5) MPASS((m->m_pkthdr.csum_flags & CSUM_SND_TAG) == 0); ffffffc00037004e: 038aa503 lw a0,56(s5) ffffffc000370052: 08aa5963 bge s4,a0,ffffffc0003700e4 KASSERT(m->m_pkthdr.rcvif == ifp, ("%s: ifnet mismatch m %p " ffffffc000370056: 020ab683 ld a3,32(s5) ffffffc00037005a: 0b369763 bne a3,s3,ffffffc000370108 netisr_dispatch(NETISR_ETHER, m); ffffffc00037005e: 4515 li a0,5 ffffffc000370060: 85d6 mv a1,s5 ffffffc000370062: 0000c097 auipc ra,0xc ffffffc000370066: 12c080e7 jalr 300(ra) # ffffffc00037c18e ffffffc00037006a: 8aa6 mv s5,s1 while (m) { ffffffc00037006c: fce9 bnez s1,ffffffc000370046 if (__predict_false(ifp->if_flags & IFF_NEEDSEPOCH)) ffffffc00037006e: 0709c503 lbu a0,112(s3) ffffffc000370072: 02057513 andi a0,a0,32 ffffffc000370076: e939 bnez a0,ffffffc0003700cc ffffffc000370078: 00023503 ld a0,0(tp) # 0 CURVNET_RESTORE(); ffffffc00037007c: 4e053503 ld a0,1248(a0) ffffffc000370080: c971 beqz a0,ffffffc000370154 ffffffc000370082: 00090a63 beqz s2,ffffffc000370096 ffffffc000370086: 5e4a7537 lui a0,0x5e4a7 ffffffc00037008a: f285051b addiw a0,a0,-216 ffffffc00037008e: 01092583 lw a1,16(s2) ffffffc000370092: 0ca59163 bne a1,a0,ffffffc000370154 ffffffc000370096: 00023503 ld a0,0(tp) # 0 ffffffc00037009a: 4f253023 sd s2,1248(a0) # 5e4a74e0 } In fact, that looks like it’s inside ether_input(), not ether_ifattach(). ffffffc00036fff6 : { ffffffc00036fff6: 711d addi sp,sp,-96 So I suspect our call stack is something like virtqueue_intr() -> vtnet_rx_vq_intr() -> vtnet_rxq_eof() -> vtnet_rxq_input() -> ether_input(). I don’t see anything entering epoch in that path, which presumably explains the panic, but I still don’t understand why my bhyve current vm doesn’t panic in the same way. Best regards, Kristof From owner-freebsd-net@freebsd.org Wed Feb 19 00:05:30 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE814249C81 for ; Wed, 19 Feb 2020 00:05:30 +0000 (UTC) (envelope-from rudy@monkeybrains.net) Received: from sfo.monkeybrains.net (sfo.monkeybrains.net [208.69.40.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.monkeybrains.net", Issuer "AlphaSSL CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MdK54DCdz424b for ; Wed, 19 Feb 2020 00:05:29 +0000 (UTC) (envelope-from rudy@monkeybrains.net) Received: from [10.2.86.111] (public.monkeybrains.net [208.69.41.107] (may be forged)) (authenticated bits=0) by sfo.monkeybrains.net (8.15.2/8.15.2) with ESMTPSA id 01J05ReP028204 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 18 Feb 2020 16:05:27 -0800 (PST) (envelope-from rudy@monkeybrains.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=monkeybrains.net; s=dkim; t=1582070727; bh=2KbjWtQuu+I551WZs+gvmdI+/4mJ1l39kVB6fEq5BeY=; h=Subject:To:References:From:Date:In-Reply-To; b=nuHat7vcOeIN8ZmncLgybM/1aQhh+iyYmywZzqjtw57671Sg+ilgIl++fw9lM9byf 3ey+TsIlHT4dVsgJmntDWHdLN4am31tgS0YSetb5YULXNeh5MtkHV36ZyKTpXY3oGh q0i/iOBi9mu/G41+LLMdcEOrrVXsY4M7Yuauv4NU= X-Authentication-Warning: mail.monkeybrains.net: Host public.monkeybrains.net [208.69.41.107] (may be forged) claimed to be [10.2.86.111] Subject: Re: Issue with BGP router / high interrupt / Chelsio / FreeBSD 12.1 To: freebsd-net@freebsd.org References: <1aa78c6e-e640-623c-73d3-473df132eb72@monkeybrains.net> <317422ba-e052-aecf-aed3-fbb1325220d9@monkeybrains.net> From: Rudy Rucker Message-ID: <2f56af0b-7872-0a2c-0d30-b4ca1c15d517@monkeybrains.net> Date: Tue, 18 Feb 2020 16:05:27 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <317422ba-e052-aecf-aed3-fbb1325220d9@monkeybrains.net> Content-Language: en-US X-Virus-Scanned: clamav-milter 0.101.4 at mail.monkeybrains.net X-Virus-Status: Clean X-Rspamd-Queue-Id: 48MdK54DCdz424b X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=monkeybrains.net header.s=dkim header.b=nuHat7vc; dmarc=pass (policy=none) header.from=monkeybrains.net; spf=pass (mx1.freebsd.org: domain of rudy@monkeybrains.net designates 208.69.40.9 as permitted sender) smtp.mailfrom=rudy@monkeybrains.net X-Spamd-Result: default: False [-6.64 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[monkeybrains.net:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[monkeybrains.net.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ptr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[monkeybrains.net:+]; DMARC_POLICY_ALLOW(-0.50)[monkeybrains.net,none]; RCVD_IN_DNSWL_NONE(0.00)[9.40.69.208.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-3.64)[ip: (-9.42), ipnet: 208.69.40.0/22(-4.80), asn: 32329(-3.90), country: US(-0.05)]; ASN(0.00)[asn:32329, ipnet:208.69.40.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Feb 2020 00:05:30 -0000 On 2/14/20 2:58 PM, BulkMailForRudy wrote: > pmcstat -S inst_retired.any -Tw1 I had time to run pmcstat during a larger TX load on Chelsio T6 card. I'm loosing a hope on using FreeBSD as one of my edge routers outside of 10Gbps ports. *Start (been running for 4 days), cc1: RX 2.3Gbps / 130Mbps* %SAMP IMAGE      FUNCTION             CALLERS  20.4 kernel     sched_idletd         fork_exit  14.1 kernel     cpu_search_highest   cpu_search_highest:11.9 sched_switch:1.3 sched_idletd:0.9   5.5 kernel     cpu_search_lowest    cpu_search_lowest:5.0 sched_pickcpu:0.5   4.6 kernel     eth_tx               drain_ring   3.7 kernel     rn_match             fib4_lookup_nh_basic   2.0 kernel     epoch_enter_preempt  arpresolve   2.0 kernel     mac_ifnet_check_tran ether_output   1.9 kernel     lock_delay           __mtx_lock_sleep   1.7 kernel     service_iq_fl        t4_intr   1.6 kernel     ip_tryforward        ip_input   1.5 kernel     get_scatter_segment  service_iq_fl   1.5 kernel     mac_ifnet_create_mbu ether_nh_input   1.4 kernel     parse_pkt            cxgbe_transmit   1.3 kernel     netisr_dispatch_src  ether_demux:0.7 ether_input:0.6   1.3 kernel     cxgbe_transmit       ether_output_frame   1.2 kernel     _rm_rlock            in_localip   1.2 kernel     mp_ring_enqueue      cxgbe_transmit   1.2 kernel     ether_output         ip_tryforward *5 minutes in sending more traffic out cc1, cc1: RX 2.3Gbps  / TX 1.7Gbps* %SAMP IMAGE      FUNCTION             CALLERS  17.0 kernel     sched_idletd         fork_exit  15.3 kernel     cpu_search_highest   cpu_search_highest:13.0 sched_switch:1.3 sched_idletd:1.0   6.9 kernel     cpu_search_lowest    cpu_search_lowest:6.3 sched_pickcpu:0.6   4.8 kernel     eth_tx               drain_ring   3.7 kernel     rn_match             fib4_lookup_nh_basic   2.7 kernel     lock_delay           __mtx_lock_sleep   2.0 kernel     mac_ifnet_check_tran ether_output   1.9 kernel     epoch_enter_preempt  arpresolve   1.8 kernel     service_iq_fl        t4_intr   1.6 kernel     mac_ifnet_create_mbu ether_nh_input   1.6 kernel     ip_tryforward        ip_input *10 minutes in, attempting to make cc1 referred outbound for whole network (~ 5Gbps), and the box starts dropping packets:* PMC: [inst_retired.any] Samples: 1019841 (100.0%) , 19068 unresolved %SAMP IMAGE      FUNCTION             CALLERS  24.8 kernel     cpu_search_highest   cpu_search_highest:22.7 sched_idletd:1.6   6.2 kernel     lock_delay           __mtx_lock_sleep   6.0 kernel     rn_match             fib4_lookup_nh_basic   5.7 kernel     eth_tx               drain_ring   2.7 kernel     sched_idletd         fork_exit   2.6 kernel     tdq_move             sched_idletd   2.5 kernel     mac_ifnet_check_tran ether_output   2.1 kernel     mac_ifnet_create_mbu ether_nh_input   2.0 kernel     epoch_enter_preempt  arpresolve *Reverting to ~ 150Mbps TX on  cc1* PMC: [inst_retired.any] Samples: 136053 (100.0%) , 2767 unresolved %SAMP IMAGE      FUNCTION             CALLERS  27.1 kernel     sched_idletd         fork_exit  14.1 kernel     cpu_search_highest   cpu_search_highest:11.5 sched_switch:1.6 sched_idletd:0.9   4.4 kernel     cpu_search_lowest    cpu_search_lowest   4.1 kernel     eth_tx               drain_ring   3.4 kernel     rn_match             fib4_lookup_nh_basic   1.8 kernel     epoch_enter_preempt  arpresolve   1.8 kernel     mac_ifnet_check_tran ether_output   1.6 kernel     service_iq_fl        t4_intr   1.4 kernel     ip_tryforward        ip_input   1.4 kernel     get_scatter_segment  service_iq_fl   1.3 kernel     mac_ifnet_create_mbu ether_nh_input   1.3 kernel     sched_switch         mi_switch   1.3 kernel     parse_pkt            cxgbe_transmit   1.2 kernel     _rm_rlock            in_localip From owner-freebsd-net@freebsd.org Wed Feb 19 06:04:03 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75BFB25018F for ; Wed, 19 Feb 2020 06:04:03 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MnGm61dtz4k6b for ; Wed, 19 Feb 2020 06:04:00 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [202.216.24.26]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id 01J63naa005208; Wed, 19 Feb 2020 15:03:49 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202002190603.01J63naa005208@kx.truefc.org> Date: Wed, 19 Feb 2020 15:03:49 +0900 From: KIRIYAMA Kazuhiko To: "freebsd-net@freebsd.org" Cc: kiri@truefc.org Subject: How to work with in 1GbE network ? User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 48MnGm61dtz4k6b X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 36.52.212.1) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [2.95 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[truefc.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.81)[0.809,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.12)[0.116,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:10013, ipnet:36.52.208.0/21, country:JP]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.12)[asn: 10013(0.58), country: JP(0.04)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Feb 2020 06:04:03 -0000 Hi, all I wonder how to work ixgbe in 1GbE network. I tried to test in below: internet | +-------+--------+ | Netgear JGS516 | +---+-----+------+ +----------------------+ | +---------+ 13.0-CURRENT(r356739)| src_host | +----------------------+ | +----------------------+ +----+ 13.0-CURRENT(r353025)| dest_host +----------------------+ And try to NFS mount dest_host in src_host, but mount does not work smoothly. It takes about 9 second !!! : # /usr/bin/time time* timeout* # /usr/bin/time -h mount -t nfs dest_host:/.dake /.dake 9.15s real 0.04s user 0.02s sys # nfsstat -m dest_host:/.dake on /.dake nfsv3,tcp,resvport,hard,cto,lockd,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=65536,readahead=1,wcommitsize=16777216,timeout=120,retrans=2 # /usr/bin/time -h umount /.dake 27.26s real 0.04s user 0.02s sys src_host to dest_host was set to mtu 9000: # route get dest_host route to: xxx.xxx.xxx.xxx.foo destination: xxx.xxx.xxx.xxx.foo mask: xxx.xxx.xxx.xxx fib: 0 interface: ix0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 9000 1 0 # What's wrong ? src_host environments are as follows: # uname -a FreeBSD src_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r356739M: Tue Jan 28 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 # ifconfig ix0 ix0: flags=8843 metric 0 mtu 9000 options=4e538bb ether 3c:ec:ef:01:a4:e0 inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 # sysctl -a|grep jumbo kern.ipc.nmbjumbo16: 680520 kern.ipc.nmbjumbo9: 1209814 kern.ipc.nmbjumbop: 4083125 vm.uma.mbuf_jumbo_16k.stats.xdomain: 0 vm.uma.mbuf_jumbo_16k.stats.fails: 0 vm.uma.mbuf_jumbo_16k.stats.frees: 0 vm.uma.mbuf_jumbo_16k.stats.allocs: 0 vm.uma.mbuf_jumbo_16k.stats.current: 0 vm.uma.mbuf_jumbo_16k.domain.0.wss: 0 vm.uma.mbuf_jumbo_16k.domain.0.imin: 0 vm.uma.mbuf_jumbo_16k.domain.0.imax: 0 vm.uma.mbuf_jumbo_16k.domain.0.nitems: 0 vm.uma.mbuf_jumbo_16k.limit.bucket_cnt: 0 vm.uma.mbuf_jumbo_16k.limit.bucket_max: 18446744073709551615 vm.uma.mbuf_jumbo_16k.limit.sleeps: 0 vm.uma.mbuf_jumbo_16k.limit.sleepers: 0 vm.uma.mbuf_jumbo_16k.limit.max_items: 680520 vm.uma.mbuf_jumbo_16k.limit.items: 0 vm.uma.mbuf_jumbo_16k.keg.domain.0.free: 0 vm.uma.mbuf_jumbo_16k.keg.domain.0.pages: 0 vm.uma.mbuf_jumbo_16k.keg.efficiency: 99 vm.uma.mbuf_jumbo_16k.keg.align: 7 vm.uma.mbuf_jumbo_16k.keg.ipers: 1 vm.uma.mbuf_jumbo_16k.keg.ppera: 4 vm.uma.mbuf_jumbo_16k.keg.rsize: 16384 vm.uma.mbuf_jumbo_16k.keg.name: mbuf_jumbo_16k vm.uma.mbuf_jumbo_16k.bucket_size_max: 253 vm.uma.mbuf_jumbo_16k.bucket_size: 253 vm.uma.mbuf_jumbo_16k.flags: 0x43a10000 vm.uma.mbuf_jumbo_16k.size: 16384 vm.uma.mbuf_jumbo_9k.stats.xdomain: 0 vm.uma.mbuf_jumbo_9k.stats.fails: 0 vm.uma.mbuf_jumbo_9k.stats.frees: 0 vm.uma.mbuf_jumbo_9k.stats.allocs: 0 vm.uma.mbuf_jumbo_9k.stats.current: 0 vm.uma.mbuf_jumbo_9k.domain.0.wss: 0 vm.uma.mbuf_jumbo_9k.domain.0.imin: 0 vm.uma.mbuf_jumbo_9k.domain.0.imax: 0 vm.uma.mbuf_jumbo_9k.domain.0.nitems: 0 vm.uma.mbuf_jumbo_9k.limit.bucket_cnt: 0 vm.uma.mbuf_jumbo_9k.limit.bucket_max: 18446744073709551615 vm.uma.mbuf_jumbo_9k.limit.sleeps: 0 vm.uma.mbuf_jumbo_9k.limit.sleepers: 0 vm.uma.mbuf_jumbo_9k.limit.max_items: 1209814 vm.uma.mbuf_jumbo_9k.limit.items: 0 vm.uma.mbuf_jumbo_9k.keg.domain.0.free: 0 vm.uma.mbuf_jumbo_9k.keg.domain.0.pages: 0 vm.uma.mbuf_jumbo_9k.keg.efficiency: 75 vm.uma.mbuf_jumbo_9k.keg.align: 7 vm.uma.mbuf_jumbo_9k.keg.ipers: 1 vm.uma.mbuf_jumbo_9k.keg.ppera: 3 vm.uma.mbuf_jumbo_9k.keg.rsize: 9216 vm.uma.mbuf_jumbo_9k.keg.name: mbuf_jumbo_9k vm.uma.mbuf_jumbo_9k.bucket_size_max: 253 vm.uma.mbuf_jumbo_9k.bucket_size: 253 vm.uma.mbuf_jumbo_9k.flags: 0x43010000 vm.uma.mbuf_jumbo_9k.size: 9216 vm.uma.mbuf_jumbo_page.stats.xdomain: 0 vm.uma.mbuf_jumbo_page.stats.fails: 0 vm.uma.mbuf_jumbo_page.stats.frees: 2199 vm.uma.mbuf_jumbo_page.stats.allocs: 67734 vm.uma.mbuf_jumbo_page.stats.current: 65535 vm.uma.mbuf_jumbo_page.domain.0.wss: 0 vm.uma.mbuf_jumbo_page.domain.0.imin: 0 vm.uma.mbuf_jumbo_page.domain.0.imax: 0 vm.uma.mbuf_jumbo_page.domain.0.nitems: 0 vm.uma.mbuf_jumbo_page.limit.bucket_cnt: 0 vm.uma.mbuf_jumbo_page.limit.bucket_max: 18446744073709551615 vm.uma.mbuf_jumbo_page.limit.sleeps: 0 vm.uma.mbuf_jumbo_page.limit.sleepers: 0 vm.uma.mbuf_jumbo_page.limit.max_items: 4083125 vm.uma.mbuf_jumbo_page.limit.items: 67298 vm.uma.mbuf_jumbo_page.keg.domain.0.free: 0 vm.uma.mbuf_jumbo_page.keg.domain.0.pages: 67298 vm.uma.mbuf_jumbo_page.keg.efficiency: 97 vm.uma.mbuf_jumbo_page.keg.align: 7 vm.uma.mbuf_jumbo_page.keg.ipers: 1 vm.uma.mbuf_jumbo_page.keg.ppera: 1 vm.uma.mbuf_jumbo_page.keg.rsize: 4096 vm.uma.mbuf_jumbo_page.keg.name: mbuf_jumbo_page vm.uma.mbuf_jumbo_page.bucket_size_max: 253 vm.uma.mbuf_jumbo_page.bucket_size: 253 vm.uma.mbuf_jumbo_page.flags: 0x43a10000 vm.uma.mbuf_jumbo_page.size: 4096 # sysctl -a | grep nmbclusters kern.ipc.nmbclusters: 8166250 # sysctl -a | grep intr_storm_threshold hw.intr_storm_threshold: 0 # and dest_host environments are as follows: # uname -a FreeBSD dest_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353025: Thu Oct 3 19:38:47 JST 2019 admin@dest_host:/ds/obj/current/13.0/r353025/ds/src/current/13.0/r353025/amd64.amd64/sys/GENERIC amd64 # ifconfig igb0 igb0: flags=8943 metric 0 mtu 9000 options=4a520b9 ether 0c:c4:7a:b3:cf:d4 inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 # sysctl -a|grep jumbo kern.ipc.nmbjumbo16: 339123 kern.ipc.nmbjumbo9: 602886 kern.ipc.nmbjumbop: 2034741 # sysctl -a | grep nmbclusters kern.ipc.nmbclusters: 4069482 # sysctl -a | grep intr_storm_threshold hw.intr_storm_threshold: 0 # Best regards --- Kazuhiko Kiriyama From owner-freebsd-net@freebsd.org Wed Feb 19 06:33:51 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F94C250C15 for ; Wed, 19 Feb 2020 06:33:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48MnxB6whmz43NF for ; Wed, 19 Feb 2020 06:33:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CBE0D250C14; Wed, 19 Feb 2020 06:33:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8C94250C13 for ; Wed, 19 Feb 2020 06:33:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MnxB3nmVz43Mx for ; Wed, 19 Feb 2020 06:33:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 604CB4BE8 for ; Wed, 19 Feb 2020 06:33:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01J6XoVi005065 for ; Wed, 19 Feb 2020 06:33:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01J6XoUI005064 for net@FreeBSD.org; Wed, 19 Feb 2020 06:33:50 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 208205] re0 watchdog timeout Date: Wed, 19 Feb 2020 06:33:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ralf.wostrack@gmx.de 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 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.29 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, 19 Feb 2020 06:33:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208205 Ralf Wostrack changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ralf.wostrack@gmx.de --- Comment #32 from Ralf Wostrack --- Hi, starting from version 12.0, i facing this issue on my mini-itx server. Hardware Info: re0@pci0:3:0:0: class=3D0x020000 card=3D0xe0001458 chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet re1@pci0:4:0:0: class=3D0x020000 card=3D0xe0001458 chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet I solved it, by commenting out re_txeof in re_tick function in if_re.c. In my oppinion its a timing issue during high load situtations, blocking the interrupt/dma of the device. And of course the job is done by watchdog function after 5 timer ticks. static void re_tick(void *xsc) { struct rl_softc *sc; struct mii_data *mii; sc =3D xsc; RL_LOCK_ASSERT(sc); mii =3D device_get_softc(sc->rl_miibus); mii_tick(mii); if ((sc->rl_flags & RL_FLAG_LINK) =3D=3D 0) re_miibus_statchg(sc->rl_dev); /* * Reclaim transmitted frames here. Technically it is not * necessary to do here but it ensures periodic reclamation * regardless of Tx completion interrupt which seems to be * lost on PCIe based controllers under certain situations. */ // re_txeof(sc); re_watchdog(sc); callout_reset(&sc->rl_stat_callout, hz, re_tick, sc); } --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 19 11:26:41 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D31425673D for ; Wed, 19 Feb 2020 11:26:41 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MwR44fDbz4fns; Wed, 19 Feb 2020 11:26:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 5740780A7; Wed, 19 Feb 2020 11:26:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 44A363607AF; Wed, 19 Feb 2020 11:26:40 +0000 (UTC) Date: Wed, 19 Feb 2020 11:26:40 +0000 To: Phabricator From: "ae (Andrey V. Elsukov)" Cc: freebsd-net@freebsd.org Reply-to: "ae (Andrey V. Elsukov)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: <449bb5794f1b941e163f5e78b69f17cc@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 1829476 X-Phabricator-Send-Attempt: hlbefqxxm5uaph6f In-Reply-To: References: Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRlIF5NG3A= X-Phabricator-Stamps: actor(@ae) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) mention(@neel_neelc.org) monogram(D23737) object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) reviewer(@ae) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2020 11:26:41 -0000 YWUgYWRkZWQgYSBjb21tZW50LgoKCiAgSW4gRDIzNzM3IzUyMTU5MyA8aHR0cHM6Ly9yZXZpZXdz LmZyZWVic2Qub3JnL0QyMzczNyM1MjE1OTM+LCBAbmVlbF9uZWVsYy5vcmcgd3JvdGU6CiAgCiAg PiBIZXJlLCBJIGFsc28gY29tcGFyZSB0aGUgZGVzdGluYXRpb24gYWRkcmVzc2VzLiBJcyB0aGlz IHdoYXQgeW91IHdhbnQ/CiAgCiAgTm8sIHRha2UgYSBsb29rIGF0IFJGQyA2MDUyIHAyLjIuIDxo dHRwczovL3Rvb2xzLmlldGYub3JnL2h0bWwvcmZjNjA1MiNzZWN0aW9uLTIuMj4uCgpSRVBPU0lU T1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIEFDVElP TgogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3MzcvbmV3LwoKUkVWSVNJT04gREVU QUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMzczNwoKRU1BSUwgUFJFRkVSRU5D RVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVm ZXJlbmNlcy8KClRvOiBuZWVsX25lZWxjLm9yZywgYWUKQ2M6IGltcCwgYWUsIG1lbGlmYXJvLCAj Y29udHJpYnV0b3JfcmV2aWV3c19iYXNlLCBmcmVlYnNkLW5ldC1saXN0LCBtbWFjeSwga3ByYXZl ZW4ubGttbF9nbWFpbC5jb20sIG1hcmNuYXJjX2dtYWlsLmNvbSwgc2ltb252ZWxsYV9nbWFpbC5j b20sIG5vdmljZV90ZWNoaWUuY29tLCB0b21taS5wZXJuaWxhX2lraS5maQo= From owner-freebsd-net@freebsd.org Wed Feb 19 11:28:40 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06357256806 for ; Wed, 19 Feb 2020 11:28:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48MwTM4dFRz3DXV; Wed, 19 Feb 2020 11:28:39 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id A8F9F80B4; Wed, 19 Feb 2020 11:28:38 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id A70CC360B41; Wed, 19 Feb 2020 11:28:38 +0000 (UTC) Date: Wed, 19 Feb 2020 11:28:38 +0000 To: Phabricator From: "ae (Andrey V. Elsukov)" Cc: freebsd-net@freebsd.org Reply-to: "ae (Andrey V. Elsukov)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: <57bdb230efc9e300895c2c511cf7a30a@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 1829493 X-Phabricator-Send-Attempt: tymdcrbh5ezkarnt In-Reply-To: References: Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRlIF5NG+Y= X-Phabricator-Stamps: actor(@ae) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23737) object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) reviewer(@ae) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2020 11:28:40 -0000 YWUgYWRkZWQgYSBjb21tZW50LgoKCiAgQWxzbywgaG93IGRpZCB0ZXN0IHlvdXIgY2hhbmdlcz8g OikKICBOQVQ2NCBjdXJyZW50bHkgaXMgbm90IHdpZGVseSB1c2VkLCB0aHVzIGNoYW5nZXMgaGVy ZSBjYW4gYnJlYWsgc29tZXRoaW5nICBhbmQgeW91IHdpbGwga25vdyBhYm91dCBicmVha2FnZSB3 aGVuIGl0IHdpbGwgYmUgbm90IHNvIGVhc3kgdG8gZml4LCBlLmcuIGFmdGVyIHJlbGVhc2UuCgpS RVBPU0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNU IEFDVElPTgogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3MzcvbmV3LwoKUkVWSVNJ T04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMzczNwoKRU1BSUwgUFJF RkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1h aWxwcmVmZXJlbmNlcy8KClRvOiBuZWVsX25lZWxjLm9yZywgYWUKQ2M6IGltcCwgYWUsIG1lbGlm YXJvLCAjY29udHJpYnV0b3JfcmV2aWV3c19iYXNlLCBmcmVlYnNkLW5ldC1saXN0LCBtbWFjeSwg a3ByYXZlZW4ubGttbF9nbWFpbC5jb20sIG1hcmNuYXJjX2dtYWlsLmNvbSwgc2ltb252ZWxsYV9n bWFpbC5jb20sIG5vdmljZV90ZWNoaWUuY29tLCB0b21taS5wZXJuaWxhX2lraS5maQo= From owner-freebsd-net@freebsd.org Wed Feb 19 13:17:32 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A559C239C35 for ; Wed, 19 Feb 2020 13:17:32 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Myty581hz4Z8v; Wed, 19 Feb 2020 13:17:30 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf1-f46.google.com with SMTP id c23so66821lfi.7; Wed, 19 Feb 2020 05:17:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=qaQLf3T1j8bTI9yoi9IaXZpDuNffRuVPHP8Q66SyAMU=; b=d5GB43v1UH8kz5Sw/YYUPuam1eWfaN4pQAjI6W1AvfTNOzkMz13X+NUGmwKqjzDUeH efizvDSdH7dBErReGXP+8yDJKixclFryz3J+AY0CVvwAIAX58ityiG5xU3tWV8+rzI03 ZfcOlILcIspmBQOTahz5RqProWTXPinWbFxBl/zZeDxEK1n1hNxDUgJSeNglnKCuAW2I UPZIyHnLF8s++OW+7eEUaKkFNyorFpo9EPs0MCC+9BswoGEGEEiR6cGCMt1W+UtHdOiZ Tye7ZhkcSksqhBmzDc94ErpQgGEEjOU9ClAtqbwnnaaXkZWvZ1Xu5Zlq64UXxw7xUlaA CAtg== X-Gm-Message-State: APjAAAUzIGiDDjVymnB1J6EGkeu9RvIv9hkBsbGPVQCiPT58zZFr3tfi 1K/GK/EJkH4/q/JwN3+laZLtAOo+W9I= X-Google-Smtp-Source: APXvYqz7zy/KbxC0zM0XEnozmGPsFKw9C0N9d5XFyvqvXKhtNfWsdeXk87CNRxIuDunysADBJVCW/A== X-Received: by 2002:a19:f608:: with SMTP id x8mr13338303lfe.115.1582118248201; Wed, 19 Feb 2020 05:17:28 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id n11sm1203860ljg.15.2020.02.19.05.17.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Feb 2020 05:17:27 -0800 (PST) Subject: Re: terrible if_vmx / vmxnet3 rx performance with lro (post iflib) From: Andriy Gapon To: freebsd-net Cc: Patrick Kelsey , Josh Paetzel References: <40c4a4df-3df6-d95d-53c2-eef905ff45b1@FreeBSD.org> Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFm4LIgBEADNB/3lT7f15UKeQ52xCFQx/GqHkSxEdVyLFZTmY3KyNPQGBtyvVyBfprJ7 mAeXZWfhat6cKNRAGZcL5EmewdQuUfQfBdYmKjbw3a9GFDsDNuhDA2QwFt8BmkiVMRYyvI7l N0eVzszWCUgdc3qqM6qqcgBaqsVmJluwpvwp4ZBXmch5BgDDDb1MPO8AZ2QZfIQmplkj8Y6Z AiNMknkmgaekIINSJX8IzRzKD5WwMsin70psE8dpL/iBsA2cpJGzWMObVTtCxeDKlBCNqM1i gTXta1ukdUT7JgLEFZk9ceYQQMJJtUwzWu1UHfZn0Fs29HTqawfWPSZVbulbrnu5q55R4PlQ /xURkWQUTyDpqUvb4JK371zhepXiXDwrrpnyyZABm3SFLkk2bHlheeKU6Yql4pcmSVym1AS4 dV8y0oHAfdlSCF6tpOPf2+K9nW1CFA8b/tw4oJBTtfZ1kxXOMdyZU5fiG7xb1qDgpQKgHUX8 7Rd2T1UVLVeuhYlXNw2F+a2ucY+cMoqz3LtpksUiBppJhw099gEXehcN2JbUZ2TueJdt1FdS ztnZmsHUXLxrRBtGwqnFL7GSd6snpGIKuuL305iaOGODbb9c7ne1JqBbkw1wh8ci6vvwGlzx rexzimRaBzJxlkjNfMx8WpCvYebGMydNoeEtkWldtjTNVsUAtQARAQABtB5BbmRyaXkgR2Fw b24gPGF2Z0BGcmVlQlNELm9yZz6JAlQEEwEIAD4WIQS+LEO7ngQnXA4Bjr538m7TUc1yjwUC WbgsiAIbIwUJBaOagAULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRB38m7TUc1yj+JAEACV l9AK/nOWAt/9cufV2fRj0hdOqB1aCshtSrwHk/exXsDa4/FkmegxXQGY+3GWX3deIyesbVRL rYdtdK0dqJyT1SBqXK1h3/at9rxr9GQA6KWOxTjUFURsU7ok/6SIlm8uLRPNKO+yq0GDjgaO LzN+xykuBA0FlhQAXJnpZLcVfPJdWv7sSHGedL5ln8P8rxR+XnmsA5TUaaPcbhTB+mG+iKFj GghASDSfGqLWFPBlX/fpXikBDZ1gvOr8nyMY9nXhgfXpq3B6QCRYKPy58ChrZ5weeJZ29b7/ QdEO8NFNWHjSD9meiLdWQaqo9Y7uUxN3wySc/YUZxtS0bhAd8zJdNPsJYG8sXgKjeBQMVGuT eCAJFEYJqbwWvIXMfVWop4+O4xB+z2YE3jAbG/9tB/GSnQdVSj3G8MS80iLS58frnt+RSEw/ psahrfh0dh6SFHttE049xYiC+cM8J27Aaf0i9RflyITq57NuJm+AHJoU9SQUkIF0nc6lfA+o JRiyRlHZHKoRQkIg4aiKaZSWjQYRl5Txl0IZUP1dSWMX4s3XTMurC/pnja45dge/4ESOtJ9R 8XuIWg45Oq6MeIWdjKddGhRj3OohsltKgkEU3eLKYtB6qRTQypHHUawCXz88uYt5e3w4V16H lCpSTZV/EVHnNe45FVBlvK7k7HFfDDkryLkCDQRZuCyIARAAlq0slcsVboY/+IUJdcbEiJRW be9HKVz4SUchq0z9MZPX/0dcnvz/gkyYA+OuM78dNS7Mbby5dTvOqfpLJfCuhaNYOhlE0wY+ 1T6Tf1f4c/uA3U/YiadukQ3+6TJuYGAdRZD5EqYFIkreARTVWg87N9g0fT9BEqLw9lJtEGDY EWUE7L++B8o4uu3LQFEYxcrb4K/WKmgtmFcm77s0IKDrfcX4doV92QTIpLiRxcOmCC/OCYuO jB1oaaqXQzZrCutXRK0L5XN1Y1PYjIrEzHMIXmCDlLYnpFkK+itlXwlE2ZQxkfMruCWdQXye syl2fynAe8hvp7Mms9qU2r2K9EcJiR5N1t1C2/kTKNUhcRv7Yd/vwusK7BqJbhlng5ZgRx0m WxdntU/JLEntz3QBsBsWM9Y9wf2V4tLv6/DuDBta781RsCB/UrU2zNuOEkSixlUiHxw1dccI 6CVlaWkkJBxmHX22GdDFrcjvwMNIbbyfQLuBq6IOh8nvu9vuItup7qemDG3Ms6TVwA7BD3j+ 3fGprtyW8Fd/RR2bW2+LWkMrqHffAr6Y6V3h5kd2G9Q8ZWpEJk+LG6Mk3fhZhmCnHhDu6CwN MeUvxXDVO+fqc3JjFm5OxhmfVeJKrbCEUJyM8ESWLoNHLqjywdZga4Q7P12g8DUQ1mRxYg/L HgZY3zfKOqcAEQEAAYkCPAQYAQgAJhYhBL4sQ7ueBCdcDgGOvnfybtNRzXKPBQJZuCyIAhsM BQkFo5qAAAoJEHfybtNRzXKPBVwQAKfFy9P7N3OsLDMB56A4Kf+ZT+d5cIx0Yiaf4n6w7m3i ImHHHk9FIetI4Xe54a2IXh4Bq5UkAGY0667eIs+Z1Ea6I2i27Sdo7DxGwq09Qnm/Y65ADvXs 3aBvokCcm7FsM1wky395m8xUos1681oV5oxgqeRI8/76qy0hD9WR65UW+HQgZRIcIjSel9vR XDaD2HLGPTTGr7u4v00UeTMs6qvPsa2PJagogrKY8RXdFtXvweQFz78NbXhluwix2Tb9ETPk LIpDrtzV73CaE2aqBG/KrboXT2C67BgFtnk7T7Y7iKq4/XvEdDWscz2wws91BOXuMMd4c/c4 OmGW9m3RBLufFrOag1q5yUS9QbFfyqL6dftJP3Zq/xe+mr7sbWbhPVCQFrH3r26mpmy841ym dwQnNcsbIGiBASBSKksOvIDYKa2Wy8htPmWFTEOPRpFXdGQ27awcjjnB42nngyCK5ukZDHi6 w0qK5DNQQCkiweevCIC6wc3p67jl1EMFY5+z+zdTPb3h7LeVnGqW0qBQl99vVFgzLxchKcl0 R/paSFgwqXCZhAKMuUHncJuynDOP7z5LirUeFI8qsBAJi1rXpQoLJTVcW72swZ42IdPiboqx NbTMiNOiE36GqMcTPfKylCbF45JNX4nF9ElM0E+Y8gi4cizJYBRr2FBJgay0b9Cp Message-ID: <5e5d423b-0711-7454-626a-cc9cb4b004cd@FreeBSD.org> Date: Wed, 19 Feb 2020 15:17:26 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <40c4a4df-3df6-d95d-53c2-eef905ff45b1@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48Myty581hz4Z8v X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.167.46 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-3.04 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.04)[ip: (-0.46), ipnet: 209.85.128.0/17(-3.00), asn: 15169(-1.68), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[46.167.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[46.167.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[96.151.72.93.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Feb 2020 13:17:32 -0000 On 18/02/2020 16:09, Andriy Gapon wrote: > My general experience with post-iflib vmxnet3 is that vmxnet3 has some > peculiarities that result in a certain "impedance mismatch" with iflib. > Although we now have a bit less code and it is a bit more regular, there are a > few significant (for us, at least) problems: > - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243126 > - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240608 By the way, we (Panzura) use these changes to fix or work around the above two problems: https://people.freebsd.org/~avg/iflib-vmx.pz.diff Questions / comments are welcome. Especially from people who worked on iflib. > - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243392 > - the problem described above > - a couple of issues that we already fixed or worked around > > We are contemplating locally reverting to the pre-iflib vmxnet3 and we are > wondering if the conversion was really worth it in general. -- Andriy Gapon From owner-freebsd-net@freebsd.org Wed Feb 19 16:32:20 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4E6323F4A5 for ; Wed, 19 Feb 2020 16:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48N3Cm5M8mz4Tp2 for ; Wed, 19 Feb 2020 16:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B218323F49C; Wed, 19 Feb 2020 16:32:20 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1CC623F499 for ; Wed, 19 Feb 2020 16:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48N3Cm3Z14z4TnW for ; Wed, 19 Feb 2020 16:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6C4F9B91A for ; Wed, 19 Feb 2020 16:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01JGWKBU009447 for ; Wed, 19 Feb 2020 16:32:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01JGWKtR009435 for net@FreeBSD.org; Wed, 19 Feb 2020 16:32: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 208205] re0 watchdog timeout Date: Wed, 19 Feb 2020 16:32: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: 11.1-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com 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 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.29 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, 19 Feb 2020 16:32:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208205 Chris Hutchinson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |portmaster@bsdforge.com --- Comment #33 from Chris Hutchinson --- FWIW we ran into this problem when we opted to become a public CPAN mirror (perl.org). Which necessitated adding 2 more ports, and delegating 2 additional addresses. We used a 2 port RealTek adapter. About an hour into going live. The watchdog(8) timeouts began spamming the logs. The solution was to bump 2 entries in sysctl.conf(5): kern.ipc.nmbjumbop (245550 by default) and kern.ipc.nmbclusters (491100 by default) as in FreeBSD 11, these numbers are too small -- at least for these NICs. How high you bump them depends upon the load and traffic on your NICs. As a rule of thumb I would suggest bumping them up a quarter of their original values until watchdog shuts up. All the while accessing any performance changes. We're now on 12, and moving to 13 shortly. 12 did NOT exhibit this problem, because the numbers are much higher by default. HTH --Chris --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 19 16:33:11 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 458BA23F5B4 for ; Wed, 19 Feb 2020 16:33:11 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48N3Dl0fTtz4WKQ; Wed, 19 Feb 2020 16:33:11 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id DB881B948; Wed, 19 Feb 2020 16:33:10 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id DA9B6362BDC; Wed, 19 Feb 2020 16:33:10 +0000 (UTC) Date: Wed, 19 Feb 2020 16:33:10 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23737: nat64: Get the IPv4 address from a NAT64 address when comparing addresses in a ICMP translate Message-ID: <85fbe0e7db6a779f9e3862df7cba8cd4@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-s3egeuka5skf4yqccitk X-Phabricator-Mail-ID: 1829715 X-Phabricator-Send-Attempt: btnamkxjvo52jqej In-Reply-To: References: Thread-Index: ZGNhNGQ4ODE2YjFiYzZhMmM0Yjg2OTUxOGRlIF5NY0Y= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23737) object-type(DREV) phid(PHID-DREV-s3egeuka5skf4yqccitk) reviewer(@ae) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_85fbe0e7db6a779f9e3862df7cba8cd4" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2020 16:33:11 -0000 --b1_85fbe0e7db6a779f9e3862df7cba8cd4 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 bmVlbF9uZWVsYy5vcmcgdXBkYXRlZCB0aGlzIHJldmlzaW9uIHRvIERpZmYgNjg1NDUuCm5lZWxf bmVlbGMub3JnIGFkZGVkIGEgY29tbWVudC4KCgogIEkgZGVjaWRlZCB0byB1c2UgdGhlIGV4aXN0 aW5nIGZ1bmN0aW9uIG5hdDY0X2V4dHJhY3RfaXA0KCkgdG8gZXh0cmFjdCB0aGUgSVB2NCBhbmQg cmVtb3ZlZCBteSBuYXQ2NF9nZXRfaXA0KCkuCiAgCiAgSSdtIG5ldyB0byB0aGUgRnJlZUJTRCBU Q1AvSVAgc3RhY2ssIHNvcnJ5LgoKUkVQT1NJVE9SWQogIHJTIEZyZWVCU0Qgc3JjIHJlcG9zaXRv cnkKCkNIQU5HRVMgU0lOQ0UgTEFTVCBVUERBVEUKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5v cmcvRDIzNzM3P3ZzPTY4NDg5JmlkPTY4NTQ1CgpDSEFOR0VTIFNJTkNFIExBU1QgQUNUSU9OCiAg aHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMzczNy9uZXcvCgpSRVZJU0lPTiBERVRBSUwK ICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDIzNzM3CgpBRkZFQ1RFRCBGSUxFUwogIHN5 cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMKCkNIQU5HRSBERVRBSUxTCgpk aWZmIC0tZ2l0IGEvc3lzL25ldHBmaWwvaXBmdy9uYXQ2NC9uYXQ2NF90cmFuc2xhdGUuYyBiL3N5 cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMKLS0tIGEvc3lzL25ldHBmaWwv aXBmdy9uYXQ2NC9uYXQ2NF90cmFuc2xhdGUuYworKysgYi9zeXMvbmV0cGZpbC9pcGZ3L25hdDY0 L25hdDY0X3RyYW5zbGF0ZS5jCkBAIC0xMDYxLDE5ICsxMDYxLDE2IEBACiAJCSAgICBtLT5tX3Br dGhkci5sZW4pOwogCQlnb3RvIGZyZWVpdDsKIAl9Ci0jaWYgMAogCS8qCiAJICogQ2hlY2sgdGhh dCBpbm5lciBzb3VyY2UgbWF0Y2hlcyB0aGUgb3V0ZXIgZGVzdGluYXRpb24uCi0JICogWFhYOiBX ZSBuZWVkIHNvbWUgbWV0aG9kIHRvIGNvbnZlcnQgSVB2NCBpbnRvIElQdjYgYWRkcmVzcyBoZXJl LAotCSAqCWFuZCBjb21wYXJlIElQdjYgYWRkcmVzc2VzLgogCSAqLwotCWlmIChpcC5pcF9zcmMu c19hZGRyICE9IG5hdDY0X2dldF9pcDQoJmlwNi0+aXA2X2RzdCkpIHsKLQkJRFBSSU5URihEUF9H RU5FUklDLCAiSW5uZXIgc291cmNlIGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb24gIiwKKwlpZiAo aXAuaXBfc3JjLnNfYWRkciAhPQorCSAgICBuYXQ2NF9leHRyYWN0X2lwNCgmaXA2LT5pcDZfZHN0 LCBjZmctPnBsYXRfcGxlbikpIHsKKwkJRFBSSU5URihEUF9HRU5FUklDLCAiSW5uZXIgc291cmNl IGRvZXNuJ3QgbWF0Y2ggZGVzdGluYXRpb246ICIKIAkJICAgICIlMDR4IHZzICUwNHgiLCBpcC5p cF9zcmMuc19hZGRyLAotCQkgICAgbmF0NjRfZ2V0X2lwNCgmaXA2LT5pcDZfZHN0KSk7CisJCSAg ICBuYXQ2NF9leHRyYWN0X2lwNCgmaXA2LT5pcDZfZHN0LCBjZmctPnBsYXRfcGxlbikpOwogCQln b3RvIGZyZWVpdDsKIAl9Ci0jZW5kaWYKIAkvKgogCSAqIENyZWF0ZSBuZXcgbWJ1ZiBmb3IgSUNN UHY2IGRhdGFncmFtLgogCSAqIE5PVEU6IGxlbiBpcyBkYXRhIGxlbmd0aCBqdXN0IGFmdGVyIGlu bmVyIElQIGhlYWRlci4KCgoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJl ZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBuZWVsX25lZWxj Lm9yZywgYWUKQ2M6IGltcCwgYWUsIG1lbGlmYXJvLCAjY29udHJpYnV0b3JfcmV2aWV3c19iYXNl LCBmcmVlYnNkLW5ldC1saXN0LCBtbWFjeSwga3ByYXZlZW4ubGttbF9nbWFpbC5jb20sIG1hcmNu YXJjX2dtYWlsLmNvbSwgc2ltb252ZWxsYV9nbWFpbC5jb20sIG5vdmljZV90ZWNoaWUuY29tLCB0 b21taS5wZXJuaWxhX2lraS5maQo= --b1_85fbe0e7db6a779f9e3862df7cba8cd4 Content-Type: text/x-patch; charset=utf-8; name="D23737.68545.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D23737.68545.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMgYi9z eXMvbmV0cGZpbC9pcGZ3L25hdDY0L25hdDY0X3RyYW5zbGF0ZS5jCi0tLSBhL3N5cy9uZXRwZmls L2lwZncvbmF0NjQvbmF0NjRfdHJhbnNsYXRlLmMKKysrIGIvc3lzL25ldHBmaWwvaXBmdy9uYXQ2 NC9uYXQ2NF90cmFuc2xhdGUuYwpAQCAtMTA2MSwxOSArMTA2MSwxNiBAQAogCQkgICAgbS0+bV9w a3RoZHIubGVuKTsKIAkJZ290byBmcmVlaXQ7CiAJfQotI2lmIDAKIAkvKgogCSAqIENoZWNrIHRo YXQgaW5uZXIgc291cmNlIG1hdGNoZXMgdGhlIG91dGVyIGRlc3RpbmF0aW9uLgotCSAqIFhYWDog V2UgbmVlZCBzb21lIG1ldGhvZCB0byBjb252ZXJ0IElQdjQgaW50byBJUHY2IGFkZHJlc3MgaGVy ZSwKLQkgKglhbmQgY29tcGFyZSBJUHY2IGFkZHJlc3Nlcy4KIAkgKi8KLQlpZiAoaXAuaXBfc3Jj LnNfYWRkciAhPSBuYXQ2NF9nZXRfaXA0KCZpcDYtPmlwNl9kc3QpKSB7Ci0JCURQUklOVEYoRFBf R0VORVJJQywgIklubmVyIHNvdXJjZSBkb2Vzbid0IG1hdGNoIGRlc3RpbmF0aW9uICIsCisJaWYg KGlwLmlwX3NyYy5zX2FkZHIgIT0KKwkgICAgbmF0NjRfZXh0cmFjdF9pcDQoJmlwNi0+aXA2X2Rz dCwgY2ZnLT5wbGF0X3BsZW4pKSB7CisJCURQUklOVEYoRFBfR0VORVJJQywgIklubmVyIHNvdXJj ZSBkb2Vzbid0IG1hdGNoIGRlc3RpbmF0aW9uOiAiCiAJCSAgICAiJTA0eCB2cyAlMDR4IiwgaXAu aXBfc3JjLnNfYWRkciwKLQkJICAgIG5hdDY0X2dldF9pcDQoJmlwNi0+aXA2X2RzdCkpOworCQkg ICAgbmF0NjRfZXh0cmFjdF9pcDQoJmlwNi0+aXA2X2RzdCwgY2ZnLT5wbGF0X3BsZW4pKTsKIAkJ Z290byBmcmVlaXQ7CiAJfQotI2VuZGlmCiAJLyoKIAkgKiBDcmVhdGUgbmV3IG1idWYgZm9yIElD TVB2NiBkYXRhZ3JhbS4KIAkgKiBOT1RFOiBsZW4gaXMgZGF0YSBsZW5ndGgganVzdCBhZnRlciBp bm5lciBJUCBoZWFkZXIuCgo= --b1_85fbe0e7db6a779f9e3862df7cba8cd4-- From owner-freebsd-net@freebsd.org Wed Feb 19 21:16:48 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 53CFD2456D5 for ; Wed, 19 Feb 2020 21:16:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48N9X00tg1z3NxB for ; Wed, 19 Feb 2020 21:16:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1C7042456D4; Wed, 19 Feb 2020 21:16:48 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C3412456D3 for ; Wed, 19 Feb 2020 21:16:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48N9Wz5l7Qz3Nx4 for ; Wed, 19 Feb 2020 21:16:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D3F6EFA6 for ; Wed, 19 Feb 2020 21:16:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01JLGlYB055196 for ; Wed, 19 Feb 2020 21:16:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01JLGlaN055187 for net@FreeBSD.org; Wed, 19 Feb 2020 21:16:47 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 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph Date: Wed, 19 Feb 2020 21:16:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua 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.29 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, 19 Feb 2020 21:16:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #4 from Vladislav V. Prodan --- In FreeBSD 12.1, after adding 300 vlans, the memory runs out to display the `ngctl list`. # ngctl list ngctl: send msg: No buffer space available # netstat -m 4220/1100/5320 mbufs in use (current/cache/total) 4103/504/4607/62482 mbuf clusters in use (current/cache/total/max) 10/496 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/62482 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/18513 9k jumbo clusters in use (current/cache/total/max) 0/0/0/10413 16k jumbo clusters in use (current/cache/total/max) 18522K/2566K/21088K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 sendfile syscalls 0 sendfile syscalls completed without I/O request 0 requests for I/O initiated by sendfile 0 pages read by sendfile as part of a request 0 pages were valid at time of a sendfile request 0 pages were valid and substituted to bogus page 0 pages were requested for read ahead by applications 0 pages were read ahead by sendfile 0 times sendfile encountered an already busy page 0 requests for sfbufs denied 0 requests for sfbufs delayed # sysctl net.graph.recvspace net.graph.maxdgram kern.ipc.nmbclusters net.graph.recvspace: 20480 net.graph.maxdgram: 20480 kern.ipc.nmbclusters: 62482 # ngctl msg em2:lower gettable ... { hook=3D"vlan386" vlan=3D386 vid=3D386 } { hook=3D"vlan387" vlan=3D387 vi= d=3D387 } { hook=3D"vlan388" vlan=3D388 vid=3D388 } { hook=3D"vlan389" vlan=3D389 vid= =3D389 } { hook=3D"vlan390" vlan=3D390 vid=3D390 } { hook=3D"vlan391" vlan=3D391 vid= =3D391 } { hook=3D"vlan392" vlan=3D392 vid=3D392 } { hook=3D"vlan393" vlan=3D393 vid= =3D393 } { hook=3D"vlan394" vlan=3D394 vid=3D394 } { hook=3D"vlan395" vlan=3D395 vid= =3D395 } { hook=3D"vlan396" vlan=3D396 vid=3D396 } { hook=3D"vlan397" vlan=3D397 vid= =3D397 } { hook=3D"vlan398" vlan=3D398 vid=3D398 } { hook=3D"vlan399" vlan=3D399 vid= =3D399 } ] } --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 19 21:27:34 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2AA5F245976 for ; Wed, 19 Feb 2020 21:27:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48N9mQ0FCzz4G45 for ; Wed, 19 Feb 2020 21:27:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 04117245975; Wed, 19 Feb 2020 21:27:34 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 03C56245974 for ; Wed, 19 Feb 2020 21:27:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48N9mP5rwZz4G3j for ; Wed, 19 Feb 2020 21:27:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC560F199 for ; Wed, 19 Feb 2020 21:27:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01JLRX2T015725 for ; Wed, 19 Feb 2020 21:27:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01JLRX4w015718 for net@FreeBSD.org; Wed, 19 Feb 2020 21:27: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 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph Date: Wed, 19 Feb 2020 21:27:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua 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: version 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.29 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, 19 Feb 2020 21:27:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 Vladislav V. Prodan changed: What |Removed |Added ---------------------------------------------------------------------------- Version|10.0-STABLE |12.1-STABLE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 19 21:37:35 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE19F2460F4 for ; Wed, 19 Feb 2020 21:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48N9zz5CMsz4TPT for ; Wed, 19 Feb 2020 21:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AF71E2460F2; Wed, 19 Feb 2020 21:37:35 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ADECF2460EC for ; Wed, 19 Feb 2020 21:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48N9zy1d07z4TPD for ; Wed, 19 Feb 2020 21:37:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 189DCF377 for ; Wed, 19 Feb 2020 21:37:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01JLbXcl069285 for ; Wed, 19 Feb 2020 21:37:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01JLbXip069284 for net@FreeBSD.org; Wed, 19 Feb 2020 21:37: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 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph Date: Wed, 19 Feb 2020 21:37:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua 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.29 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, 19 Feb 2020 21:37:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #5 from Vladislav V. Prodan --- I also show DHclient errors: ... Feb 20 01:15:12 core dhclient[22934]: ngeth298: not found Feb 20 01:15:12 core dhclient[22934]: exiting. Feb 20 01:15:12 core root[22937]: /etc/rc.d/dhclient: WARNING: failed to st= art dhclient Feb 20 01:15:14 core dhclient[23001]: ngeth298: not found Feb 20 01:15:14 core dhclient[23001]: exiting. Feb 20 01:15:14 core root[23004]: /etc/rc.d/dhclient: WARNING: failed to st= art dhclient Feb 20 01:15:14 core dhclient[23053]: ngeth299: not found Feb 20 01:15:14 core dhclient[23053]: exiting. Feb 20 01:15:14 core root[23056]: /etc/rc.d/dhclient: WARNING: failed to st= art dhclient Feb 20 01:15:16 core dhclient[23120]: ngeth299: not found Feb 20 01:15:16 core dhclient[23120]: exiting. Feb 20 01:15:16 core root[23123]: /etc/rc.d/dhclient: WARNING: failed to st= art dhclient ... ngeth297: flags=3D8843 metric 0 mtu= 1500 options=3D28 ether 00:00:00:00:00:00 inet6 fe80::a00:27ff:fe29:81e6%ngeth297 prefixlen 64 scopeid 0x132 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D21 ngeth298: flags=3D8843 metric 0 mtu= 1500 options=3D28 ether 00:00:00:00:00:00 inet6 fe80::a00:27ff:fe29:81e6%ngeth298 prefixlen 64 scopeid 0x133 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D21 ngeth299: flags=3D8843 metric 0 mtu= 1500 options=3D28 ether 00:00:00:00:00:00 inet6 fe80::a00:27ff:fe29:81e6%ngeth299 prefixlen 64 scopeid 0x134 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D21 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 19 21:53:31 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F900246656 for ; Wed, 19 Feb 2020 21:53:31 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NBLK3WRYz3KXx for ; Wed, 19 Feb 2020 21:53:29 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-qt1-f182.google.com with SMTP id i23so1416508qtr.5 for ; Wed, 19 Feb 2020 13:53:29 -0800 (PST) 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:cc; bh=HMrRjuBO1n8SozdNgIeR7BN3Cz9vfAiBGOCzl2D4yiQ=; b=RGYFi1RBEiRALxvnnF+Gm4mPJ3fI9i/dsR14zfKULmvsh37+RNEC4KC2nYCUX3b7eo pZkmpfeqqWEImpigQhs4n8yS403kTMg2NTFTD0e9iJ2YevdeTpSk6lXd4sKTA6XA0HUt uW7TO1yuZCt19HZlac3yEEEZw84D/ynx61Tz/QbB+J1R7jXmd9kQJSoApKCjHXmnyb6G bZW7IlGXDivONM3t9hL426oxs8Ws0hOvpKITk1fgRtcXh8Xa4XoOtg8q3lteZBtn62rm AwqeDB+bcTCRWdFv2G4urWzsX4tLp7cVYydMrkJOw87jCOkL0+1y0P8HGVBii4MAWWta RkQg== X-Gm-Message-State: APjAAAWJAU39bpVlMoJrGu2/0ewaZ9b+Sh4nDJMveaku5sJTyNmoWJiR Kr4dHLbEpVOB+VA4cfYy1oGElCULZKM= X-Google-Smtp-Source: APXvYqx0JvKAKhs6A51T84YyrL85LF12rfm6TFDCN7sUhOi6ivzYSjlxKscI7/W6rUmquLdmUKBn+Q== X-Received: by 2002:aed:2266:: with SMTP id o35mr24078159qtc.392.1582149207733; Wed, 19 Feb 2020 13:53:27 -0800 (PST) Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com. [209.85.219.54]) by smtp.gmail.com with ESMTPSA id p50sm776524qtf.5.2020.02.19.13.53.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Feb 2020 13:53:27 -0800 (PST) Received: by mail-qv1-f54.google.com with SMTP id y8so937268qvk.6 for ; Wed, 19 Feb 2020 13:53:27 -0800 (PST) X-Received: by 2002:ad4:5546:: with SMTP id v6mr7753987qvy.158.1582149206917; Wed, 19 Feb 2020 13:53:26 -0800 (PST) MIME-Version: 1.0 References: <202002190603.01J63naa005208@kx.truefc.org> In-Reply-To: <202002190603.01J63naa005208@kx.truefc.org> From: Eric Joyner Date: Wed, 19 Feb 2020 13:52:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to work with in 1GbE network ? To: KIRIYAMA Kazuhiko Cc: "freebsd-net@freebsd.org" X-Rspamd-Queue-Id: 48NBLK3WRYz3KXx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ricera10@gmail.com designates 209.85.160.182 as permitted sender) smtp.mailfrom=ricera10@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; IP_SCORE(-2.03)[ip: (-5.41), ipnet: 209.85.128.0/17(-3.00), asn: 15169(-1.68), country: US(-0.05)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_GOOD(0.00)[182.160.85.209.rep.mailspike.net : 127.0.0.18]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[182.160.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; SUBJECT_ENDS_QUESTION(1.00)[]; FORGED_SENDER(0.30)[erj@freebsd.org,ricera10@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[erj@freebsd.org,ricera10@gmail.com]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Feb 2020 21:53:31 -0000 Have you tried turning off jumbo frames? - Eric On Tue, Feb 18, 2020 at 10:04 PM KIRIYAMA Kazuhiko wrote: > Hi, all > > I wonder how to work ixgbe in 1GbE network. I tried to test > in below: > > internet > | > +-------+--------+ > | Netgear JGS516 | > +---+-----+------+ +----------------------+ > | +---------+ 13.0-CURRENT(r356739)| src_host > | +----------------------+ > | +----------------------+ > +----+ 13.0-CURRENT(r353025)| dest_host > +----------------------+ > > And try to NFS mount dest_host in src_host, but mount does > not work smoothly. It takes about 9 second !!! : > > # /usr/bin/time > time* timeout* > # /usr/bin/time -h mount -t nfs dest_host:/.dake /.dake > 9.15s real 0.04s user 0.02s sys > # nfsstat -m > dest_host:/.dake on /.dake > > nfsv3,tcp,resvport,hard,cto,lockd,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=65536,readahead=1,wcommitsize=16777216,timeout=120,retrans=2 > # /usr/bin/time -h umount /.dake > 27.26s real 0.04s user 0.02s sys > > src_host to dest_host was set to mtu 9000: > > # route get dest_host > route to: xxx.xxx.xxx.xxx.foo > destination: xxx.xxx.xxx.xxx.foo > mask: xxx.xxx.xxx.xxx > fib: 0 > interface: ix0 > flags: > recvpipe sendpipe ssthresh rtt,msec mtu weight expire > 0 0 0 0 9000 1 0 > # > > What's wrong ? src_host environments are as follows: > > # uname -a > FreeBSD src_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r356739M: Tue Jan 28 > 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ > amd64 > # ifconfig ix0 > ix0: flags=8843 metric 0 mtu 9000 > > options=4e538bb > ether 3c:ec:ef:01:a4:e0 > inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx > media: Ethernet autoselect (1000baseT > ) > status: active > nd6 options=29 > # sysctl -a|grep jumbo > kern.ipc.nmbjumbo16: 680520 > kern.ipc.nmbjumbo9: 1209814 > kern.ipc.nmbjumbop: 4083125 > vm.uma.mbuf_jumbo_16k.stats.xdomain: 0 > vm.uma.mbuf_jumbo_16k.stats.fails: 0 > vm.uma.mbuf_jumbo_16k.stats.frees: 0 > vm.uma.mbuf_jumbo_16k.stats.allocs: 0 > vm.uma.mbuf_jumbo_16k.stats.current: 0 > vm.uma.mbuf_jumbo_16k.domain.0.wss: 0 > vm.uma.mbuf_jumbo_16k.domain.0.imin: 0 > vm.uma.mbuf_jumbo_16k.domain.0.imax: 0 > vm.uma.mbuf_jumbo_16k.domain.0.nitems: 0 > vm.uma.mbuf_jumbo_16k.limit.bucket_cnt: 0 > vm.uma.mbuf_jumbo_16k.limit.bucket_max: 18446744073709551615 > vm.uma.mbuf_jumbo_16k.limit.sleeps: 0 > vm.uma.mbuf_jumbo_16k.limit.sleepers: 0 > vm.uma.mbuf_jumbo_16k.limit.max_items: 680520 > vm.uma.mbuf_jumbo_16k.limit.items: 0 > vm.uma.mbuf_jumbo_16k.keg.domain.0.free: 0 > vm.uma.mbuf_jumbo_16k.keg.domain.0.pages: 0 > vm.uma.mbuf_jumbo_16k.keg.efficiency: 99 > vm.uma.mbuf_jumbo_16k.keg.align: 7 > vm.uma.mbuf_jumbo_16k.keg.ipers: 1 > vm.uma.mbuf_jumbo_16k.keg.ppera: 4 > vm.uma.mbuf_jumbo_16k.keg.rsize: 16384 > vm.uma.mbuf_jumbo_16k.keg.name: mbuf_jumbo_16k > vm.uma.mbuf_jumbo_16k.bucket_size_max: 253 > vm.uma.mbuf_jumbo_16k.bucket_size: 253 > vm.uma.mbuf_jumbo_16k.flags: > 0x43a10000 > vm.uma.mbuf_jumbo_16k.size: 16384 > vm.uma.mbuf_jumbo_9k.stats.xdomain: 0 > vm.uma.mbuf_jumbo_9k.stats.fails: 0 > vm.uma.mbuf_jumbo_9k.stats.frees: 0 > vm.uma.mbuf_jumbo_9k.stats.allocs: 0 > vm.uma.mbuf_jumbo_9k.stats.current: 0 > vm.uma.mbuf_jumbo_9k.domain.0.wss: 0 > vm.uma.mbuf_jumbo_9k.domain.0.imin: 0 > vm.uma.mbuf_jumbo_9k.domain.0.imax: 0 > vm.uma.mbuf_jumbo_9k.domain.0.nitems: 0 > vm.uma.mbuf_jumbo_9k.limit.bucket_cnt: 0 > vm.uma.mbuf_jumbo_9k.limit.bucket_max: 18446744073709551615 > vm.uma.mbuf_jumbo_9k.limit.sleeps: 0 > vm.uma.mbuf_jumbo_9k.limit.sleepers: 0 > vm.uma.mbuf_jumbo_9k.limit.max_items: 1209814 > vm.uma.mbuf_jumbo_9k.limit.items: 0 > vm.uma.mbuf_jumbo_9k.keg.domain.0.free: 0 > vm.uma.mbuf_jumbo_9k.keg.domain.0.pages: 0 > vm.uma.mbuf_jumbo_9k.keg.efficiency: 75 > vm.uma.mbuf_jumbo_9k.keg.align: 7 > vm.uma.mbuf_jumbo_9k.keg.ipers: 1 > vm.uma.mbuf_jumbo_9k.keg.ppera: 3 > vm.uma.mbuf_jumbo_9k.keg.rsize: 9216 > vm.uma.mbuf_jumbo_9k.keg.name: mbuf_jumbo_9k > vm.uma.mbuf_jumbo_9k.bucket_size_max: 253 > vm.uma.mbuf_jumbo_9k.bucket_size: 253 > vm.uma.mbuf_jumbo_9k.flags: 0x43010000 > vm.uma.mbuf_jumbo_9k.size: 9216 > vm.uma.mbuf_jumbo_page.stats.xdomain: 0 > vm.uma.mbuf_jumbo_page.stats.fails: 0 > vm.uma.mbuf_jumbo_page.stats.frees: 2199 > vm.uma.mbuf_jumbo_page.stats.allocs: 67734 > vm.uma.mbuf_jumbo_page.stats.current: 65535 > vm.uma.mbuf_jumbo_page.domain.0.wss: 0 > vm.uma.mbuf_jumbo_page.domain.0.imin: 0 > vm.uma.mbuf_jumbo_page.domain.0.imax: 0 > vm.uma.mbuf_jumbo_page.domain.0.nitems: 0 > vm.uma.mbuf_jumbo_page.limit.bucket_cnt: 0 > vm.uma.mbuf_jumbo_page.limit.bucket_max: 18446744073709551615 > vm.uma.mbuf_jumbo_page.limit.sleeps: 0 > vm.uma.mbuf_jumbo_page.limit.sleepers: 0 > vm.uma.mbuf_jumbo_page.limit.max_items: 4083125 > vm.uma.mbuf_jumbo_page.limit.items: 67298 > vm.uma.mbuf_jumbo_page.keg.domain.0.free: 0 > vm.uma.mbuf_jumbo_page.keg.domain.0.pages: 67298 > vm.uma.mbuf_jumbo_page.keg.efficiency: 97 > vm.uma.mbuf_jumbo_page.keg.align: 7 > vm.uma.mbuf_jumbo_page.keg.ipers: 1 > vm.uma.mbuf_jumbo_page.keg.ppera: 1 > vm.uma.mbuf_jumbo_page.keg.rsize: 4096 > vm.uma.mbuf_jumbo_page.keg.name: mbuf_jumbo_page > vm.uma.mbuf_jumbo_page.bucket_size_max: 253 > vm.uma.mbuf_jumbo_page.bucket_size: 253 > vm.uma.mbuf_jumbo_page.flags: > 0x43a10000 > vm.uma.mbuf_jumbo_page.size: 4096 > # sysctl -a | grep nmbclusters > kern.ipc.nmbclusters: 8166250 > # sysctl -a | grep intr_storm_threshold > hw.intr_storm_threshold: 0 > # > > and dest_host environments are as follows: > > # uname -a > FreeBSD dest_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353025: Thu Oct 3 > 19:38:47 JST 2019 admin@dest_host:/ds/obj/current/13.0/r353025/ds/src/current/13.0/r353025/amd64.amd64/sys/GENERIC > amd64 > # ifconfig igb0 > igb0: flags=8943 metric 0 > mtu 9000 > > options=4a520b9 > ether 0c:c4:7a:b3:cf:d4 > inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx > media: Ethernet autoselect (1000baseT ) > status: active > nd6 options=29 > # sysctl -a|grep jumbo > kern.ipc.nmbjumbo16: 339123 > kern.ipc.nmbjumbo9: 602886 > kern.ipc.nmbjumbop: 2034741 > # sysctl -a | grep nmbclusters > kern.ipc.nmbclusters: 4069482 > # sysctl -a | grep intr_storm_threshold > hw.intr_storm_threshold: 0 > # > > Best regards > --- > Kazuhiko Kiriyama > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Wed Feb 19 22:17:47 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A07D246C5C for ; Wed, 19 Feb 2020 22:17:47 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NBtM3m3Gz4T7W; Wed, 19 Feb 2020 22:17:47 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi1-x22b.google.com with SMTP id v19so25456386oic.12; Wed, 19 Feb 2020 14:17:47 -0800 (PST) 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 :cc; bh=wzHZzQCXhYZ0upyAKnT0RA/QoYFXrs/z9rVI3hDbacY=; b=gRf09lfVfyd3TXSQ24yjKmveBaQT+BkbsBEdxtkom+71XTTPgeCwzWRmpplyr6y57h MSrE3nGYpnMhnCd9Rr4j9YrIkpkczu9xMmAuM7R961oOidsGGfqlYPS71W/RJ2T27rAd hIdGmSZ6Smxyz+3S9YKKGpnsyQMM0TsuUik2T1WG3CtJaonB+7ihJBiYOg+RSVZkaxJd 5V2grGfIl9cJSGo4/WWmQY13Ud2kiyj/MX5Q1pODxZ0zIrdmxd8mK8TXZGp/W8XRYaIN +/Adng5p4isSfxtO/Ufp1q91RcQQY73gLGA84vwRlw374uVhkyCmWm2XQ+EII8DIiCk1 5f8Q== 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:cc; bh=wzHZzQCXhYZ0upyAKnT0RA/QoYFXrs/z9rVI3hDbacY=; b=K9NG5dVaMISCzOSJafjuynApGj6O1QnjpRkmBJkl7hyyFMRjvxqiyGK3wf5Uhg7O2V uhwbPW9aqBuSqs5ViGrm3WI4lsWDtsRDtHXqFT65MlZ3tQKByZ8pXFsdur5G7jExDWP2 SildwO1S04PRZlLNUjkEyET9R+wyyV7+Sn/vcSD8KQpDPCvO4UVFVJOrckNqTlq65eht 4Jao32a5kbLIb0TUxjBwT4JdT/XaDBd5XIWlfRR2IQ+kCT2WMwRAwFMuWMqTXr+nEgCV 7QgjnBXlc+5G79cWXUAGWL73+SbtpalOqUtTQyfF4sVuZEzpZv9E0DYPWposfu+S+5EG Fn9w== X-Gm-Message-State: APjAAAWkEBUz7r49e2XX2TW+v9gO+rym6HRZIV+OAGlzTgaTbm+g0Dmw ZsgKnXm+vsj2UWBEgRkkLmjd4S4L8a1MF26Wxsa4/A== X-Google-Smtp-Source: APXvYqzHZlm+5DPlhyJsUCQa0NzbnkNHVsa8pwuMBnTFogKRL29juZY6SCg0NwlsWi8xlzpxnkMRcXXI6Q+Xj47o/g4= X-Received: by 2002:a05:6808:a8e:: with SMTP id q14mr5883490oij.173.1582150666250; Wed, 19 Feb 2020 14:17:46 -0800 (PST) MIME-Version: 1.0 References: <202002190603.01J63naa005208@kx.truefc.org> In-Reply-To: From: alan somers Date: Wed, 19 Feb 2020 15:17:35 -0700 Message-ID: Subject: Re: How to work with in 1GbE network ? To: Eric Joyner Cc: KIRIYAMA Kazuhiko , FreeBSD Net X-Rspamd-Queue-Id: 48NBtM3m3Gz4T7W X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Feb 2020 22:17:47 -0000 Make sure that dns resolution is working, forward and reverse. On Wed, Feb 19, 2020, 2:53 PM Eric Joyner wrote: > Have you tried turning off jumbo frames? > > - Eric > > On Tue, Feb 18, 2020 at 10:04 PM KIRIYAMA Kazuhiko > wrote: > > > Hi, all > > > > I wonder how to work ixgbe in 1GbE network. I tried to test > > in below: > > > > internet > > | > > +-------+--------+ > > | Netgear JGS516 | > > +---+-----+------+ +----------------------+ > > | +---------+ 13.0-CURRENT(r356739)| src_host > > | +----------------------+ > > | +----------------------+ > > +----+ 13.0-CURRENT(r353025)| dest_host > > +----------------------+ > > > > And try to NFS mount dest_host in src_host, but mount does > > not work smoothly. It takes about 9 second !!! : > > > > # /usr/bin/time > > time* timeout* > > # /usr/bin/time -h mount -t nfs dest_host:/.dake /.dake > > 9.15s real 0.04s user 0.02s sys > > # nfsstat -m > > dest_host:/.dake on /.dake > > > > > nfsv3,tcp,resvport,hard,cto,lockd,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=65536,readahead=1,wcommitsize=16777216,timeout=120,retrans=2 > > # /usr/bin/time -h umount /.dake > > 27.26s real 0.04s user 0.02s sys > > > > src_host to dest_host was set to mtu 9000: > > > > # route get dest_host > > route to: xxx.xxx.xxx.xxx.foo > > destination: xxx.xxx.xxx.xxx.foo > > mask: xxx.xxx.xxx.xxx > > fib: 0 > > interface: ix0 > > flags: > > recvpipe sendpipe ssthresh rtt,msec mtu weight expire > > 0 0 0 0 9000 1 0 > > # > > > > What's wrong ? src_host environments are as follows: > > > > # uname -a > > FreeBSD src_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r356739M: Tue Jan > 28 > > 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ > > amd64 > > # ifconfig ix0 > > ix0: flags=8843 metric 0 mtu 9000 > > > > > options=4e538bb > > ether 3c:ec:ef:01:a4:e0 > > inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx > > media: Ethernet autoselect (1000baseT > > ) > > status: active > > nd6 options=29 > > # sysctl -a|grep jumbo > > kern.ipc.nmbjumbo16: 680520 > > kern.ipc.nmbjumbo9: 1209814 > > kern.ipc.nmbjumbop: 4083125 > > vm.uma.mbuf_jumbo_16k.stats.xdomain: 0 > > vm.uma.mbuf_jumbo_16k.stats.fails: 0 > > vm.uma.mbuf_jumbo_16k.stats.frees: 0 > > vm.uma.mbuf_jumbo_16k.stats.allocs: 0 > > vm.uma.mbuf_jumbo_16k.stats.current: 0 > > vm.uma.mbuf_jumbo_16k.domain.0.wss: 0 > > vm.uma.mbuf_jumbo_16k.domain.0.imin: 0 > > vm.uma.mbuf_jumbo_16k.domain.0.imax: 0 > > vm.uma.mbuf_jumbo_16k.domain.0.nitems: 0 > > vm.uma.mbuf_jumbo_16k.limit.bucket_cnt: 0 > > vm.uma.mbuf_jumbo_16k.limit.bucket_max: 18446744073709551615 > > vm.uma.mbuf_jumbo_16k.limit.sleeps: 0 > > vm.uma.mbuf_jumbo_16k.limit.sleepers: 0 > > vm.uma.mbuf_jumbo_16k.limit.max_items: 680520 > > vm.uma.mbuf_jumbo_16k.limit.items: 0 > > vm.uma.mbuf_jumbo_16k.keg.domain.0.free: 0 > > vm.uma.mbuf_jumbo_16k.keg.domain.0.pages: 0 > > vm.uma.mbuf_jumbo_16k.keg.efficiency: 99 > > vm.uma.mbuf_jumbo_16k.keg.align: 7 > > vm.uma.mbuf_jumbo_16k.keg.ipers: 1 > > vm.uma.mbuf_jumbo_16k.keg.ppera: 4 > > vm.uma.mbuf_jumbo_16k.keg.rsize: 16384 > > vm.uma.mbuf_jumbo_16k.keg.name: mbuf_jumbo_16k > > vm.uma.mbuf_jumbo_16k.bucket_size_max: 253 > > vm.uma.mbuf_jumbo_16k.bucket_size: 253 > > vm.uma.mbuf_jumbo_16k.flags: > > 0x43a10000 > > vm.uma.mbuf_jumbo_16k.size: 16384 > > vm.uma.mbuf_jumbo_9k.stats.xdomain: 0 > > vm.uma.mbuf_jumbo_9k.stats.fails: 0 > > vm.uma.mbuf_jumbo_9k.stats.frees: 0 > > vm.uma.mbuf_jumbo_9k.stats.allocs: 0 > > vm.uma.mbuf_jumbo_9k.stats.current: 0 > > vm.uma.mbuf_jumbo_9k.domain.0.wss: 0 > > vm.uma.mbuf_jumbo_9k.domain.0.imin: 0 > > vm.uma.mbuf_jumbo_9k.domain.0.imax: 0 > > vm.uma.mbuf_jumbo_9k.domain.0.nitems: 0 > > vm.uma.mbuf_jumbo_9k.limit.bucket_cnt: 0 > > vm.uma.mbuf_jumbo_9k.limit.bucket_max: 18446744073709551615 > > vm.uma.mbuf_jumbo_9k.limit.sleeps: 0 > > vm.uma.mbuf_jumbo_9k.limit.sleepers: 0 > > vm.uma.mbuf_jumbo_9k.limit.max_items: 1209814 > > vm.uma.mbuf_jumbo_9k.limit.items: 0 > > vm.uma.mbuf_jumbo_9k.keg.domain.0.free: 0 > > vm.uma.mbuf_jumbo_9k.keg.domain.0.pages: 0 > > vm.uma.mbuf_jumbo_9k.keg.efficiency: 75 > > vm.uma.mbuf_jumbo_9k.keg.align: 7 > > vm.uma.mbuf_jumbo_9k.keg.ipers: 1 > > vm.uma.mbuf_jumbo_9k.keg.ppera: 3 > > vm.uma.mbuf_jumbo_9k.keg.rsize: 9216 > > vm.uma.mbuf_jumbo_9k.keg.name: mbuf_jumbo_9k > > vm.uma.mbuf_jumbo_9k.bucket_size_max: 253 > > vm.uma.mbuf_jumbo_9k.bucket_size: 253 > > vm.uma.mbuf_jumbo_9k.flags: 0x43010000 > > vm.uma.mbuf_jumbo_9k.size: 9216 > > vm.uma.mbuf_jumbo_page.stats.xdomain: 0 > > vm.uma.mbuf_jumbo_page.stats.fails: 0 > > vm.uma.mbuf_jumbo_page.stats.frees: 2199 > > vm.uma.mbuf_jumbo_page.stats.allocs: 67734 > > vm.uma.mbuf_jumbo_page.stats.current: 65535 > > vm.uma.mbuf_jumbo_page.domain.0.wss: 0 > > vm.uma.mbuf_jumbo_page.domain.0.imin: 0 > > vm.uma.mbuf_jumbo_page.domain.0.imax: 0 > > vm.uma.mbuf_jumbo_page.domain.0.nitems: 0 > > vm.uma.mbuf_jumbo_page.limit.bucket_cnt: 0 > > vm.uma.mbuf_jumbo_page.limit.bucket_max: 18446744073709551615 > > vm.uma.mbuf_jumbo_page.limit.sleeps: 0 > > vm.uma.mbuf_jumbo_page.limit.sleepers: 0 > > vm.uma.mbuf_jumbo_page.limit.max_items: 4083125 > > vm.uma.mbuf_jumbo_page.limit.items: 67298 > > vm.uma.mbuf_jumbo_page.keg.domain.0.free: 0 > > vm.uma.mbuf_jumbo_page.keg.domain.0.pages: 67298 > > vm.uma.mbuf_jumbo_page.keg.efficiency: 97 > > vm.uma.mbuf_jumbo_page.keg.align: 7 > > vm.uma.mbuf_jumbo_page.keg.ipers: 1 > > vm.uma.mbuf_jumbo_page.keg.ppera: 1 > > vm.uma.mbuf_jumbo_page.keg.rsize: 4096 > > vm.uma.mbuf_jumbo_page.keg.name: mbuf_jumbo_page > > vm.uma.mbuf_jumbo_page.bucket_size_max: 253 > > vm.uma.mbuf_jumbo_page.bucket_size: 253 > > vm.uma.mbuf_jumbo_page.flags: > > 0x43a10000 > > vm.uma.mbuf_jumbo_page.size: 4096 > > # sysctl -a | grep nmbclusters > > kern.ipc.nmbclusters: 8166250 > > # sysctl -a | grep intr_storm_threshold > > hw.intr_storm_threshold: 0 > > # > > > > and dest_host environments are as follows: > > > > # uname -a > > FreeBSD dest_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353025: Thu Oct > 3 > > 19:38:47 JST 2019 admin@dest_host > :/ds/obj/current/13.0/r353025/ds/src/current/13.0/r353025/amd64.amd64/sys/GENERIC > > amd64 > > # ifconfig igb0 > > igb0: flags=8943 metric 0 > > mtu 9000 > > > > > options=4a520b9 > > ether 0c:c4:7a:b3:cf:d4 > > inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx > > media: Ethernet autoselect (1000baseT ) > > status: active > > nd6 options=29 > > # sysctl -a|grep jumbo > > kern.ipc.nmbjumbo16: 339123 > > kern.ipc.nmbjumbo9: 602886 > > kern.ipc.nmbjumbop: 2034741 > > # sysctl -a | grep nmbclusters > > kern.ipc.nmbclusters: 4069482 > > # sysctl -a | grep intr_storm_threshold > > hw.intr_storm_threshold: 0 > > # > > > > Best regards > > --- > > Kazuhiko Kiriyama > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Wed Feb 19 22:48:56 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E71202478A9 for ; Wed, 19 Feb 2020 22:48:55 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NCZG4v9jz4M2H; Wed, 19 Feb 2020 22:48:54 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id 01JMmjBR046828 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 19 Feb 2020 14:48:46 -0800 (PST) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id 01JMmjop046827; Wed, 19 Feb 2020 14:48:45 -0800 (PST) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Wed, 19 Feb 2020 14:48:45 -0800 From: Gleb Smirnoff To: Kristof Provost Cc: freebsd-net Subject: Re: vtnet IFF_NEEDSEPOCH? Message-ID: <20200219224845.GI5741@FreeBSD.org> References: <20200218193708.GH5741@FreeBSD.org> <5520BD42-7D17-4561-A2CD-C690B159D15E@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5520BD42-7D17-4561-A2CD-C690B159D15E@FreeBSD.org> X-Rspamd-Queue-Id: 48NCZG4v9jz4M2H X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.70 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.70)[-0.699,0]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; ASN(0.00)[asn:27348, ipnet:162.251.186.0/24, country:US] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Feb 2020 22:48:56 -0000 On Tue, Feb 18, 2020 at 10:08:50PM +0100, Kristof Provost wrote: K> > K> with vtnet: K> > K> K> > K> DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 5 K> > K> panic: Assertion in_epoch(net_epoch_preempt) failed at K> > K> /usr/src/sys/net/netisr.c:1093 K> > K> cpuid = 0 K> > K> time = 1581981733 K> > K> KDB: stack backtrace: K> > K> db_trace_self() at db_trace_self K> > K> db_fetch_ksymtab() at db_fetch_ksymtab+0x12a K> > K> kdb_backtrace() at kdb_backtrace+0x2c K> > K> vpanic() at vpanic+0x144 K> > K> panic() at panic+0x26 K> > K> netisr_dispatch_src() at netisr_dispatch_src+0x3c0 K> > K> netisr_dispatch() at netisr_dispatch+0x10 K> > K> ether_ifattach() at ether_ifattach+0x2fa K> > K> vtmmio_attach() at vtmmio_attach+0x490c K> > K> vtmmio_attach() at vtmmio_attach+0x4624 K> > K> vtmmio_attach() at vtmmio_attach+0x544a K> > K> virtqueue_intr() at virtqueue_intr+0xc K> > K> vtmmio_attach() at vtmmio_attach+0x2008 K> > K> db_dump_intr_event() at db_dump_intr_event+0x730 K> > K> fork_exit() at fork_exit+0x68 K> > K> fork_trampoline() at fork_trampoline+0xa K> > K> KDB: enter: panic K> > K> [ thread pid 12 tid 100023 ] K> > K> Stopped at kdb_enter+0x44: sd zero,0(a0) K> > K> db> K> > K> K> > K> It seems pretty clear that the vtmmio path doesn’t enter epoch K> > before it K> > K> runs the vtnet_attach() code. K> > K> On the other hand, I run vtnet CURRENT guests in bhyve, and don’t K> > see this K> > K> panic. In that case it lives on top of PCI rather than mmio, but I K> > don’t K> > K> see why/where that’d enter epoch. K> > K> > The transition from ether_ifattach to netisr_dispatch looks strange. K> > Is that something run trough EVENTHANDLER_INVOKE? K> > K> > Can you please print in kgdb? K> > K> > > list *ether_ifattach+0x2fa K> > K> Not immediately, no. This is risc-v, and there’s no kgdb for it right now. K> K> I can give you objdump output however: K> K> ffffffc00036fd6c : K> /* K> * Perform common duties while attaching to interface list K> */ K> void K> ether_ifattach(struct ifnet *ifp, const u_int8_t *lla) K> { K> ffffffc00036fd6c: 7139 addi sp,sp,-64 K> ffffffc00036fd6e: fc06 sd ra,56(sp) K> ffffffc00036fd70: f822 sd s0,48(sp) K> ffffffc00036fd72: f426 sd s1,40(sp) K> ffffffc00036fd74: f04a sd s2,32(sp) K> ffffffc00036fd76: ec4e sd s3,24(sp) K> ffffffc00036fd78: e852 sd s4,16(sp) K> ffffffc00036fd7a: e456 sd s5,8(sp) K> ffffffc00036fd7c: e05a sd s6,0(sp) K> ffffffc00036fd7e: 0080 addi s0,sp,64 K> ffffffc00036fd80: 892e mv s2,a1 K> ffffffc00036fd82: 89aa mv s3,a0 K> ffffffc00036fd84: 4539 li a0,14 K> K> … K> if (__predict_false(ifp->if_flags & IFF_NEEDSEPOCH)) K> ffffffc000370036: 0709c503 lbu a0,112(s3) K> ffffffc00037003a: 02057513 andi a0,a0,32 K> ffffffc00037003e: e92d bnez K> a0,ffffffc0003700b0 K> while (m) { K> ffffffc000370040: 020a8763 beqz K> s5,ffffffc00037006e K> ffffffc000370044: 5a7d li s4,-1 K> mn = m->m_nextpkt; K> ffffffc000370046: 008ab483 ld s1,8(s5) K> m->m_nextpkt = NULL; K> ffffffc00037004a: 000ab423 sd zero,8(s5) K> MPASS((m->m_pkthdr.csum_flags & CSUM_SND_TAG) == 0); K> ffffffc00037004e: 038aa503 lw a0,56(s5) K> ffffffc000370052: 08aa5963 bge K> s4,a0,ffffffc0003700e4 K> KASSERT(m->m_pkthdr.rcvif == ifp, ("%s: ifnet mismatch m K> %p " K> ffffffc000370056: 020ab683 ld a3,32(s5) K> ffffffc00037005a: 0b369763 bne K> a3,s3,ffffffc000370108 K> netisr_dispatch(NETISR_ETHER, m); K> ffffffc00037005e: 4515 li a0,5 K> ffffffc000370060: 85d6 mv a1,s5 K> ffffffc000370062: 0000c097 auipc ra,0xc K> ffffffc000370066: 12c080e7 jalr 300(ra) # K> ffffffc00037c18e K> ffffffc00037006a: 8aa6 mv s5,s1 K> while (m) { K> ffffffc00037006c: fce9 bnez K> s1,ffffffc000370046 K> if (__predict_false(ifp->if_flags & IFF_NEEDSEPOCH)) K> ffffffc00037006e: 0709c503 lbu a0,112(s3) K> ffffffc000370072: 02057513 andi a0,a0,32 K> ffffffc000370076: e939 bnez K> a0,ffffffc0003700cc K> ffffffc000370078: 00023503 ld a0,0(tp) # 0 K> K> CURVNET_RESTORE(); K> ffffffc00037007c: 4e053503 ld a0,1248(a0) K> ffffffc000370080: c971 beqz K> a0,ffffffc000370154 K> ffffffc000370082: 00090a63 beqz K> s2,ffffffc000370096 K> ffffffc000370086: 5e4a7537 lui a0,0x5e4a7 K> ffffffc00037008a: f285051b addiw a0,a0,-216 K> ffffffc00037008e: 01092583 lw a1,16(s2) K> ffffffc000370092: 0ca59163 bne K> a1,a0,ffffffc000370154 K> ffffffc000370096: 00023503 ld a0,0(tp) # 0 K> K> ffffffc00037009a: 4f253023 sd s2,1248(a0) # K> 5e4a74e0 K> } K> K> K> In fact, that looks like it’s inside ether_input(), not ether_ifattach(). K> K> ffffffc00036fff6 : K> { K> ffffffc00036fff6: 711d addi sp,sp,-96 Right, it looks much more like the trace should go via ether_input(), not via ether_ifattach(). K> So I suspect our call stack is something like virtqueue_intr() -> K> vtnet_rx_vq_intr() -> vtnet_rxq_eof() -> vtnet_rxq_input() -> K> ether_input(). K> I don’t see anything entering epoch in that path, which presumably explains K> the panic, but I still don’t understand why my bhyve current vm doesn’t K> panic in the same way. On bhyve we enter it through interrupt handler, and this is where we enter the epoch. Does RISC-V has interrupt handling by the MI code in sys/kern/kern_intr.c as other platforms? -- Gleb Smirnoff From owner-freebsd-net@freebsd.org Thu Feb 20 01:00:42 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39881249D9E for ; Thu, 20 Feb 2020 01:00:42 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NGVJ4WYMz4JK9; Thu, 20 Feb 2020 01:00:40 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [202.216.24.26]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id 01K10ZYc024946; Thu, 20 Feb 2020 10:00:35 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202002200100.01K10ZYc024946@kx.truefc.org> Date: Thu, 20 Feb 2020 10:00:35 +0900 From: KIRIYAMA Kazuhiko To: alan somers Cc: Eric Joyner , FreeBSD Net , KIRIYAMA Kazuhiko Subject: Re: How to work with in 1GbE network ? In-Reply-To: References: <202002190603.01J63naa005208@kx.truefc.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 48NGVJ4WYMz4JK9 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 36.52.212.1) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [3.69 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[truefc.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.93)[0.926,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_LONG(0.74)[0.739,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:10013, ipnet:36.52.208.0/21, country:JP]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.12)[asn: 10013(0.58), country: JP(0.04)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2020 01:00:42 -0000 On Thu, 20 Feb 2020 07:17:35 +0900, alan somers wrote: > > Make sure that dns resolution is working, forward and reverse. That's it ! I've mistaken to reset /etc/resolv.conf in which included local IP DNS. Thanks for pointed out my rudimentary mistakes. > > On Wed, Feb 19, 2020, 2:53 PM Eric Joyner wrote: > > > Have you tried turning off jumbo frames? > > > > - Eric > > > > On Tue, Feb 18, 2020 at 10:04 PM KIRIYAMA Kazuhiko > > wrote: > > > > > Hi, all > > > > > > I wonder how to work ixgbe in 1GbE network. I tried to test > > > in below: > > > > > > internet > > > | > > > +-------+--------+ > > > | Netgear JGS516 | > > > +---+-----+------+ +----------------------+ > > > | +---------+ 13.0-CURRENT(r356739)| src_host > > > | +----------------------+ > > > | +----------------------+ > > > +----+ 13.0-CURRENT(r353025)| dest_host > > > +----------------------+ > > > > > > And try to NFS mount dest_host in src_host, but mount does > > > not work smoothly. It takes about 9 second !!! : > > > > > > # /usr/bin/time > > > time* timeout* > > > # /usr/bin/time -h mount -t nfs dest_host:/.dake /.dake > > > 9.15s real 0.04s user 0.02s sys > > > # nfsstat -m > > > dest_host:/.dake on /.dake > > > > > > > > nfsv3,tcp,resvport,hard,cto,lockd,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=65536,readahead=1,wcommitsize=16777216,timeout=120,retrans=2 > > > # /usr/bin/time -h umount /.dake > > > 27.26s real 0.04s user 0.02s sys > > > > > > src_host to dest_host was set to mtu 9000: > > > > > > # route get dest_host > > > route to: xxx.xxx.xxx.xxx.foo > > > destination: xxx.xxx.xxx.xxx.foo > > > mask: xxx.xxx.xxx.xxx > > > fib: 0 > > > interface: ix0 > > > flags: > > > recvpipe sendpipe ssthresh rtt,msec mtu weight expire > > > 0 0 0 0 9000 1 0 > > > # > > > > > > What's wrong ? src_host environments are as follows: > > > > > > # uname -a > > > FreeBSD src_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r356739M: Tue Jan > > 28 > > > 21:49:59 JST 2020 root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ > > > amd64 > > > # ifconfig ix0 > > > ix0: flags=8843 metric 0 mtu 9000 > > > > > > > > options=4e538bb > > > ether 3c:ec:ef:01:a4:e0 > > > inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx > > > media: Ethernet autoselect (1000baseT > > > ) > > > status: active > > > nd6 options=29 > > > # sysctl -a|grep jumbo > > > kern.ipc.nmbjumbo16: 680520 > > > kern.ipc.nmbjumbo9: 1209814 > > > kern.ipc.nmbjumbop: 4083125 > > > vm.uma.mbuf_jumbo_16k.stats.xdomain: 0 > > > vm.uma.mbuf_jumbo_16k.stats.fails: 0 > > > vm.uma.mbuf_jumbo_16k.stats.frees: 0 > > > vm.uma.mbuf_jumbo_16k.stats.allocs: 0 > > > vm.uma.mbuf_jumbo_16k.stats.current: 0 > > > vm.uma.mbuf_jumbo_16k.domain.0.wss: 0 > > > vm.uma.mbuf_jumbo_16k.domain.0.imin: 0 > > > vm.uma.mbuf_jumbo_16k.domain.0.imax: 0 > > > vm.uma.mbuf_jumbo_16k.domain.0.nitems: 0 > > > vm.uma.mbuf_jumbo_16k.limit.bucket_cnt: 0 > > > vm.uma.mbuf_jumbo_16k.limit.bucket_max: 18446744073709551615 > > > vm.uma.mbuf_jumbo_16k.limit.sleeps: 0 > > > vm.uma.mbuf_jumbo_16k.limit.sleepers: 0 > > > vm.uma.mbuf_jumbo_16k.limit.max_items: 680520 > > > vm.uma.mbuf_jumbo_16k.limit.items: 0 > > > vm.uma.mbuf_jumbo_16k.keg.domain.0.free: 0 > > > vm.uma.mbuf_jumbo_16k.keg.domain.0.pages: 0 > > > vm.uma.mbuf_jumbo_16k.keg.efficiency: 99 > > > vm.uma.mbuf_jumbo_16k.keg.align: 7 > > > vm.uma.mbuf_jumbo_16k.keg.ipers: 1 > > > vm.uma.mbuf_jumbo_16k.keg.ppera: 4 > > > vm.uma.mbuf_jumbo_16k.keg.rsize: 16384 > > > vm.uma.mbuf_jumbo_16k.keg.name: mbuf_jumbo_16k > > > vm.uma.mbuf_jumbo_16k.bucket_size_max: 253 > > > vm.uma.mbuf_jumbo_16k.bucket_size: 253 > > > vm.uma.mbuf_jumbo_16k.flags: > > > 0x43a10000 > > > vm.uma.mbuf_jumbo_16k.size: 16384 > > > vm.uma.mbuf_jumbo_9k.stats.xdomain: 0 > > > vm.uma.mbuf_jumbo_9k.stats.fails: 0 > > > vm.uma.mbuf_jumbo_9k.stats.frees: 0 > > > vm.uma.mbuf_jumbo_9k.stats.allocs: 0 > > > vm.uma.mbuf_jumbo_9k.stats.current: 0 > > > vm.uma.mbuf_jumbo_9k.domain.0.wss: 0 > > > vm.uma.mbuf_jumbo_9k.domain.0.imin: 0 > > > vm.uma.mbuf_jumbo_9k.domain.0.imax: 0 > > > vm.uma.mbuf_jumbo_9k.domain.0.nitems: 0 > > > vm.uma.mbuf_jumbo_9k.limit.bucket_cnt: 0 > > > vm.uma.mbuf_jumbo_9k.limit.bucket_max: 18446744073709551615 > > > vm.uma.mbuf_jumbo_9k.limit.sleeps: 0 > > > vm.uma.mbuf_jumbo_9k.limit.sleepers: 0 > > > vm.uma.mbuf_jumbo_9k.limit.max_items: 1209814 > > > vm.uma.mbuf_jumbo_9k.limit.items: 0 > > > vm.uma.mbuf_jumbo_9k.keg.domain.0.free: 0 > > > vm.uma.mbuf_jumbo_9k.keg.domain.0.pages: 0 > > > vm.uma.mbuf_jumbo_9k.keg.efficiency: 75 > > > vm.uma.mbuf_jumbo_9k.keg.align: 7 > > > vm.uma.mbuf_jumbo_9k.keg.ipers: 1 > > > vm.uma.mbuf_jumbo_9k.keg.ppera: 3 > > > vm.uma.mbuf_jumbo_9k.keg.rsize: 9216 > > > vm.uma.mbuf_jumbo_9k.keg.name: mbuf_jumbo_9k > > > vm.uma.mbuf_jumbo_9k.bucket_size_max: 253 > > > vm.uma.mbuf_jumbo_9k.bucket_size: 253 > > > vm.uma.mbuf_jumbo_9k.flags: 0x43010000 > > > vm.uma.mbuf_jumbo_9k.size: 9216 > > > vm.uma.mbuf_jumbo_page.stats.xdomain: 0 > > > vm.uma.mbuf_jumbo_page.stats.fails: 0 > > > vm.uma.mbuf_jumbo_page.stats.frees: 2199 > > > vm.uma.mbuf_jumbo_page.stats.allocs: 67734 > > > vm.uma.mbuf_jumbo_page.stats.current: 65535 > > > vm.uma.mbuf_jumbo_page.domain.0.wss: 0 > > > vm.uma.mbuf_jumbo_page.domain.0.imin: 0 > > > vm.uma.mbuf_jumbo_page.domain.0.imax: 0 > > > vm.uma.mbuf_jumbo_page.domain.0.nitems: 0 > > > vm.uma.mbuf_jumbo_page.limit.bucket_cnt: 0 > > > vm.uma.mbuf_jumbo_page.limit.bucket_max: 18446744073709551615 > > > vm.uma.mbuf_jumbo_page.limit.sleeps: 0 > > > vm.uma.mbuf_jumbo_page.limit.sleepers: 0 > > > vm.uma.mbuf_jumbo_page.limit.max_items: 4083125 > > > vm.uma.mbuf_jumbo_page.limit.items: 67298 > > > vm.uma.mbuf_jumbo_page.keg.domain.0.free: 0 > > > vm.uma.mbuf_jumbo_page.keg.domain.0.pages: 67298 > > > vm.uma.mbuf_jumbo_page.keg.efficiency: 97 > > > vm.uma.mbuf_jumbo_page.keg.align: 7 > > > vm.uma.mbuf_jumbo_page.keg.ipers: 1 > > > vm.uma.mbuf_jumbo_page.keg.ppera: 1 > > > vm.uma.mbuf_jumbo_page.keg.rsize: 4096 > > > vm.uma.mbuf_jumbo_page.keg.name: mbuf_jumbo_page > > > vm.uma.mbuf_jumbo_page.bucket_size_max: 253 > > > vm.uma.mbuf_jumbo_page.bucket_size: 253 > > > vm.uma.mbuf_jumbo_page.flags: > > > 0x43a10000 > > > vm.uma.mbuf_jumbo_page.size: 4096 > > > # sysctl -a | grep nmbclusters > > > kern.ipc.nmbclusters: 8166250 > > > # sysctl -a | grep intr_storm_threshold > > > hw.intr_storm_threshold: 0 > > > # > > > > > > and dest_host environments are as follows: > > > > > > # uname -a > > > FreeBSD dest_host 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353025: Thu Oct > > 3 > > > 19:38:47 JST 2019 admin@dest_host > > :/ds/obj/current/13.0/r353025/ds/src/current/13.0/r353025/amd64.amd64/sys/GENERIC > > > amd64 > > > # ifconfig igb0 > > > igb0: flags=8943 metric 0 > > > mtu 9000 > > > > > > > > options=4a520b9 > > > ether 0c:c4:7a:b3:cf:d4 > > > inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.xxx > > > media: Ethernet autoselect (1000baseT ) > > > status: active > > > nd6 options=29 > > > # sysctl -a|grep jumbo > > > kern.ipc.nmbjumbo16: 339123 > > > kern.ipc.nmbjumbo9: 602886 > > > kern.ipc.nmbjumbop: 2034741 > > > # sysctl -a | grep nmbclusters > > > kern.ipc.nmbclusters: 4069482 > > > # sysctl -a | grep intr_storm_threshold > > > hw.intr_storm_threshold: 0 > > > # > > > > > > Best regards > > > --- > > > Kazuhiko Kiriyama > > > _______________________________________________ > > > freebsd-net@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --- Kazuhiko Kiriyama From owner-freebsd-net@freebsd.org Thu Feb 20 01:02:13 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 484DF24A077 for ; Thu, 20 Feb 2020 01:02:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NGX41wMFz4K8J for ; Thu, 20 Feb 2020 01:02:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qv1-f47.google.com with SMTP id n8so1113015qvg.11 for ; Wed, 19 Feb 2020 17:02:12 -0800 (PST) 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=Q9aNb1W+thn/WDfibfAZsHSPcusjN29vmP3t3tbPGvA=; b=c6J20JsJOA5J0bPmvNdKXspND/XS0WkiMayMUSGLCnK1CPfPt3pck9DqRyXdEVWJq7 +0zCyZKd1kpGX5jpkL5j31mXkQF5SV0OIc1Z6GovAtKO+YkQQGywotVf2iw9e59D7z8l addflS5r81cMnQ+jphTgxy4+kAoWFtoMFnOOBdZr75ly3uuB2x3jktycELz+SZAV3fT0 N7vf9/44suSdeYYdLt0ukHiys40eiCt01ZWSz12AD/If4yxR1sFgu66v/O44YlVzHc1/ cS/o0LpCafnEuvTDK3mSi4OHGUnC9ldJc9WJy7wfPoKpGdMfSJsdJH1KYHj4pYccilE/ 1nbQ== X-Gm-Message-State: APjAAAX+pG02RVpOgKfRDxiP4BiqkBvJolnK/2kKoKKECMOtcRSGPczH hOMSn9P/sfvopHD99w8V105kp3kmwQPay01DN6hPuA== X-Google-Smtp-Source: APXvYqyJEZWuAWxfbkgHfcSr4n/dGnjCNth5WF27cB76Up2Yr6KvJ34rxYJDziw80GrmHQuRsWQTLjDX+2bC1846nSs= X-Received: by 2002:a0c:fb0f:: with SMTP id c15mr22758282qvp.209.1582160529729; Wed, 19 Feb 2020 17:02:09 -0800 (PST) MIME-Version: 1.0 From: Adrian Chadd Date: Wed, 19 Feb 2020 17:01:58 -0800 Message-ID: Subject: epoch and ath(4) - what should we be doing? To: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48NGX41wMFz4K8J X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 209.85.219.47 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-1.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; IP_SCORE(-0.94)[ipnet: 209.85.128.0/17(-3.00), asn: 15169(-1.67), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[47.219.85.209.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[47.219.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2020 01:02:13 -0000 hi! I'd like to update ath(4) to properly work with epoch, as that whole "oh make taskqueues epoch aware" is just not enough for ath(4). Background: * receive is done using deferred taskqueues, but * receive queues are drained/handled too outside of taskqueues - notably during interface resets, in order to not drop frames. So I'd like to convert it over to a normal taskqueue and just manually do EPOCH_ENTER / EPOCH_EXIT. It also means I can pepper assertions around ath(4) and net80211(4) to ensure that we're properly entering things with epoch held or not held. Questions: * are these things recursive? * what are the rules around sleeping? I've seen some ... discussions that were quite animated around this. * what should I be doing as an epoch tracker if I could call the receive routine from multiple paths. I see a few drivers have a single place where they're doing EPOCH_ENTER/EPOCH_EXIT using an epoch tracker allocated in the interrupt handler stack, but what if I also want to call that receive path from another function path too? Can I just stuff an epoch_tracker on the stack and it'll DTRT ? * .. is there some updated doc or brain dump somewhere I can read? I'd like to go add this to a couple out of tree wifi drivers under development so this would make that whole thing much easier. Thanks! -adrian From owner-freebsd-net@freebsd.org Thu Feb 20 06:33:55 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 61F51255EA6 for ; Thu, 20 Feb 2020 06:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NPtq0qHSz4TrH for ; Thu, 20 Feb 2020 06:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1BD77255EA5; Thu, 20 Feb 2020 06:33:55 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B8F0255EA4 for ; Thu, 20 Feb 2020 06:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NPtp6NMCz4TrC for ; Thu, 20 Feb 2020 06:33:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C93BD1D8DC for ; Thu, 20 Feb 2020 06:33:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01K6XsIv028038 for ; Thu, 20 Feb 2020 06:33:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01K6Xslr028026 for net@FreeBSD.org; Thu, 20 Feb 2020 06:33:54 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 166724] [re] if_re watchdog timeout Date: Thu, 20 Feb 2020 06:33: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: 11.1-RELEASE X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ralf.wostrack@gmx.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yongari@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.29 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, 20 Feb 2020 06:33:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 Ralf Wostrack changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ralf.wostrack@gmx.de --- Comment #43 from Ralf Wostrack --- In ticket 208205 I post a code change of if_re.c which solves the issue for= me.=20 Can somebody try the change too? In my oppinion, changes in sysctls, only adjusting the timing behaviour of = the existing environment, without solving the issue in general. In my case the patch works for weeks now without any performance or packet loss. Link: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208205#c32 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 07:31:48 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C99E257105 for ; Thu, 20 Feb 2020 07:31:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NR9c1lLmz43gN for ; Thu, 20 Feb 2020 07:31:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F32D0257104; Thu, 20 Feb 2020 07:31:47 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2D08257103 for ; Thu, 20 Feb 2020 07:31:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NR9b3369z43fl for ; Thu, 20 Feb 2020 07:31:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5F8561E3A4 for ; Thu, 20 Feb 2020 07:31:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01K7VlMg033785 for ; Thu, 20 Feb 2020 07:31:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01K7VlWF033784 for net@FreeBSD.org; Thu, 20 Feb 2020 07:31:47 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 166724] [re] if_re watchdog timeout Date: Thu, 20 Feb 2020 07:31:42 +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: needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yongari@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.29 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, 20 Feb 2020 07:31:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 --- Comment #44 from Chris Hutchinson --- (In reply to Bob Smith from comment #42) The ideal number will vary by card (model/brand/...) We only ever experienced the watchdog(8) problem on any of our RealTek cards on FreeBSD-11.x. We have *not* needed to "tune" these cards for watchdog on 12, or 13. The following 2 servers are on 12, and use the same NIC but, as you can see, have 2 different values. We did NOT adjust them from their default values. kern.ipc.nmbjumbop: 508829 kern.ipc.nmbclusters: 1017660 kern.ipc.nmbjumbop: 125487 kern.ipc.nmbclusters: 250974 HTH --Chris --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 09:16:36 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1F22D25A06A for ; Thu, 20 Feb 2020 09:16:36 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48NTVW51QLz4WCp; Thu, 20 Feb 2020 09:16:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id B7A98260164; Thu, 20 Feb 2020 10:16:33 +0100 (CET) Subject: Re: epoch and ath(4) - what should we be doing? To: Adrian Chadd , FreeBSD Net References: From: Hans Petter Selasky Message-ID: <4945cea9-700a-6c4f-1fcc-0447a078f33a@selasky.org> Date: Thu, 20 Feb 2020 10:16:19 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48NTVW51QLz4WCp X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2020 09:16:36 -0000 On 2020-02-20 02:01, Adrian Chadd wrote: > Questions: > > * are these things recursive? Yes. > * what are the rules around sleeping? I've seen some ... discussions > that were quite animated around this. Any non-sleepable lock is allowed under EPOCH(9). > * what should I be doing as an epoch tracker if I could call the > receive routine from multiple paths. I see a few drivers have a single > place where they're doing EPOCH_ENTER/EPOCH_EXIT using an epoch > tracker allocated in the interrupt handler stack, but what if I also > want to call that receive path from another function path too? Can I > just stuff an epoch_tracker on the stack and it'll DTRT ? Try: https://reviews.freebsd.org/D23674 > * .. is there some updated doc or brain dump somewhere I can read? I'd > like to go add this to a couple out of tree wifi drivers under > development so this would make that whole thing much easier. Gleb ??? --HPS From owner-freebsd-net@freebsd.org Thu Feb 20 09:57:00 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C57C25B0FA for ; Thu, 20 Feb 2020 09:57:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NVP728ycz4jNh for ; Thu, 20 Feb 2020 09:56:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3205D25B0E8; Thu, 20 Feb 2020 09:56:59 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2DC2425B0E7 for ; Thu, 20 Feb 2020 09:56:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NVP66jyJz4jN9 for ; Thu, 20 Feb 2020 09:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF6551FDC8 for ; Thu, 20 Feb 2020 09:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01K9uw3w091110 for ; Thu, 20 Feb 2020 09:56:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01K9uw1x091109 for net@FreeBSD.org; Thu, 20 Feb 2020 09:56:58 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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 09:56:59 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: aleksandr.fedorov@itglobal.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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.29 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, 20 Feb 2020 09:57:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glebius@FreeBSD.org, | |hselasky@FreeBSD.org, | |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 Feb 20 10:08:23 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB93B25B493 for ; Thu, 20 Feb 2020 10:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NVfH5SLPz4sF8 for ; Thu, 20 Feb 2020 10:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B696D25B491; Thu, 20 Feb 2020 10:08:23 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B4D1B25B48F for ; Thu, 20 Feb 2020 10:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NVfH3QMFz4sDf for ; Thu, 20 Feb 2020 10:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD0841FF95 for ; Thu, 20 Feb 2020 10:08:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KA8Mi1017732 for ; Thu, 20 Feb 2020 10:08:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KA8MRj017731 for net@FreeBSD.org; Thu, 20 Feb 2020 10:08:22 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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 10:08:22 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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.29 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, 20 Feb 2020 10:08:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 --- Comment #1 from Hans Petter Selasky --- The netgraph code might need to be refactored. Allocating a network interfa= ce inside the send path seems risky. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 11:16:10 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 863FF25CC04 for ; Thu, 20 Feb 2020 11:16:10 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NX8T75k4z4Sxr; Thu, 20 Feb 2020 11:16:09 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 682FAD495; Thu, 20 Feb 2020 11:16:09 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [169.254.162.27] (94-225-81-19.access.telenet.be [94.225.81.19]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 55A8F4455A; Thu, 20 Feb 2020 12:16:07 +0100 (CET) From: "Kristof Provost" To: "Gleb Smirnoff" Cc: freebsd-net Subject: Re: vtnet IFF_NEEDSEPOCH? Date: Thu, 20 Feb 2020 12:16:06 +0100 X-Mailer: MailMate (1.13.1r5671) Message-ID: In-Reply-To: <20200219224845.GI5741@FreeBSD.org> References: <20200218193708.GH5741@FreeBSD.org> <5520BD42-7D17-4561-A2CD-C690B159D15E@FreeBSD.org> <20200219224845.GI5741@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2020 11:16:10 -0000 On 19 Feb 2020, at 23:48, Gleb Smirnoff wrote: > On Tue, Feb 18, 2020 at 10:08:50PM +0100, Kristof Provost wrote: > K> So I suspect our call stack is something like virtqueue_intr() -> > K> vtnet_rx_vq_intr() -> vtnet_rxq_eof() -> vtnet_rxq_input() -> > K> ether_input(). > K> I don’t see anything entering epoch in that path, which > presumably explains > K> the panic, but I still don’t understand why my bhyve current vm > doesn’t > K> panic in the same way. > > On bhyve we enter it through interrupt handler, and this is where we > enter the epoch. Does RISC-V has interrupt handling by the MI code > in sys/kern/kern_intr.c as other platforms? > It does, yes, but that was the hint I needed. I didn’t know that we entered net_epoch automagically based on the interrupt type. The difference between the two is that Bhyve uses virtio_pci, and in my qemu case we run through the virtio_mmio path. In that path we always set INTR_TYPE_MISC, so we never set INTR_TYPE_NET, even for if_vtnet, so we never entered epoch. This is the correct fix: diff --git a/sys/dev/virtio/mmio/virtio_mmio.c b/sys/dev/virtio/mmio/virtio_mmio.c index 95eb8647052..ccafe326868 100644 --- a/sys/dev/virtio/mmio/virtio_mmio.c +++ b/sys/dev/virtio/mmio/virtio_mmio.c @@ -196,7 +196,7 @@ vtmmio_setup_intr(device_t dev, enum intr_type type) return (ENXIO); } - if (bus_setup_intr(dev, sc->res[1], INTR_TYPE_MISC | INTR_MPSAFE, + if (bus_setup_intr(dev, sc->res[1], type | INTR_MPSAFE, NULL, vtmmio_vq_intr, sc, &sc->ih)) { device_printf(dev, "Can't setup the interrupt\n"); return (ENXIO); Thanks for the help! Regards, Kristof From owner-freebsd-net@freebsd.org Thu Feb 20 11:18:20 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EFA0325CCDF for ; Thu, 20 Feb 2020 11:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NXC069CNz4WXT for ; Thu, 20 Feb 2020 11:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D1C7E25CCDE; Thu, 20 Feb 2020 11:18:20 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D184725CCDD for ; Thu, 20 Feb 2020 11:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NXC05Cs2z4WX9 for ; Thu, 20 Feb 2020 11:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A2B9520CE0 for ; Thu, 20 Feb 2020 11:18:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KBIK7O021121 for ; Thu, 20 Feb 2020 11:18:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KBIKHF021120 for net@FreeBSD.org; Thu, 20 Feb 2020 11:18: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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 11:18:20 +0000 X-Bugzilla-Reason: AssignedTo CC 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 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: cc assigned_to 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.29 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, 20 Feb 2020 11:18:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|net@FreeBSD.org | Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |panic --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 11:30:01 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B8C425D119 for ; Thu, 20 Feb 2020 11:30:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NXST09tzz3P6T for ; Thu, 20 Feb 2020 11:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E00B725D118; Thu, 20 Feb 2020 11:30:00 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE4B225D117 for ; Thu, 20 Feb 2020 11:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NXSR6VHMz3P5X for ; Thu, 20 Feb 2020 11:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D88A620F00 for ; Thu, 20 Feb 2020 11:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KBTxWu073189 for ; Thu, 20 Feb 2020 11:29:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KBTxVs073188 for net@FreeBSD.org; Thu, 20 Feb 2020 11:29:59 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 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph Date: Thu, 20 Feb 2020 11:29:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: aleksandr.fedorov@itglobal.com 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.29 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, 20 Feb 2020 11:30:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleksandr.fedorov@itglobal. | |com --- Comment #6 from Aleksandr Fedorov --- (In reply to Vladislav V. Prodan from comment #4) > # ngctl list > ngctl: send msg: No buffer space available Socket limit exceeded here. You can increase this limit using sysctls: net.graph.recvspace=3D2048000 net.graph.maxdgram=3D2048000 But, it also can't exceed kern.ipc.maxsockbuf Quick, example: mk_ngeth.sh: #!/bin/sh for i in `jot 1000` do ngctl mkpeer . eiface test ether done # sh mk_ngeth.sh # ifconfig |grep ngeth|wc -l 1000 # sysctl net.graph.recvspace net.graph.recvspace: 20480 # sysctl net.graph.maxdgram net.graph.maxdgram: 20480 # sysctl kern.ipc.maxsockbuf kern.ipc.maxsockbuf: 2097152 # ngctl ls ngctl: send msg: No buffer space available # sysctl kern.ipc.maxsockbuf=3D32000000 kern.ipc.maxsockbuf: 2097152 -> 32000000 # sysctl net.graph.recvspace=3D24000000 net.graph.recvspace: 30000 -> 24000000 # ngctl ls | wc -l 1002 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 13:59:50 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A5017239B93 for ; Thu, 20 Feb 2020 13:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NbnL3NFCz4618 for ; Thu, 20 Feb 2020 13:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 73522239B92; Thu, 20 Feb 2020 13:59:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7300D239B90 for ; Thu, 20 Feb 2020 13:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NbnL2LjFz460q for ; Thu, 20 Feb 2020 13:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4AFA522BFF for ; Thu, 20 Feb 2020 13:59:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KDxoC6062163 for ; Thu, 20 Feb 2020 13:59:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KDxoU8062162 for net@FreeBSD.org; Thu, 20 Feb 2020 13:59:50 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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 13:59:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: aleksandr.fedorov@itglobal.com 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.29 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, 20 Feb 2020 13:59:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 --- Comment #2 from Aleksandr Fedorov --- Yes, it seems that netgraph needs some love. In this case, the function ngc_send() entering to the epoch. So, this is the control path, not data. Data path enter to the epoch from ngthread(), ng_callout_trampoline() and if node really need it: http://bxr.su/FreeBSD/sys/netgraph/ng_base.c#3423 http://bxr.su/FreeBSD/sys/netgraph/ng_base.c#3778 http://bxr.su/FreeBSD/sys/netgraph/ng_device.c#475 After a quick research (http://bxr.su/search?q=3DNET_EPOCH_ENTER&defs=3D&refs=3D&path=3Dsys%2Fnetg= raph&project=3DFreeBSD): 1. http://bxr.su/FreeBSD/sys/netgraph/ng_ip_input.c#131 - already in epoch. 2. http://bxr.su/FreeBSD/sys/netgraph/ng_ether.c#601 - already in epoch. 3. http://bxr.su/FreeBSD/sys/netgraph/ng_ether.c#743 - already in epoch. 4. http://bxr.su/FreeBSD/sys/netgraph/ng_eiface.c#517 - already in epoch. 5. http://bxr.su/FreeBSD/sys/netgraph/ng_iface.c#735 - already in epoch. Do we really need to entering the epoch from control path? http://bxr.su/FreeBSD/sys/netgraph/ng_socket.c#341 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 15:03:45 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7CD8F23B75D for ; Thu, 20 Feb 2020 15:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NdC52jb3z3CN8 for ; Thu, 20 Feb 2020 15:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5D07D23B75C; Thu, 20 Feb 2020 15:03:45 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CCFC23B75B for ; Thu, 20 Feb 2020 15:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NdC51tJZz3CN4 for ; Thu, 20 Feb 2020 15:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3BCE023946 for ; Thu, 20 Feb 2020 15:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KF3j49064502 for ; Thu, 20 Feb 2020 15: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 01KF3j7i064491 for net@FreeBSD.org; Thu, 20 Feb 2020 15: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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 15:03:44 +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 Many People X-Bugzilla-Who: aleksandr.fedorov@itglobal.com 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.29 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, 20 Feb 2020 15:03:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 --- Comment #3 from Aleksandr Fedorov --- Sorry, I'm new to epoch (9). Can we sleep(9) after NET_EPOCH_ENTER? Can a c= all to NET_EPOCH_ENTER be recursive? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 15:06:17 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA6B023B864 for ; Thu, 20 Feb 2020 15:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NdG13ZZ5z3Dsd for ; Thu, 20 Feb 2020 15:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7877B23B862; Thu, 20 Feb 2020 15:06:17 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 783B323B861 for ; Thu, 20 Feb 2020 15:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NdG100xYz3DsP for ; Thu, 20 Feb 2020 15:06:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD9DD23949 for ; Thu, 20 Feb 2020 15:06:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KF6G0L071024 for ; Thu, 20 Feb 2020 15:06:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KF6G48071018 for net@FreeBSD.org; Thu, 20 Feb 2020 15:06: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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 15:06: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: panic X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@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.29 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, 20 Feb 2020 15:06:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 --- Comment #4 from Hans Petter Selasky --- No, EPOCH(9) is similar to the properties of a mtx_lock() / mtx_unlock(). Y= ou cannot sleep(9) under EPOCH(9). --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 15:16:50 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00A3E23BDF7 for ; Thu, 20 Feb 2020 15:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NdV96JXBz45RY for ; Thu, 20 Feb 2020 15:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D0DF623BDF6; Thu, 20 Feb 2020 15:16:49 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CB4E323BDF5 for ; Thu, 20 Feb 2020 15:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NdV94T8Cz45R2 for ; Thu, 20 Feb 2020 15:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8A79F23B32 for ; Thu, 20 Feb 2020 15:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KFGnKw010514 for ; Thu, 20 Feb 2020 15:16:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KFGn7O010511 for net@FreeBSD.org; Thu, 20 Feb 2020 15:16:49 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 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph Date: Thu, 20 Feb 2020 15:16:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lutz@donnerhacke.de 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.29 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, 20 Feb 2020 15:16:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #7 from lutz@donnerhacke.de --- I do have a netgraph system with more than 20k nodes. So providing larger buffers will not suffice. It's a quick workaround, thank you for this. But the real solution needs to transfer chunks of the data. I've to sleep a= bout this idea. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 15:18:41 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B49B723BF2F for ; Thu, 20 Feb 2020 15:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NdXK3dQLz493v for ; Thu, 20 Feb 2020 15:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6F49023BF2E; Thu, 20 Feb 2020 15:18:41 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6EDC023BF2D for ; Thu, 20 Feb 2020 15:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NdXK20qQz493J for ; Thu, 20 Feb 2020 15:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3732523B41 for ; Thu, 20 Feb 2020 15:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KFIfFa075818 for ; Thu, 20 Feb 2020 15:18:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KFIfFH075810 for net@FreeBSD.org; Thu, 20 Feb 2020 15:18: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 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph Date: Thu, 20 Feb 2020 15:18:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lutz@donnerhacke.de 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.29 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, 20 Feb 2020 15:18:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #8 from lutz@donnerhacke.de --- May somebody with sufficent rights change the subject line of this ticket f= rom "through nethraph" to "through netgraph"? ... I missed it while searching. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 15:19:14 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1712223BFDB for ; Thu, 20 Feb 2020 15:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NdXx6DHzz4B8F for ; Thu, 20 Feb 2020 15:19:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D20FF23BFD6; Thu, 20 Feb 2020 15:19:13 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D1C9123BFD3 for ; Thu, 20 Feb 2020 15:19:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NdXx4X5Hz4B7d for ; Thu, 20 Feb 2020 15:19:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8FED723B49 for ; Thu, 20 Feb 2020 15:19:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KFJDRc097864 for ; Thu, 20 Feb 2020 15:19:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KFJDNm097858 for net@FreeBSD.org; Thu, 20 Feb 2020 15:19: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 187835] ngctl(8) strange behavior when adding more than 530 vlan through netgraph Date: Thu, 20 Feb 2020 15:19:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@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 short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2020 15:19:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevans@freebsd.org Summary|ngctl(8) strange behavior |ngctl(8) strange behavior |when adding more than 530 |when adding more than 530 |vlan through nethraph |vlan through netgraph --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 15:35:30 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51E7F23CBD1 for ; Thu, 20 Feb 2020 15:35:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Ndvj5Svrz4fJm for ; Thu, 20 Feb 2020 15:35:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B106523CBD0; Thu, 20 Feb 2020 15:35:29 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9638923CBCE for ; Thu, 20 Feb 2020 15:35:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Ndvj1d44z4fJJ for ; Thu, 20 Feb 2020 15:35:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EBE9223F21 for ; Thu, 20 Feb 2020 15:35:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KFZSSl088584 for ; Thu, 20 Feb 2020 15:35:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KFZSpQ088583 for net@FreeBSD.org; Thu, 20 Feb 2020 15:35:28 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 187835] ngctl(8) strange behavior when adding more than 530 vlan through netgraph Date: Thu, 20 Feb 2020 15:35:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua 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.29 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, 20 Feb 2020 15:35:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #9 from Vladislav V. Prodan --- (In reply to lutz from comment #8) This is an excuse to create another bug report, but already to bugzilla, so that they add the ability to search by similar words --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 16:21:19 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2075423E0E6 for ; Thu, 20 Feb 2020 16:21:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NfwZ6hpPz4s58 for ; Thu, 20 Feb 2020 16:21:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DEBBF23E0E5; Thu, 20 Feb 2020 16:21:18 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE6F823E0E4 for ; Thu, 20 Feb 2020 16:21:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NfwZ50v6z4s4g for ; Thu, 20 Feb 2020 16:21:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9E06424832 for ; Thu, 20 Feb 2020 16:21:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KGLIdF000727 for ; Thu, 20 Feb 2020 16:21:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KGLIM0000726 for net@FreeBSD.org; Thu, 20 Feb 2020 16:21:18 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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 16:21: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: panic X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: aleksandr.fedorov@itglobal.com 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.29 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, 20 Feb 2020 16:21:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 --- Comment #5 from Aleksandr Fedorov --- Thank you for the clarification. Than, if you call #ngctl mkpeer . [NODE_TYPE] [SRC_HOOK] [DST_HOOK] It's go through ngc_send(), which enter to the epoch: http://bxr.su/FreeBSD/sys/netgraph/ng_socket.c#341 And execute node constructor, but most of the node constructors calls malloc(priv,..., M_WAIT_OK) - http://bxr.su/FreeBSD/sys/netgraph/ng_eiface.c#391 As, I understand this is incorrect. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 16:30:02 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44EB223E30F for ; Thu, 20 Feb 2020 16:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Ng6f19Dfz3Nnx for ; Thu, 20 Feb 2020 16:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2739D23E30E; Thu, 20 Feb 2020 16:30:02 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26BAA23E30D for ; Thu, 20 Feb 2020 16:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Ng6f07kmz3Nnd for ; Thu, 20 Feb 2020 16:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F3174248EF for ; Thu, 20 Feb 2020 16:30:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KGU17d040615 for ; Thu, 20 Feb 2020 16:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KGU13L040614 for net@FreeBSD.org; Thu, 20 Feb 2020 16:30: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 187835] ngctl(8) strange behavior when adding more than 530 vlan through netgraph Date: Thu, 20 Feb 2020 16:30:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua 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.29 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, 20 Feb 2020 16:30:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #10 from Vladislav V. Prodan --- (In reply to Aleksandr Fedorov from comment #6) Yes, thank you. On FreeBsd 12.1, with kern.ipc.maxsockbuf =3D 83886080 and adding 564 vlan,= we get the binary format: # ngctl msg em2:lower gettable |more Rec'd response 3 from "[b]:": 0000: 34 02 00 00 76 6c 61 6e 31 30 30 00 00 00 00 00 4...vlan100..... 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020: 00 00 00 00 64 00 64 00 00 00 76 6c 61 6e 31 30 ....d.d...vlan10 0030: 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1............... 0040: 00 00 00 00 00 00 00 00 00 00 65 00 65 00 00 00 ..........e.e... 0050: 76 6c 61 6e 31 30 32 00 00 00 00 00 00 00 00 00 vlan102......... 0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0070: 66 00 66 00 00 00 76 6c 61 6e 31 30 33 00 00 00 f.f...vlan103... ... Further, after a sequence of commands leads to a kernel panic. # delete all freshly created vlans ngctl list | awk ' $2 ~ /ngeth/ {print "ngctl shutdown "$2":";}' | sh # add already 700 vlan cat test_creating_vlan.sh: #!/bin/sh # man ng_vlan ETHER_IF=3Dem2 ngctl -f- < Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D49F23E5D3 for ; Thu, 20 Feb 2020 16:31:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Ng8n1vPXz3wtV for ; Thu, 20 Feb 2020 16:31:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 412CE23E5D2; Thu, 20 Feb 2020 16:31:53 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 40F6C23E5D0 for ; Thu, 20 Feb 2020 16:31:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Ng8n14ZSz3wtP for ; Thu, 20 Feb 2020 16:31:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1FCE924A6A for ; Thu, 20 Feb 2020 16:31:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KGVr6l053178 for ; Thu, 20 Feb 2020 16:31:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KGVrRG053177 for net@FreeBSD.org; Thu, 20 Feb 2020 16:31: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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Thu, 20 Feb 2020 16:31:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@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.29 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, 20 Feb 2020 16:31:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 --- Comment #6 from Hans Petter Selasky --- Yes, that is correct. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 17:08:07 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B813523F67E for ; Thu, 20 Feb 2020 17:08:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48Ngyb3ph8z3KHH for ; Thu, 20 Feb 2020 17:08:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8291023F67D; Thu, 20 Feb 2020 17:08:07 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8234023F67C for ; Thu, 20 Feb 2020 17:08:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Ngyb1rVHz3KH6 for ; Thu, 20 Feb 2020 17:08:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3212425037 for ; Thu, 20 Feb 2020 17:08:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01KH8755039160 for ; Thu, 20 Feb 2020 17:08:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KH87hU039159 for net@FreeBSD.org; Thu, 20 Feb 2020 17:08:07 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 187835] ngctl(8) strange behavior when adding more than 530 vlan through netgraph Date: Thu, 20 Feb 2020 17:08:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@support.od.ua 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.29 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, 20 Feb 2020 17:08:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #11 from Vladislav V. Prodan --- I opened a new ticket for the kernel panic issue - PR 244247. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 20 21:16:25 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1AA72461FB for ; Thu, 20 Feb 2020 21:16:25 +0000 (UTC) (envelope-from fernando@gont.com.ar) Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (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 48NnT40czRz47yS for ; Thu, 20 Feb 2020 21:16:23 +0000 (UTC) (envelope-from fernando@gont.com.ar) Received: from [192.168.0.10] (unknown [181.45.84.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 7AA1C86BAB; Thu, 20 Feb 2020 22:16:19 +0100 (CET) To: FreeBSD Net From: Fernando Gont Subject: IPv6 SLAAC and renumbering events Message-ID: <0971493b-4cbd-14f6-50d0-a3d4d70020cc@gont.com.ar> Date: Thu, 20 Feb 2020 17:01:35 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48NnT40czRz47yS X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fernando@gont.com.ar designates 91.239.96.14 as permitted sender) smtp.mailfrom=fernando@gont.com.ar X-Spamd-Result: default: False [-5.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gont.com.ar]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.44)[ip: (-9.14), ipnet: 91.239.96.0/23(-4.57), asn: 198644(-3.52), country: SI(0.01)]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[14.96.239.91.list.dnswl.org : 127.0.10.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:198644, ipnet:91.239.96.0/23, country:SI]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2020 21:16:25 -0000 Folks, We have been doing some work to improve IPv6 SLAAC's response to renumbering events. The set of proposed modifications are here: * https://tools.ietf.org/html/draft-gont-6man-slaac-renum-02 Where's an elaborate problem statement can be found here: * https://tools.ietf.org/html/draft-gont-v6ops-slaac-renum-02 Question: Would you guys be interested in an implementation of the proposed mitigations? P.S.: If you have any thoughts or comments on the proposed mitigations, that would be appreciated, too. Thanks! Cheers, -- Fernando Gont e-mail: fernando@gont.com.ar || fgont@si6networks.com PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1 From owner-freebsd-net@freebsd.org Thu Feb 20 21:58:09 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6385E247A2E for ; Thu, 20 Feb 2020 21:58:09 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 48NpPC4kLbz4L9R for ; Thu, 20 Feb 2020 21:58:07 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 1A1CB513 for ; Thu, 20 Feb 2020 16:58:05 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute2.internal (MEProxy); Thu, 20 Feb 2020 16:58:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=XwxS5P IHYyFCADFoO8/3llQbxU2mfgRijfb0i6vzrr4=; b=Br97/fL8PKJObOpch/cr2P T3isMQ9EBan/wrZOMleGcP2myok0YIMZFQXG8jaKUkZ9ZYTtvUSHs7T8PbteyDWq jTF2/3w41rmUrec7NExvq/YU6EUKlMpEZbU4YTC9k38GWSDxsiURn2scJd6Me/e5 f87dcbe6mQ3Iyi2Tmdb1d9Ijf39sW4HN1pz/9XB48/TiaadKXHI27DHjSMsI/rdS 6PrkcXNZvcHK3XJNPaCn5BQeIJPXThUT/Uka1UxmqeRO7dlTAsBojXKrCg2Tttif ngfRMHEuYROwuj8gjFwZU4DsiebgP+nXQcsK7kIp+zWyMfYdL6Vu5V5/NB1Oqo7A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkedvgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedflfhoshhhucfrrggvthiivghlfdcuoehjphgrvghtiigv lheshfhrvggvuefuffdrohhrgheqnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhprggv thiivghlsefhrhgvvgeuufffrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8BF08E00A2; Thu, 20 Feb 2020 16:58:04 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <5e5d423b-0711-7454-626a-cc9cb4b004cd@FreeBSD.org> References: <40c4a4df-3df6-d95d-53c2-eef905ff45b1@FreeBSD.org> <5e5d423b-0711-7454-626a-cc9cb4b004cd@FreeBSD.org> Date: Thu, 20 Feb 2020 15:57:38 -0600 From: "Josh Paetzel" To: freebsd-net@freebsd.org Subject: Re: terrible if_vmx / vmxnet3 rx performance with lro (post iflib) Content-Type: text/plain X-Rspamd-Queue-Id: 48NpPC4kLbz4L9R X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.99 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Feb 2020 21:58:09 -0000 On Wed, Feb 19, 2020, at 7:17 AM, Andriy Gapon wrote: > On 18/02/2020 16:09, Andriy Gapon wrote: > > My general experience with post-iflib vmxnet3 is that vmxnet3 has some > > peculiarities that result in a certain "impedance mismatch" with iflib. > > Although we now have a bit less code and it is a bit more regular, there are a > > few significant (for us, at least) problems: > > - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243126 > > - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240608 > > By the way, we (Panzura) use these changes to fix or work around the above two > problems: https://people.freebsd.org/~avg/iflib-vmx.pz.diff > > Questions / comments are welcome. > Especially from people who worked on iflib. > > > - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243392 > > - the problem described above > > - a couple of issues that we already fixed or worked around > > > > We are contemplating locally reverting to the pre-iflib vmxnet3 and we are > > wondering if the conversion was really worth it in general. > > > -- > Andriy Gapon > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > I'd like to follow this up just to make it 100% clear. The problem is a ~4x regression in RX performance. It affects stock FreeBSD, including 12.1-RELEASE. In my 40Gbps connected lab single thread iperf receive went from 9Gbps to 2.5Gbps. If this can't be fixed or looked at I'd heavily suggest looking at reverting "iflib"ing change in stock FreeBSD. -- Thanks, Josh Paetzel From owner-freebsd-net@freebsd.org Fri Feb 21 04:08:03 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0B98D24F93C for ; Fri, 21 Feb 2020 04:08:03 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Nyc16GcGz4v77; Fri, 21 Feb 2020 04:08:01 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id 01L47nNm054022 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 20 Feb 2020 20:07:49 -0800 (PST) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id 01L47njH054021; Thu, 20 Feb 2020 20:07:49 -0800 (PST) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Thu, 20 Feb 2020 20:07:49 -0800 From: Gleb Smirnoff To: Kristof Provost Cc: freebsd-net Subject: Re: vtnet IFF_NEEDSEPOCH? Message-ID: <20200221040749.GM5741@FreeBSD.org> References: <20200218193708.GH5741@FreeBSD.org> <5520BD42-7D17-4561-A2CD-C690B159D15E@FreeBSD.org> <20200219224845.GI5741@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 48Nyc16GcGz4v77 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 21 Feb 2020 04:08:03 -0000 On Thu, Feb 20, 2020 at 12:16:06PM +0100, Kristof Provost wrote: K> On 19 Feb 2020, at 23:48, Gleb Smirnoff wrote: K> > On Tue, Feb 18, 2020 at 10:08:50PM +0100, Kristof Provost wrote: K> > K> So I suspect our call stack is something like virtqueue_intr() -> K> > K> vtnet_rx_vq_intr() -> vtnet_rxq_eof() -> vtnet_rxq_input() -> K> > K> ether_input(). K> > K> I don’t see anything entering epoch in that path, which presumably K> > explains K> > K> the panic, but I still don’t understand why my bhyve current vm K> > doesn’t K> > K> panic in the same way. K> > K> > On bhyve we enter it through interrupt handler, and this is where we K> > enter the epoch. Does RISC-V has interrupt handling by the MI code K> > in sys/kern/kern_intr.c as other platforms? K> > K> It does, yes, but that was the hint I needed. I didn’t know that we entered K> net_epoch automagically based on the interrupt type. K> K> The difference between the two is that Bhyve uses virtio_pci, and in my K> qemu case we run through the virtio_mmio path. In that path we always set K> INTR_TYPE_MISC, so we never set INTR_TYPE_NET, even for if_vtnet, so we K> never entered epoch. K> K> This is the correct fix: K> K> diff --git a/sys/dev/virtio/mmio/virtio_mmio.c K> b/sys/dev/virtio/mmio/virtio_mmio.c K> index 95eb8647052..ccafe326868 100644 K> --- a/sys/dev/virtio/mmio/virtio_mmio.c K> +++ b/sys/dev/virtio/mmio/virtio_mmio.c K> @@ -196,7 +196,7 @@ vtmmio_setup_intr(device_t dev, enum intr_type type) K> return (ENXIO); K> } K> K> - if (bus_setup_intr(dev, sc->res[1], INTR_TYPE_MISC | INTR_MPSAFE, K> + if (bus_setup_intr(dev, sc->res[1], type | INTR_MPSAFE, K> NULL, vtmmio_vq_intr, sc, &sc->ih)) { K> device_printf(dev, "Can't setup the interrupt\n"); K> return (ENXIO); Thanks a lot for the fix, Kristof! -- Gleb Smirnoff From owner-freebsd-net@freebsd.org Fri Feb 21 04:11:02 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A3BA024FCE7 for ; Fri, 21 Feb 2020 04:11:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NygV3bjWz3GpZ for ; Fri, 21 Feb 2020 04:11:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7050E24FCE5; Fri, 21 Feb 2020 04:11:02 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6F99D24FCE4 for ; Fri, 21 Feb 2020 04:11:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NygV1kqmz3Gny for ; Fri, 21 Feb 2020 04:11:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2AA905087 for ; Fri, 21 Feb 2020 04:11:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4B2R8006848 for ; Fri, 21 Feb 2020 04:11:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4B2S3006840 for net@FreeBSD.org; Fri, 21 Feb 2020 04:11:02 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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Fri, 21 Feb 2020 04:11:00 +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 Many People X-Bugzilla-Who: commit-hook@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.29 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, 21 Feb 2020 04:11:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: glebius Date: Fri Feb 21 04:10:42 UTC 2020 New revision: 358193 URL: https://svnweb.freebsd.org/changeset/base/358193 Log: Revert one half of previous change r357558. Don't enter the epoch on sends to control socket. Control socket messages can run constructors of nodes and other stuff that is allowed to M_WAITOK. PR: 244241 Changes: head/sys/netgraph/ng_socket.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 21 04:19:05 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D5AD52500B1 for ; Fri, 21 Feb 2020 04:19:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48Nyrm6T9Hz3xll for ; Fri, 21 Feb 2020 04:19:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8F48B2500B0; Fri, 21 Feb 2020 04:19:04 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E60D2500AF for ; Fri, 21 Feb 2020 04:19:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Nyrm2Pdtz3xlL for ; Fri, 21 Feb 2020 04:19:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09F79511F for ; Fri, 21 Feb 2020 04:19:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4J3k3030257 for ; Fri, 21 Feb 2020 04:19:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4J3bK030256 for net@FreeBSD.org; Fri, 21 Feb 2020 04:19: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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Fri, 21 Feb 2020 04:19: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: panic X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: glebius@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: 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.29 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, 21 Feb 2020 04:19:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 Gleb Smirnoff changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #8 from Gleb Smirnoff --- Sorry for the regression. Head should be good now. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 21 04:24:33 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C6654250923 for ; Fri, 21 Feb 2020 04:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Nyz54xmhz4391 for ; Fri, 21 Feb 2020 04:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A7D68250922; Fri, 21 Feb 2020 04:24:33 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A799B250921 for ; Fri, 21 Feb 2020 04:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Nyz545Grz4390 for ; Fri, 21 Feb 2020 04:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8626A52E8 for ; Fri, 21 Feb 2020 04:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4OXqB051320 for ; Fri, 21 Feb 2020 04:24:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4OXvg051318 for net@FreeBSD.org; Fri, 21 Feb 2020 04:24: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 187835] ngctl(8) strange behavior when adding more than 530 vlan through netgraph Date: Fri, 21 Feb 2020 04:24:31 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some 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-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name bug_severity priority 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.29 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, 21 Feb 2020 04:24:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable12?, | |mfc-stable11? Severity|Affects Only Me |Affects Some People Priority|Normal |--- CC| |net@FreeBSD.org Keywords| |needs-qa --- Comment #12 from Kubilay Kocak --- Can we get any reproducer script(s) and network configurations (rc.conf et = al) that demonstrate the issue included as attachments please --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 21 04:26:06 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 90E5F250B14 for ; Fri, 21 Feb 2020 04:26:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Nz0s5NHlz44Cq for ; Fri, 21 Feb 2020 04:26:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id ACACF250B11; Fri, 21 Feb 2020 04:26:05 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABD05250B10 for ; Fri, 21 Feb 2020 04:26:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Nz0s2hKmz44By for ; Fri, 21 Feb 2020 04:26:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 675E352EB for ; Fri, 21 Feb 2020 04:26:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4Q4Dq073518 for ; Fri, 21 Feb 2020 04:26:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4Q4rJ073513 for net@FreeBSD.org; Fri, 21 Feb 2020 04:26:04 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 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Date: Fri, 21 Feb 2020 04:26:04 +0000 X-Bugzilla-Reason: AssignedTo CC 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: crash, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: glebius@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc 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.29 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, 21 Feb 2020 04:26:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|panic |crash, regression CC| |net@FreeBSD.org Assignee|net@FreeBSD.org |glebius@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 21 04:28:18 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3353B250C6E for ; Fri, 21 Feb 2020 04:28:18 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Nz3N3p83z45my; Fri, 21 Feb 2020 04:28:16 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x443.google.com with SMTP id i6so543769pfc.1; Thu, 20 Feb 2020 20:28:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=24rTIeeUzuaG1ZPLLj7oH+m/AfAGQLUwTTy4okFVK4I=; b=UHQ3wFLzX4gkEJnHShqTAaLUC+gMbCC9zxxXqkUahnalkdcPxAXnlG+35e/J+6Fsh7 a3GGV5/E/4PSGb82Aco58ElfnVylvi5RVuoCZCGGhYZgyEv/k/WbASCAL9N22GlDTJVh H4xysaSu8toqAM9Zh+QT8wg8UpXsHdnCDElGY6kF+bleO7yKRPXIGVZRNdjcdu4I3Ujf xvc6lh1GrOx9AxDyhgE/hhbk4s1+hpZTa7XuX/b9HaTp6bnSI6uU870J1uvOtwHBtu7L J2h0oEQarHjM3aQ9s8df+wectXV+kI49gj8/Zcg7zNgZfYO0pPQU/BgZLvVoBV7bqITl CM9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=24rTIeeUzuaG1ZPLLj7oH+m/AfAGQLUwTTy4okFVK4I=; b=VBrzJF6YhydDVwQYA7JXFMVPsqL6m68dH6vd4wA6plwkso7q9tU0mimwyhmXxxGjL1 aB52Cm/cf07l1pMVYI4boipG78d7snF+YB4P/EQjv4JZsWeCn7lQLH7820fXW/bVzkvZ Lqr4zjgPSRwVlfnE3KFpzjRpI7UxSJpFXDbh0SXBaHqpAeRngSFKLg1rN8x9NbF5F9Dy z8NSuEospVQ7YuQJgnaBpuBjy6hNuZtBt07ME1HDNcLPZhcRoDOOAW/o1mDqF+b5+CsV 5aCby0vEYNLC+yKLQlS2tdKtyRyXSCnNZu3HbYLyddCAQH6B3dhV6hmzVVNPo1U0Ty0w A2Hw== X-Gm-Message-State: APjAAAXaE8FsuvsSMXDLGMcLiFSqxoyTzC8qvLFtWfsrRdAa/kr0/Vws hHQXDGW2FhAKZ/kATkH+LgIapo6/ X-Google-Smtp-Source: APXvYqwKzvPXK6W3N8e2UmQ2Tm0/jI+ZC/2D3a93htxgMnSI9FuyWJekJCzc4BgKpc1llTmy+OtHiQ== X-Received: by 2002:a65:4305:: with SMTP id j5mr38104670pgq.315.1582259294667; Thu, 20 Feb 2020 20:28:14 -0800 (PST) Received: from [192.168.1.101] (180-150-68-130.b49644.syd.nbn.aussiebb.net. [180.150.68.130]) by smtp.gmail.com with ESMTPSA id r26sm811951pga.55.2020.02.20.20.28.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Feb 2020 20:28:14 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: epoch and ath(4) - what should we be doing? To: Hans Petter Selasky , Adrian Chadd , FreeBSD Net References: <4945cea9-700a-6c4f-1fcc-0447a078f33a@selasky.org> From: Kubilay Kocak Message-ID: Date: Fri, 21 Feb 2020 15:28:10 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Thunderbird/74.0 MIME-Version: 1.0 In-Reply-To: <4945cea9-700a-6c4f-1fcc-0447a078f33a@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48Nz3N3p83z45my X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UHQ3wFLz; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::443 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-2.05 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.85)[ip: (-0.66), ipnet: 2607:f8b0::/32(-1.89), asn: 15169(-1.67), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 21 Feb 2020 04:28:18 -0000 On 20/02/2020 8:16 pm, Hans Petter Selasky wrote: > On 2020-02-20 02:01, Adrian Chadd wrote: >> Questions: >> >> * are these things recursive? > > Yes. > >> * what are the rules around sleeping? I've seen some ... discussions >> that were quite animated around this. > > Any non-sleepable lock is allowed under EPOCH(9). > >> * what should I be doing as an epoch tracker if I could call the >> receive routine from multiple paths. I see a few drivers have a single >> place where they're doing EPOCH_ENTER/EPOCH_EXIT using an epoch >> tracker allocated in the interrupt handler stack, but what if I also >> want to call that receive path from another function path too? Can I >> just stuff an epoch_tracker on the stack and it'll DTRT ? > > Try: > https://reviews.freebsd.org/D23674 > >> * .. is there some updated doc or brain dump somewhere I can read? I'd >> like to go add this to a couple out of tree wifi drivers under >> development so this would make that whole thing much easier. > > Gleb ??? > > --HPS > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" I'd be happy to collate any guidelines, documentation, resource links or otherwise handy information that will help people convert/use to epoch across the tree more effectively in the wiki under an Epoch article Just flick the content my way off list or ping me on IRC From owner-freebsd-net@freebsd.org Fri Feb 21 04:35:06 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2928F2513B8 for ; Fri, 21 Feb 2020 04:35:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NzCF2QR4z4CD7 for ; Fri, 21 Feb 2020 04:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 43474251393; Fri, 21 Feb 2020 04:35:03 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E814251392 for ; Fri, 21 Feb 2020 04:35:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NzC95L4zz4CB2 for ; Fri, 21 Feb 2020 04:35:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 109AC54D9 for ; Fri, 21 Feb 2020 04:35:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4Z0Bt001343 for ; Fri, 21 Feb 2020 04:35:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4Z03S001342 for net@FreeBSD.org; Fri, 21 Feb 2020 04:35: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 187835] ngctl(8) strange behavior when adding more than 530 vlan through netgraph Date: Fri, 21 Feb 2020 04:35:00 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: admin@support.od.ua X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 21 Feb 2020 04:35:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #13 from Vladislav V. Prodan --- (In reply to Kubilay Kocak from comment #12) Look at PR 244247. I almost gave the settings and scripts there. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 21 04:41:12 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD046251A0B for ; Fri, 21 Feb 2020 04:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NzLJ4h63z4MLp for ; Fri, 21 Feb 2020 04:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7EA30251A0A; Fri, 21 Feb 2020 04:41:12 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D72F251A09 for ; Fri, 21 Feb 2020 04:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NzLJ1pmKz4ML2 for ; Fri, 21 Feb 2020 04:41:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF1C85633 for ; Fri, 21 Feb 2020 04:41:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4fBrZ013536 for ; Fri, 21 Feb 2020 04:41:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4fBfO013535 for net@FreeBSD.org; Fri, 21 Feb 2020 04:41:11 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 242070] if_vmx: scp on 12.1p1-RELEASE is painfully slow Date: Fri, 21 Feb 2020 04:41: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: 12.1-RELEASE X-Bugzilla-Keywords: needs-qa, performance, regression X-Bugzilla-Severity: Affects Only Me 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: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc flagtypes.name bug_status cc keywords 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.29 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, 21 Feb 2020 04:41:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242070 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|scp on 12.1p1-RELEASE is |if_vmx: scp on |painfully slow |12.1p1-RELEASE is painfully | |slow Flags| |maintainer-feedback?(vmaffi | |one@FreeBSD.org) Status|New |Open CC| |vmaffione@FreeBSD.org Keywords| |needs-qa, performance See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 369 | |99 --- Comment #8 from Kubilay Kocak --- @Vincenzo Can you advise whether this is a likely dupe of bug 236999 or not? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 21 04:41:57 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE0A0251B77 for ; Fri, 21 Feb 2020 04:41:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48NzM9238lz4Nc4 for ; Fri, 21 Feb 2020 04:41:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 29A35251B6C; Fri, 21 Feb 2020 04:41:57 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 291F0251B6B for ; Fri, 21 Feb 2020 04:41:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NzM81sbWz4NbT for ; Fri, 21 Feb 2020 04:41:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 22BEB5682 for ; Fri, 21 Feb 2020 04:41:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4furq018715 for ; Fri, 21 Feb 2020 04:41:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4fuhB018714 for net@FreeBSD.org; Fri, 21 Feb 2020 04:41:56 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 243871] mlx5en don't forwarding packets Date: Fri, 21 Feb 2020 04:41:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@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.29 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, 21 Feb 2020 04:41:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243871 Kubilay Kocak 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 Fri Feb 21 04:46:50 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 17973251EF0 for ; Fri, 21 Feb 2020 04:46:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NzSn6xc3z4WhS for ; Fri, 21 Feb 2020 04:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E9A02251EEF; Fri, 21 Feb 2020 04:46:49 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E955E251EED for ; Fri, 21 Feb 2020 04:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48NzSn5xr7z4WhK for ; Fri, 21 Feb 2020 04:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C61B656C5 for ; Fri, 21 Feb 2020 04:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01L4knLN033979 for ; Fri, 21 Feb 2020 04:46:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01L4kn2k033978 for net@FreeBSD.org; Fri, 21 Feb 2020 04:46:49 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 187835] ngctl(8) strange behavior when adding more than 530 vlan through netgraph Date: Fri, 21 Feb 2020 04:46:49 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: admin@support.od.ua X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 21 Feb 2020 04:46:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187835 --- Comment #14 from Vladislav V. Prodan --- (In reply to Vladislav V. Prodan from comment #13) If there is no data, I will provide. If necessary, I will give access to VPS over IPv6. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 21 13:52:46 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 442F925E4E8 for ; Fri, 21 Feb 2020 13:52:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48PCZk0gP3z3PsB for ; Fri, 21 Feb 2020 13:52:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1083125E4E7; Fri, 21 Feb 2020 13:52:46 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FF3E25E4E6 for ; Fri, 21 Feb 2020 13:52:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PCZj6bzhz3Ps1 for ; Fri, 21 Feb 2020 13:52:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D6D1ABD08 for ; Fri, 21 Feb 2020 13:52:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01LDqjWk090856 for ; Fri, 21 Feb 2020 13:52:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01LDqjW3090855 for net@FreeBSD.org; Fri, 21 Feb 2020 13:52: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 243319] em(4): Panic results in Intel 82579LM taking down local switch Date: Fri, 21 Feb 2020 13:52:46 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@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 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.29 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, 21 Feb 2020 13:52:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243319 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --- Comment #11 from Kyle Evans --- This is (apparently) a firmware bug; I have other laptops on the same revis= ion that do not kill the local switch. In any event- not a FreeBSD issue. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Feb 22 00:48:50 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABC41248A77 for ; Sat, 22 Feb 2020 00:48:50 +0000 (UTC) (envelope-from SRS0+0QzX=4K=moira.hest-guild.se=andkem@lysator.liu.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) (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 48PV7h4rFqz4LtP for ; Sat, 22 Feb 2020 00:48:48 +0000 (UTC) (envelope-from SRS0+0QzX=4K=moira.hest-guild.se=andkem@lysator.liu.se) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 680214000B for ; Sat, 22 Feb 2020 01:48:40 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 4817040003; Sat, 22 Feb 2020 01:48:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL,UNPARSEABLE_RELAY autolearn=disabled version=3.4.2 X-Spam-Score: 0.0 Received: from moira.hest-guild.se (moira.hest-guild.se [IPv6:2001:470:de3f:5ec::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id A728340007 for ; Sat, 22 Feb 2020 01:48:39 +0100 (CET) Received: from andkem (uid 1000) (envelope-from andkem@moira.hest-guild.se) id 1878f0a0 by moira.hest-guild.se (DragonFly Mail Agent v0.12); Sat, 22 Feb 2020 01:48:38 +0100 Date: Sat, 22 Feb 2020 01:48:38 +0100 From: Andreas Kempe To: freebsd-net@freebsd.org, freebsd-infiniband@freebsd.org Subject: [PATCH]: ipoib with mlx4 initialisation ordering Message-ID: <20200222004838.GA22659@moira.hest-guild.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 48PV7h4rFqz4LtP X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=liu.se; spf=pass (mx1.freebsd.org: domain of SRS0@lysator.liu.se designates 2001:6b0:17:f0a0::3 as permitted sender) smtp.mailfrom=SRS0@lysator.liu.se X-Spamd-Result: default: False [-6.31 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.lysator.liu.se]; RCVD_TLS_LAST(0.00)[]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.71)[ip: (-6.67), ipnet: 2001:6b0::/32(-1.04), asn: 1653(-0.83), country: EU(-0.01)]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.a.0.f.7.1.0.0.0.b.6.0.1.0.0.2.list.dnswl.org : 127.0.11.0]; DMARC_POLICY_ALLOW(-0.50)[liu.se,none]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[kempe@lysator.liu.se,SRS0@lysator.liu.se]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:1653, ipnet:2001:6b0::/32, country:EU]; TAGGED_FROM(0.00)[0QzX=4K=moira.hest-guild.se=andkem]; FROM_NEQ_ENVFROM(0.00)[kempe@lysator.liu.se,SRS0@lysator.liu.se] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 22 Feb 2020 00:48:50 -0000 --zx4FCpZtqtKETZ7O Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello everyone, We have had issues with our machine using IPoIB on FreeBSD with the mlx4 driver. The machine would hang on shutdown. We traced the issue to IPoIB registering multicast groups that increase the reference count of the port in the ib_multicast client. When shutting down the machine, the kernel tore down the ib_multicast before it tore down IPoIB, causing it to wait forever for the references to disappear before it deleted the multicast client. This issue can be remedied by changing the initialisation of the IPoIB module to happen after the mlx4 driver is initialised. By doing this, all multicast groups will be cleaned up before the ib_multicast client is destroyed. See patch attached. Sponsored by: Lysator ACS Cordially, Andreas Kempe --ew6BAiZeqk4r7MaW Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ipoib_ordering.patch" Content-Transfer-Encoding: quoted-printable --- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c 2020-02-21 20:52:35.= 311328000 +0100 +++ sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c 2020-02-22 01:06:20.= 720997000 +0100 @@ -1754,7 +1754,7 @@ } } =20 -module_init(ipoib_init_module); +module_init_order(ipoib_init_module, SI_ORDER_FOURTH); module_exit(ipoib_cleanup_module); =20 static int --ew6BAiZeqk4r7MaW-- --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETci4cPcl+ZcyiACiCkqKrhcKSD0FAl5Qel8ACgkQCkqKrhcK SD3gFxAAkev95i1THhddprkY5iW4wb3vwVYcvo7t0cjD32V+ZYJnm4WS7PEKte0y 0nLLqN6ZEi8tXOxs5+Ky/A/v+P1abjsINwbMrcY6s1lp8GoA4AeYsdSexi/5ji0F q5Wtx4CJNJusl264kdrqde44ZCd8yFvaLtcmqRJbIizsY+0YXRIVKfrBlW+gTkjA HdFn3EbZcNVxLVzoCbs7wgYSJhHSFi0ZTsl6MduSocyGw5qQwHn+oo6L2ZIF1ASc 1810rPWDJpR7O1c6Wk+Ilc76yPh0lrB4mekMlb1IhjzkY3Di8Jrj9ha3XzrnulvA rzfAeigGG2BP0HDgJCNZ6ngDsZlb48MgYK9zKp7INwPZp1KGa4GPAUcu8J5b/B2I eVh4f2m4gZZoArd4xUsQ6m7RnnPhVgCevb8vEzjSLPF0pXreXVRY2h5KbV6t/Zks hj55W76PcLzB7EwJMFMx0rX3h5xWAHEP+GuakqByjHrKLivMvijlAXdQDd+wLMs9 Ng6u6o1APDXTXM7mLYdAfVSrypmR7Q9Pzx64WCKVA1fAZj1z7LKlj8Spy4Neq53O xeTo8SR0xKDPp1NrYPcivH8cvhqEIN+FW/cJKP3wAIoBPeEjZS4ef+fvjKl7mmKM BO4Y1UsVtKJIYFoQDr+DQNNs2f5ORI+SIMF7vsqnJj7PPtX6Nok= =n3bI -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- From owner-freebsd-net@freebsd.org Sat Feb 22 04:23:20 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7501524F611 for ; Sat, 22 Feb 2020 04:23:20 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PZvC5tYZz4By1; Sat, 22 Feb 2020 04:23:19 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id A86C01DE2F; Sat, 22 Feb 2020 04:23:19 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 616D534B37B; Sat, 22 Feb 2020 04:23:19 +0000 (UTC) Date: Sat, 22 Feb 2020 04:23:19 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23788: DRAFT: ng_ksocket IPv6 address parsing and unparsing Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , X-Herald-Rules: <28>, <125>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-isgti776xdsdvju2ufh3 X-Phabricator-Mail-ID: 1833224 X-Phabricator-Send-Attempt: 7mcxcsx4p62ja352 Thread-Index: MWQ0ZDVhYmNlZTMxYjNlZWMyN2FmZTk4Yjlh X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H125) herald(H128) monogram(D23788) new() object-type(DREV) phid(PHID-DREV-isgti776xdsdvju2ufh3) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@lutz_donnerhacke.de) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_106a6720e3ad442c41e9405aa21e57ab" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2020 04:23:20 -0000 --b1_106a6720e3ad442c41e9405aa21e57ab Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 bmVlbF9uZWVsYy5vcmcgY3JlYXRlZCB0aGlzIHJldmlzaW9uLgpuZWVsX25lZWxjLm9yZyBhZGRl ZCBhIHByb2plY3Q6IG5ldHdvcmsuCkhlcmFsZCBhZGRlZCBzdWJzY3JpYmVyczogQ29udHJpYnV0 b3IgUmV2aWV3cyAoYmFzZSksIG1lbGlmYXJvLCBsdXR6X2Rvbm5lcmhhY2tlLmRlLCBpbXAuCgpS RVZJU0lPTiBTVU1NQVJZCiAgQWRkIElQdjYgc3VwcG9ydCB0byBhZGRyZXNzIHBhcnNpbmcgYW5k IHVucGFyc2luZyB0byBuZ19rc29ja2V0LgogIAogIFN1Ym1pdHRlZCBieTogTmVlbCBDaGF1aGFu IDxuZWVsIEFUIG5lZWxjIERPVCBvcmc+CiAgCiAgS2VlcCBpbiBtaW5kIHRoYXQgdGhpcyBpcyBh IERSQUZULiBUaGluZ3Mgc3RpbGwgbmVlZCB0byBiZSBkb25lLCBpbmNsdWRpbmc6CiAgCiAgLSBG aXggdGhlICJuZ2N0bDogc2VuZCBtc2c6IEludmFsaWQgYXJndW1lbnQiIGVycm9yCiAgLSBTaG9y dGhhbmQgSVB2NgogIC0gQW55dGhpbmcgbW9yZSBjb21tZW50ZXJzIHdhbnQKClRFU1QgUExBTgog IERvIHNvbWV0aGluZyBsaWtlIHRoaXM6CiAgCiAgbmdjdGwKICA9PT09PQogIAogICsgbWtwZWVy IGtzb2NrZXQgbXlob29rMiBpbmV0Ni9zdHJlYW0vdGNwNgogICsgbXNnIC46bXlob29rMiBjb25u ZWN0IGluZXQ2L1swOjA6MDowOjA6MDowOjFdOjIyCiAgCiAgVGhlIGFkZHJlc3Mgc2hvdWxkIGJl IHNob3J0aGFuZCwgYnV0IHRoaXMgaXMgbm90IHN1cHBvcnRlZCB5ZXQuCgpSRVBPU0lUT1JZCiAg clMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZp ZXdzLmZyZWVic2Qub3JnL0QyMzc4OAoKQUZGRUNURUQgRklMRVMKICBzeXMvbmV0Z3JhcGgvbmdf a3NvY2tldC5jCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9y Zy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IG5lZWxfbmVlbGMub3JnCkNj OiBpbXAsIGx1dHpfZG9ubmVyaGFja2UuZGUsIG1lbGlmYXJvLCAjY29udHJpYnV0b3JfcmV2aWV3 c19iYXNlLCBmcmVlYnNkLW5ldC1saXN0LCBtbWFjeSwga3ByYXZlZW4ubGttbF9nbWFpbC5jb20s IG1hcmNuYXJjX2dtYWlsLmNvbSwgc2ltb252ZWxsYV9nbWFpbC5jb20sIG5vdmljZV90ZWNoaWUu Y29tLCB0b21taS5wZXJuaWxhX2lraS5maQo= --b1_106a6720e3ad442c41e9405aa21e57ab Content-Type: text/x-patch; charset=utf-8; name="D23788.68661.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D23788.68661.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRncmFwaC9uZ19rc29ja2V0LmMgYi9zeXMvbmV0Z3JhcGgvbmdf a3NvY2tldC5jCi0tLSBhL3N5cy9uZXRncmFwaC9uZ19rc29ja2V0LmMKKysrIGIvc3lzL25ldGdy YXBoL25nX2tzb2NrZXQuYwpAQCAtMTQ5LDYgKzE0OSwxOSBAQAogCXsgImVuY2FwIiwJSVBQUk9U T19FTkNBUCwJCVBGX0lORVQJCX0sCiAJeyAiZGl2ZXJ0IiwJSVBQUk9UT19ESVZFUlQsCQlQRl9J TkVUCQl9LAogCXsgInBpbSIsCUlQUFJPVE9fUElNLAkJUEZfSU5FVAkJfSwKKwl7ICJpcDYiLAlJ UFBST1RPX0lQVjYsCQlQRl9JTkVUNgl9LAorCXsgInJhdzYiLAlJUFBST1RPX1JBVywJCVBGX0lO RVQ2CX0sCisJeyAiaWNtcDYiLAlJUFBST1RPX0lDTVBWNiwJCVBGX0lORVQ2CX0sCisJeyAiaWdt cDYiLAlJUFBST1RPX0lHTVAsCQlQRl9JTkVUNgl9LAorCXsgInRjcDYiLAlJUFBST1RPX1RDUCwJ CVBGX0lORVQ2CX0sCisJeyAidWRwNiIsCUlQUFJPVE9fVURQLAkJUEZfSU5FVDYJfSwKKwl7ICJn cmU2IiwJSVBQUk9UT19HUkUsCQlQRl9JTkVUNgl9LAorCXsgImVzcDYiLAlJUFBST1RPX0VTUCwJ CVBGX0lORVQ2CX0sCisJeyAiYWg2IiwJSVBQUk9UT19BSCwJCVBGX0lORVQ2CX0sCisJeyAic3dp cGU2IiwJSVBQUk9UT19TV0lQRSwJCVBGX0lORVQ2CX0sCisJeyAiZW5jYXA2IiwJSVBQUk9UT19F TkNBUCwJCVBGX0lORVQ2CX0sCisJeyAiZGl2ZXJ0NiIsCUlQUFJPVE9fRElWRVJULAkJUEZfSU5F VDYJfSwKKwl7ICJwaW02IiwJSVBQUk9UT19QSU0sCQlQRl9JTkVUNgl9LAogCXsgTlVMTCwJCS0x CQkJCQl9LAogfTsKIApAQCAtMjk0LDE0ICszMDcsNTIgQEAKIAkJYnJlYWs7CiAJICAgIH0KIAot I2lmIDAKLQljYXNlIFBGX0lORVQ2OgkvKiBYWFggaW1wbGVtZW50IHRoaXMgc29tZWRheSAqLwot I2VuZGlmCisJY2FzZSBQRl9JTkVUNjoKKwkgICAgeworCQlzdHJ1Y3Qgc29ja2FkZHJfaW42ICpj b25zdCBzaW42ID0gKHN0cnVjdCBzb2NrYWRkcl9pbjYgKilzYTsKKwkJaW50IGkgPSAwOwogCisJ CXNpbjYtPnNpbjZfcG9ydCA9IDA7CisJCWlmIChzWypvZmZdID09ICdbJykKKwkJCSgqb2ZmKSsr OworCisJCWZvciAoaSA9IDA7IGkgPCA4OyBpKyspIHsKKwkJCXVfbG9uZyB2YWw7CisJCQljaGFy ICplcHRyOworCisJCQl2YWwgPSBzdHJ0b3VsKHMgKyAqb2ZmLCAmZXB0ciwgMTYpOworCQkJaWYg KHZhbCA+IDB4ZmZmZiB8fCBlcHRyID09IHMgKyAqb2ZmKQorCQkJCXJldHVybiAoRUlOVkFMKTsK KwkJCSpvZmYgKz0gKGVwdHIgLSAocyArICpvZmYpKTsKKwkJIAlzaW42LT5zaW42X2FkZHIuczZf YWRkcjE2W2ldID0gaHRvbnModmFsKTsKKwkJIAkvL3NpbjYtPnNpbjZfYWRkci5fX3U2X2FkZHIu X191Nl9hZGRyMTZbaV0gPSBodG9ucyh2YWwpOworCQkJaWYgKGkgPCA3KSB7CisJCQkJaWYgKHNb Km9mZl0gIT0gJzonKQorCQkJCQlyZXR1cm4gKEVJTlZBTCk7CisJCQkJKCpvZmYpKys7CisJCQl9 IGVsc2UgaWYgKHNbKm9mZl0gPT0gJ10nKSB7CisJCQkJKCpvZmYpKys7CisJCQkJaWYgKHNbKm9m Zl0gPT0gJzonKSB7CisJCQkJCSgqb2ZmKSsrOworCQkJCQl2YWwgPSBzdHJ0b3VsKHMgKyAqb2Zm LCAmZXB0ciwgMTApOworCQkJCQlpZiAodmFsID4gMHhmZmZmIHx8IGVwdHIgPT0gcyArICpvZmYp CisJCQkJCQlyZXR1cm4gKEVJTlZBTCk7CisJCQkJCSpvZmYgKz0gKGVwdHIgLSAocyArICpvZmYp KTsKKwkJCQkJc2luNi0+c2luNl9wb3J0ID0gaHRvbnModmFsKTsKKwkJCQl9CisJCQl9CisJCX0K KwkJYnJlYWs7CisJICAgIH0KKwogCWRlZmF1bHQ6CiAJCXJldHVybiAoRUlOVkFMKTsKIAl9CiAK KwlpZiAoc2EtPnNhX2ZhbWlseSA9PSBBRl9JTkVUNikgeworCQlzdHJ1Y3Qgc29ja2FkZHJfaW42 ICpjb25zdCBzaW42ID0gKHN0cnVjdCBzb2NrYWRkcl9pbjYgKilzYTsKKwkJcHJpbnRmKCJYJWh4 XG4iLCBudG9ocyhzaW42LT5zaW42X2FkZHIuczZfYWRkcjE2WzddKSk7CisJfQogCS8qIERvbmUg Ki8KIAkqYnVmbGVuID0gc2EtPnNhX2xlbjsKIAlyZXR1cm4gKDApOwpAQCAtMzU2LDkgKzQwNywy OSBAQAogCQlyZXR1cm4oMCk7CiAJICAgIH0KIAotI2lmIDAKLQljYXNlIFBGX0lORVQ2OgkvKiBY WFggaW1wbGVtZW50IHRoaXMgc29tZWRheSAqLwotI2VuZGlmCisJY2FzZSBQRl9JTkVUNjoKKwkg ICAgeworCQljb25zdCBzdHJ1Y3Qgc29ja2FkZHJfaW42ICpzaW42ID0gKGNvbnN0IHN0cnVjdCBz b2NrYWRkcl9pbjYgKilzYTsKKworCQlzbGVuICs9IHNucHJpbnRmKGNidWYsIGNidWZsZW4sICJp bmV0Ni9bJXU6JXU6JXU6JXU6JXU6JXU6JXU6JXVdIiwKKwkJICAoKGNvbnN0IHVfaW50ICopJnNp bjYtPnNpbjZfYWRkci5fX3U2X2FkZHIuX191Nl9hZGRyMTYpWzBdLAorCQkgICgoY29uc3QgdV9p bnQgKikmc2luNi0+c2luNl9hZGRyLl9fdTZfYWRkci5fX3U2X2FkZHIxNilbMV0sCisJCSAgKChj b25zdCB1X2ludCAqKSZzaW42LT5zaW42X2FkZHIuX191Nl9hZGRyLl9fdTZfYWRkcjE2KVsyXSwK KwkJICAoKGNvbnN0IHVfaW50ICopJnNpbjYtPnNpbjZfYWRkci5fX3U2X2FkZHIuX191Nl9hZGRy MTYpWzNdLAorCQkgICgoY29uc3QgdV9pbnQgKikmc2luNi0+c2luNl9hZGRyLl9fdTZfYWRkci5f X3U2X2FkZHIxNilbNF0sCisJCSAgKChjb25zdCB1X2ludCAqKSZzaW42LT5zaW42X2FkZHIuX191 Nl9hZGRyLl9fdTZfYWRkcjE2KVs1XSwKKwkJICAoKGNvbnN0IHVfaW50ICopJnNpbjYtPnNpbjZf YWRkci5fX3U2X2FkZHIuX191Nl9hZGRyMTYpWzZdLAorCQkgICgoY29uc3QgdV9pbnQgKikmc2lu Ni0+c2luNl9hZGRyLl9fdTZfYWRkci5fX3U2X2FkZHIxNilbN10pOworCQlpZiAoc2luNi0+c2lu Nl9wb3J0ICE9IDApIHsKKwkJCXNsZW4gKz0gc25wcmludGYoY2J1ZiArIHN0cmxlbihjYnVmKSwK KwkJCSAgICBjYnVmbGVuIC0gc3RybGVuKGNidWYpLCAiOiVkIiwKKwkJCSAgICAodV9pbnQpbnRv aHMoc2luNi0+c2luNl9wb3J0KSk7CisJCX0KKwkJaWYgKHNsZW4gPj0gY2J1ZmxlbikKKwkJCXJl dHVybiAoRVJBTkdFKTsKKwkJKm9mZiArPSBzaXplb2YoKnNpbjYpOworCQlyZXR1cm4oMCk7CisJ ICAgIH0KIAogCWRlZmF1bHQ6CiAJCXJldHVybiAoKm5nX2tzb2NrZXRfZ2VuZXJpY19zb2NrYWRk cl90eXBlLnN1cGVydHlwZS0+dW5wYXJzZSkKCg== --b1_106a6720e3ad442c41e9405aa21e57ab-- From owner-freebsd-net@freebsd.org Sat Feb 22 04:25:49 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B06324F73A for ; Sat, 22 Feb 2020 04:25:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PZy30nmCz4Drl; Sat, 22 Feb 2020 04:25:47 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 9BA161DE3E; Sat, 22 Feb 2020 04:25:46 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 9AE1134BA2B; Sat, 22 Feb 2020 04:25:46 +0000 (UTC) Date: Sat, 22 Feb 2020 04:25:46 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23788: DRAFT: ng_ksocket: IPv6 address parsing and unparsing Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <125>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-isgti776xdsdvju2ufh3 X-Phabricator-Mail-ID: 1833241 X-Phabricator-Send-Attempt: fouh33mhqbjzx46u In-Reply-To: References: Thread-Index: MWQ0ZDVhYmNlZTMxYjNlZWMyN2FmZTk4YjlhIF5QrUo= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H125) herald(H128) monogram(D23788) object-type(DREV) phid(PHID-DREV-isgti776xdsdvju2ufh3) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@lutz_donnerhacke.de) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2020 04:25:49 -0000 bmVlbF9uZWVsYy5vcmcgcmV0aXRsZWQgdGhpcyByZXZpc2lvbiBmcm9tICJEUkFGVDogbmdfa3Nv Y2tldCBJUHY2IGFkZHJlc3MgcGFyc2luZyBhbmQgdW5wYXJzaW5nIiB0byAiRFJBRlQ6IG5nX2tz b2NrZXQ6IElQdjYgYWRkcmVzcyBwYXJzaW5nIGFuZCB1bnBhcnNpbmciLgpuZWVsX25lZWxjLm9y ZyBlZGl0ZWQgdGhlIHN1bW1hcnkgb2YgdGhpcyByZXZpc2lvbi4KbmVlbF9uZWVsYy5vcmcgZWRp dGVkIHRoZSB0ZXN0IHBsYW4gZm9yIHRoaXMgcmV2aXNpb24uCgpSRVBPU0lUT1JZCiAgclMgRnJl ZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNUIEFDVElPTgogIGh0dHBzOi8v cmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3ODgvbmV3LwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6 Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QyMzc4OAoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczov L3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRv OiBuZWVsX25lZWxjLm9yZwpDYzogaW1wLCBsdXR6X2Rvbm5lcmhhY2tlLmRlLCBtZWxpZmFybywg I2NvbnRyaWJ1dG9yX3Jldmlld3NfYmFzZSwgZnJlZWJzZC1uZXQtbGlzdCwgbW1hY3ksIGtwcmF2 ZWVuLmxrbWxfZ21haWwuY29tLCBtYXJjbmFyY19nbWFpbC5jb20sIHNpbW9udmVsbGFfZ21haWwu Y29tLCBub3ZpY2VfdGVjaGllLmNvbSwgdG9tbWkucGVybmlsYV9pa2kuZmkK From owner-freebsd-net@freebsd.org Sat Feb 22 04:27:29 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F8B724F864 for ; Sat, 22 Feb 2020 04:27:29 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Pb010dj1z4G24; Sat, 22 Feb 2020 04:27:29 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id E39BA1DE4F; Sat, 22 Feb 2020 04:27:28 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id E2EC834CDF6; Sat, 22 Feb 2020 04:27:28 +0000 (UTC) Date: Sat, 22 Feb 2020 04:27:28 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23788: DRAFT: ng_ksocket: IPv6 address parsing and unparsing Message-ID: <7775aaad9e65ee84c7493f6dc4b3a9c8@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , X-Herald-Rules: <28>, <125>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-isgti776xdsdvju2ufh3 X-Phabricator-Mail-ID: 1833258 X-Phabricator-Send-Attempt: 5uycvr6njjbztbd3 In-Reply-To: References: Thread-Index: MWQ0ZDVhYmNlZTMxYjNlZWMyN2FmZTk4YjlhIF5QrbA= X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H125) herald(H128) monogram(D23788) object-type(DREV) phid(PHID-DREV-isgti776xdsdvju2ufh3) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@lutz_donnerhacke.de) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_7775aaad9e65ee84c7493f6dc4b3a9c8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2020 04:27:29 -0000 --b1_7775aaad9e65ee84c7493f6dc4b3a9c8 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 bmVlbF9uZWVsYy5vcmcgdXBkYXRlZCB0aGlzIHJldmlzaW9uIHRvIERpZmYgNjg2NjIuCm5lZWxf bmVlbGMub3JnIGFkZGVkIGEgY29tbWVudC4KCgogIFJlbW92ZSB0ZXN0aW5nIHByaW50ZnMuCgpS RVBPU0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5DRSBMQVNU IFVQREFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjM3ODg/dnM9Njg2NjEmaWQ9 Njg2NjIKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBodHRwczovL3Jldmlld3MuZnJlZWJz ZC5vcmcvRDIzNzg4L25ldy8KClJFVklTSU9OIERFVEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVl YnNkLm9yZy9EMjM3ODgKCkFGRkVDVEVEIEZJTEVTCiAgc3lzL25ldGdyYXBoL25nX2tzb2NrZXQu YwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGlu Z3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBuZWVsX25lZWxjLm9yZwpDYzogaW1wLCBs dXR6X2Rvbm5lcmhhY2tlLmRlLCBtZWxpZmFybywgI2NvbnRyaWJ1dG9yX3Jldmlld3NfYmFzZSwg ZnJlZWJzZC1uZXQtbGlzdCwgbW1hY3ksIGtwcmF2ZWVuLmxrbWxfZ21haWwuY29tLCBtYXJjbmFy Y19nbWFpbC5jb20sIHNpbW9udmVsbGFfZ21haWwuY29tLCBub3ZpY2VfdGVjaGllLmNvbSwgdG9t bWkucGVybmlsYV9pa2kuZmkK --b1_7775aaad9e65ee84c7493f6dc4b3a9c8 Content-Type: text/x-patch; charset=utf-8; name="D23788.68662.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D23788.68662.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRncmFwaC9uZ19rc29ja2V0LmMgYi9zeXMvbmV0Z3JhcGgvbmdf a3NvY2tldC5jCi0tLSBhL3N5cy9uZXRncmFwaC9uZ19rc29ja2V0LmMKKysrIGIvc3lzL25ldGdy YXBoL25nX2tzb2NrZXQuYwpAQCAtMTQ5LDYgKzE0OSwxOSBAQAogCXsgImVuY2FwIiwJSVBQUk9U T19FTkNBUCwJCVBGX0lORVQJCX0sCiAJeyAiZGl2ZXJ0IiwJSVBQUk9UT19ESVZFUlQsCQlQRl9J TkVUCQl9LAogCXsgInBpbSIsCUlQUFJPVE9fUElNLAkJUEZfSU5FVAkJfSwKKwl7ICJpcDYiLAlJ UFBST1RPX0lQVjYsCQlQRl9JTkVUNgl9LAorCXsgInJhdzYiLAlJUFBST1RPX1JBVywJCVBGX0lO RVQ2CX0sCisJeyAiaWNtcDYiLAlJUFBST1RPX0lDTVBWNiwJCVBGX0lORVQ2CX0sCisJeyAiaWdt cDYiLAlJUFBST1RPX0lHTVAsCQlQRl9JTkVUNgl9LAorCXsgInRjcDYiLAlJUFBST1RPX1RDUCwJ CVBGX0lORVQ2CX0sCisJeyAidWRwNiIsCUlQUFJPVE9fVURQLAkJUEZfSU5FVDYJfSwKKwl7ICJn cmU2IiwJSVBQUk9UT19HUkUsCQlQRl9JTkVUNgl9LAorCXsgImVzcDYiLAlJUFBST1RPX0VTUCwJ CVBGX0lORVQ2CX0sCisJeyAiYWg2IiwJSVBQUk9UT19BSCwJCVBGX0lORVQ2CX0sCisJeyAic3dp cGU2IiwJSVBQUk9UT19TV0lQRSwJCVBGX0lORVQ2CX0sCisJeyAiZW5jYXA2IiwJSVBQUk9UT19F TkNBUCwJCVBGX0lORVQ2CX0sCisJeyAiZGl2ZXJ0NiIsCUlQUFJPVE9fRElWRVJULAkJUEZfSU5F VDYJfSwKKwl7ICJwaW02IiwJSVBQUk9UT19QSU0sCQlQRl9JTkVUNgl9LAogCXsgTlVMTCwJCS0x CQkJCQl9LAogfTsKIApAQCAtMjk0LDEwICszMDcsNDQgQEAKIAkJYnJlYWs7CiAJICAgIH0KIAot I2lmIDAKLQljYXNlIFBGX0lORVQ2OgkvKiBYWFggaW1wbGVtZW50IHRoaXMgc29tZWRheSAqLwot I2VuZGlmCisJY2FzZSBQRl9JTkVUNjoKKwkgICAgeworCQlzdHJ1Y3Qgc29ja2FkZHJfaW42ICpj b25zdCBzaW42ID0gKHN0cnVjdCBzb2NrYWRkcl9pbjYgKilzYTsKKwkJaW50IGkgPSAwOwogCisJ CXNpbjYtPnNpbjZfcG9ydCA9IDA7CisJCWlmIChzWypvZmZdID09ICdbJykKKwkJCSgqb2ZmKSsr OworCisJCWZvciAoaSA9IDA7IGkgPCA4OyBpKyspIHsKKwkJCXVfbG9uZyB2YWw7CisJCQljaGFy ICplcHRyOworCisJCQl2YWwgPSBzdHJ0b3VsKHMgKyAqb2ZmLCAmZXB0ciwgMTYpOworCQkJaWYg KHZhbCA+IDB4ZmZmZiB8fCBlcHRyID09IHMgKyAqb2ZmKQorCQkJCXJldHVybiAoRUlOVkFMKTsK KwkJCSpvZmYgKz0gKGVwdHIgLSAocyArICpvZmYpKTsKKwkJIAlzaW42LT5zaW42X2FkZHIuczZf YWRkcjE2W2ldID0gaHRvbnModmFsKTsKKwkJIAkvL3NpbjYtPnNpbjZfYWRkci5fX3U2X2FkZHIu X191Nl9hZGRyMTZbaV0gPSBodG9ucyh2YWwpOworCQkJaWYgKGkgPCA3KSB7CisJCQkJaWYgKHNb Km9mZl0gIT0gJzonKQorCQkJCQlyZXR1cm4gKEVJTlZBTCk7CisJCQkJKCpvZmYpKys7CisJCQl9 IGVsc2UgaWYgKHNbKm9mZl0gPT0gJ10nKSB7CisJCQkJKCpvZmYpKys7CisJCQkJaWYgKHNbKm9m Zl0gPT0gJzonKSB7CisJCQkJCSgqb2ZmKSsrOworCQkJCQl2YWwgPSBzdHJ0b3VsKHMgKyAqb2Zm LCAmZXB0ciwgMTApOworCQkJCQlpZiAodmFsID4gMHhmZmZmIHx8IGVwdHIgPT0gcyArICpvZmYp CisJCQkJCQlyZXR1cm4gKEVJTlZBTCk7CisJCQkJCSpvZmYgKz0gKGVwdHIgLSAocyArICpvZmYp KTsKKwkJCQkJc2luNi0+c2luNl9wb3J0ID0gaHRvbnModmFsKTsKKwkJCQl9CisJCQl9CisJCX0K KwkJYnJlYWs7CisJICAgIH0KKwogCWRlZmF1bHQ6CiAJCXJldHVybiAoRUlOVkFMKTsKIAl9CkBA IC0zNTYsOSArNDAzLDI5IEBACiAJCXJldHVybigwKTsKIAkgICAgfQogCi0jaWYgMAotCWNhc2Ug UEZfSU5FVDY6CS8qIFhYWCBpbXBsZW1lbnQgdGhpcyBzb21lZGF5ICovCi0jZW5kaWYKKwljYXNl IFBGX0lORVQ2OgorCSAgICB7CisJCWNvbnN0IHN0cnVjdCBzb2NrYWRkcl9pbjYgKnNpbjYgPSAo Y29uc3Qgc3RydWN0IHNvY2thZGRyX2luNiAqKXNhOworCisJCXNsZW4gKz0gc25wcmludGYoY2J1 ZiwgY2J1ZmxlbiwgImluZXQ2L1sldToldToldToldToldToldToldToldV0iLAorCQkgICgoY29u c3QgdV9pbnQgKikmc2luNi0+c2luNl9hZGRyLl9fdTZfYWRkci5fX3U2X2FkZHIxNilbMF0sCisJ CSAgKChjb25zdCB1X2ludCAqKSZzaW42LT5zaW42X2FkZHIuX191Nl9hZGRyLl9fdTZfYWRkcjE2 KVsxXSwKKwkJICAoKGNvbnN0IHVfaW50ICopJnNpbjYtPnNpbjZfYWRkci5fX3U2X2FkZHIuX191 Nl9hZGRyMTYpWzJdLAorCQkgICgoY29uc3QgdV9pbnQgKikmc2luNi0+c2luNl9hZGRyLl9fdTZf YWRkci5fX3U2X2FkZHIxNilbM10sCisJCSAgKChjb25zdCB1X2ludCAqKSZzaW42LT5zaW42X2Fk ZHIuX191Nl9hZGRyLl9fdTZfYWRkcjE2KVs0XSwKKwkJICAoKGNvbnN0IHVfaW50ICopJnNpbjYt PnNpbjZfYWRkci5fX3U2X2FkZHIuX191Nl9hZGRyMTYpWzVdLAorCQkgICgoY29uc3QgdV9pbnQg Kikmc2luNi0+c2luNl9hZGRyLl9fdTZfYWRkci5fX3U2X2FkZHIxNilbNl0sCisJCSAgKChjb25z dCB1X2ludCAqKSZzaW42LT5zaW42X2FkZHIuX191Nl9hZGRyLl9fdTZfYWRkcjE2KVs3XSk7CisJ CWlmIChzaW42LT5zaW42X3BvcnQgIT0gMCkgeworCQkJc2xlbiArPSBzbnByaW50ZihjYnVmICsg c3RybGVuKGNidWYpLAorCQkJICAgIGNidWZsZW4gLSBzdHJsZW4oY2J1ZiksICI6JWQiLAorCQkJ ICAgICh1X2ludCludG9ocyhzaW42LT5zaW42X3BvcnQpKTsKKwkJfQorCQlpZiAoc2xlbiA+PSBj YnVmbGVuKQorCQkJcmV0dXJuIChFUkFOR0UpOworCQkqb2ZmICs9IHNpemVvZigqc2luNik7CisJ CXJldHVybigwKTsKKwkgICAgfQogCiAJZGVmYXVsdDoKIAkJcmV0dXJuICgqbmdfa3NvY2tldF9n ZW5lcmljX3NvY2thZGRyX3R5cGUuc3VwZXJ0eXBlLT51bnBhcnNlKQoK --b1_7775aaad9e65ee84c7493f6dc4b3a9c8-- From owner-freebsd-net@freebsd.org Sat Feb 22 08:59:34 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A073255122; Sat, 22 Feb 2020 08:59:34 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48Pj1w5gFSz40xM; Sat, 22 Feb 2020 08:59:32 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7E66B2602DF; Sat, 22 Feb 2020 09:59:29 +0100 (CET) Subject: Re: [PATCH]: ipoib with mlx4 initialisation ordering To: Andreas Kempe , freebsd-net@freebsd.org, freebsd-infiniband@freebsd.org References: <20200222004838.GA22659@moira.hest-guild.se> From: Hans Petter Selasky Message-ID: Date: Sat, 22 Feb 2020 09:59:23 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <20200222004838.GA22659@moira.hest-guild.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48Pj1w5gFSz40xM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-2.66)[ip: (-9.21), ipnet: 2a01:4f8::/29(-2.54), asn: 24940(-1.55), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 22 Feb 2020 08:59:34 -0000 On 2020-02-22 01:48, Andreas Kempe wrote: > Hello everyone, > > We have had issues with our machine using IPoIB on FreeBSD with the > mlx4 driver. The machine would hang on shutdown. > > We traced the issue to IPoIB registering multicast groups that > increase the reference count of the port in the ib_multicast client. > When shutting down the machine, the kernel tore down the ib_multicast > before it tore down IPoIB, causing it to wait forever for the > references to disappear before it deleted the multicast client. > > This issue can be remedied by changing the initialisation of the IPoIB > module to happen after the mlx4 driver is initialised. By doing this, > all multicast groups will be cleaned up before the ib_multicast client > is destroyed. > > See patch attached. Sponsored by: Lysator ACS > > Cordially, > Andreas Kempe I'll have a closer look on Monday. --HPS From owner-freebsd-net@freebsd.org Sat Feb 22 13:05:31 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8DDC823CF17 for ; Sat, 22 Feb 2020 13:05:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48PpTl3LDZz3MwF for ; Sat, 22 Feb 2020 13:05:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6F1D723CF14; Sat, 22 Feb 2020 13:05:31 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6ED5C23CF13 for ; Sat, 22 Feb 2020 13:05:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PpTl2QK1z3Mw6 for ; Sat, 22 Feb 2020 13:05:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4860B23E8E for ; Sat, 22 Feb 2020 13:05:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01MD5VUj018969 for ; Sat, 22 Feb 2020 13:05:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01MD5VDC018968 for net@FreeBSD.org; Sat, 22 Feb 2020 13:05: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 244247] Kernel panic due to racecondition in ng_eiface shutdown Date: Sat, 22 Feb 2020 13:05:31 +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: 12.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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.29 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, 22 Feb 2020 13:05:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244247 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Kernel panic when removing |Kernel panic due to |700 vlans via netgraph |racecondition in ng_eiface | |shutdown 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 Sat Feb 22 19:48:52 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E8F724AC62 for ; Sat, 22 Feb 2020 19:48:52 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PzR814Clz3xL6; Sat, 22 Feb 2020 19:48:52 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 1A451994; Sat, 22 Feb 2020 19:48:52 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 19417353FB8; Sat, 22 Feb 2020 19:48:52 +0000 (UTC) Date: Sat, 22 Feb 2020 19:48:52 +0000 To: Phabricator From: "neel_neelc.org (Neel Chauhan)" Cc: freebsd-net@freebsd.org Reply-to: "neel_neelc.org (Neel Chauhan)" Subject: [Differential] D23794: nat64lsn: When allocating, check if we already allocated pg in nat64lsn_alloc_pg() Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , X-Herald-Rules: <28>, <81>, <128>, <67> X-Phabricator-Projects: <#network> X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-ookq7jrtmoe3xzcxelnj X-Phabricator-Mail-ID: 1833671 X-Phabricator-Send-Attempt: q2c55bz5pgqyoiro Thread-Index: NmE2MzdmMGVjZjM4ODg1MzNiN2Q0ZTQwMmRk X-Phabricator-Stamps: actor(@neel_neelc.org) application(Differential) author(@neel_neelc.org) herald(H28) herald(H67) herald(H81) herald(H128) monogram(D23794) new() object-type(DREV) phid(PHID-DREV-ookq7jrtmoe3xzcxelnj) revision-repository(rS) revision-status(needs-review) subscriber(#contributor_reviews_base) subscriber(@ae) subscriber(@freebsd-net-list) subscriber(@imp) subscriber(@melifaro) tag(#network) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_0b89657564af586c524fb137e2c4d0de" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2020 19:48:52 -0000 --b1_0b89657564af586c524fb137e2c4d0de Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 bmVlbF9uZWVsYy5vcmcgY3JlYXRlZCB0aGlzIHJldmlzaW9uLgpuZWVsX25lZWxjLm9yZyBhZGRl ZCBhIHByb2plY3Q6IG5ldHdvcmsuCkhlcmFsZCBhZGRlZCBzdWJzY3JpYmVyczogQ29udHJpYnV0 b3IgUmV2aWV3cyAoYmFzZSksIG1lbGlmYXJvLCBhZSwgaW1wLgoKUkVWSVNJT04gU1VNTUFSWQog IG5hdDY0bHNuOiBXaGVuIGFsbG9jYXRpbmcsIGNoZWNrIGlmIHdlIGFscmVhZHkgYWxsb2NhdGVk IHBnIGluIG5hdDY0bHNuX2FsbG9jX3BnKCkuCiAgCiAgU3VibWl0dGVkIGJ5OiBOZWVsIENoYXVo YW4gPG5lZWwgQVQgbmVlbGMgRE9UIG9yZz4KClJFUE9TSVRPUlkKICByUyBGcmVlQlNEIHNyYyBy ZXBvc2l0b3J5CgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcv RDIzNzk0CgpBRkZFQ1RFRCBGSUxFUwogIHN5cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRsc24u YwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGlu Z3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBuZWVsX25lZWxjLm9yZwpDYzogaW1wLCBh ZSwgbWVsaWZhcm8sIGZyZWVic2QtbmV0LWxpc3QsICNjb250cmlidXRvcl9yZXZpZXdzX2Jhc2Us IG1tYWN5LCBrcHJhdmVlbi5sa21sX2dtYWlsLmNvbSwgbWFyY25hcmNfZ21haWwuY29tLCBzaW1v bnZlbGxhX2dtYWlsLmNvbSwgbm92aWNlX3RlY2hpZS5jb20sIHRvbW1pLnBlcm5pbGFfaWtpLmZp Cg== --b1_0b89657564af586c524fb137e2c4d0de Content-Type: text/x-patch; charset=utf-8; name="D23794.68680.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D23794.68680.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRwZmlsL2lwZncvbmF0NjQvbmF0NjRsc24uYyBiL3N5cy9uZXRw ZmlsL2lwZncvbmF0NjQvbmF0NjRsc24uYwotLS0gYS9zeXMvbmV0cGZpbC9pcGZ3L25hdDY0L25h dDY0bHNuLmMKKysrIGIvc3lzL25ldHBmaWwvaXBmdy9uYXQ2NC9uYXQ2NGxzbi5jCkBAIC0xMTQz LDI2ICsxMTQzLDI3IEBACiAJaWYgKGxpbmsgPT0gTlVMTCkKIAkJcmV0dXJuIChQR19FUlJPUigx KSk7CiAKLQkvKgotCSAqIFRPRE86IGNoZWNrIHRoYXQgd2UgZGlkIG5vdCBhbHJlYWR5IGFsbG9j YXRlZCBQRyBpbgotCSAqCSBwcmV2aW91cyBjYWxsLgotCSAqLwotCiAJcmV0ID0gMDsKIAlhbGlh cyA9IGxpbmstPmFsaWFzOwogCS8qIEZpbmQgcGxhY2UgaW4gcGdjaHVuayB3aGVyZSBQRyBjYW4g YmUgYWRkZWQgKi8KIAlzd2l0Y2ggKGppLT5wcm90bykgewogCWNhc2UgSVBQUk9UT19UQ1A6CisJ CWlmICghY2tfcHJfbG9hZF9wdHIoJmFsaWFzLT50Y3BfcGcpKQorCQkJYnJlYWs7CiAJCXJldCA9 IG5hdDY0bHNuX2FsbG9jX3Byb3RvX3BnKGNmZywgYWxpYXMsCiAJCSAgICAmYWxpYXMtPnRjcF9j aHVua21hc2ssIGFsaWFzLT50Y3BfcGdtYXNrLAogCQkgICAgYWxpYXMtPnRjcCwgJmFsaWFzLT50 Y3BfcGcsIGppLT5wcm90byk7CiAJCWJyZWFrOwogCWNhc2UgSVBQUk9UT19VRFA6CisJCWlmICgh Y2tfcHJfbG9hZF9wdHIoJmFsaWFzLT51ZHBfcGcpKQorCQkJYnJlYWs7CiAJCXJldCA9IG5hdDY0 bHNuX2FsbG9jX3Byb3RvX3BnKGNmZywgYWxpYXMsCiAJCSAgICAmYWxpYXMtPnVkcF9jaHVua21h c2ssIGFsaWFzLT51ZHBfcGdtYXNrLAogCQkgICAgYWxpYXMtPnVkcCwgJmFsaWFzLT51ZHBfcGcs IGppLT5wcm90byk7CiAJCWJyZWFrOwogCWNhc2UgSVBQUk9UT19JQ01QOgorCQlpZiAoIWNrX3By X2xvYWRfcHRyKCZhbGlhcy0+aWNtcF9wZykpCisJCQlicmVhazsKIAkJcmV0ID0gbmF0NjRsc25f YWxsb2NfcHJvdG9fcGcoY2ZnLCBhbGlhcywKIAkJICAgICZhbGlhcy0+aWNtcF9jaHVua21hc2ss IGFsaWFzLT5pY21wX3BnbWFzaywKIAkJICAgIGFsaWFzLT5pY21wLCAmYWxpYXMtPmljbXBfcGcs IGppLT5wcm90byk7Cgo= --b1_0b89657564af586c524fb137e2c4d0de--