From owner-freebsd-net@freebsd.org Sun May 16 06:42:00 2021 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 E10EE6373A0 for ; Sun, 16 May 2021 06:42:00 +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 4FjXk05rcKz4XGq for ; Sun, 16 May 2021 06:42:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C89AA63736B; Sun, 16 May 2021 06:42: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 C85E863739F for ; Sun, 16 May 2021 06:42: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjXk05F8Kz4XGp for ; Sun, 16 May 2021 06:42:00 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D1441431B for ; Sun, 16 May 2021 06:42:00 +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 14G6g04M098424 for ; Sun, 16 May 2021 06:42:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14G6g0YX098423 for net@FreeBSD.org; Sun, 16 May 2021 06:42: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 246885] if_igb: Loader tunables/LEDs gone after iflib conversion? Date: Sun, 16 May 2021 06:42: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: 12.1-RELEASE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.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: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 06:42:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246885 Jose Luis Duran changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #217604|0 |1 is obsolete| | --- Comment #8 from Jose Luis Duran --- Created attachment 224987 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224987&action= =3Dedit Add back LED device node. Add `iflib_led_create` late during `attach_post()` (don't know where else to put it). I could not find any other device using `iflib_led_create` (I must be identifying NICs wrong). Test plan: # echo f2 > /dev/led/em0 LEDs blink. # echo 0 > /dev/led/em0 LEDs stop blinking. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun May 16 06:49:39 2021 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 0B6A86377E0 for ; Sun, 16 May 2021 06:49:39 +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 4FjXtp6lTFz4Xy5 for ; Sun, 16 May 2021 06:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E5C636373D9; Sun, 16 May 2021 06:49:38 +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 E59066375EB for ; Sun, 16 May 2021 06:49:38 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjXtp65M7z4XwD for ; Sun, 16 May 2021 06:49:38 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B6B3B13663 for ; Sun, 16 May 2021 06:49:38 +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 14G6ncKL001302 for ; Sun, 16 May 2021 06:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14G6ncg6001300 for net@FreeBSD.org; Sun, 16 May 2021 06:49:38 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 246885] if_em: Add back LED device node (gone after iflib conversion) Date: Sun, 16 May 2021 06:49:38 +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: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.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: 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.34 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 May 2021 06:49:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246885 Jose Luis Duran changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|if_igb: Loader |if_em: Add back LED device |tunables/LEDs gone after |node (gone after iflib |iflib conversion? |conversion) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun May 16 06:50:11 2021 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 E8C6F6378AC for ; Sun, 16 May 2021 06:50:11 +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 4FjXvR645bz4Y2S for ; Sun, 16 May 2021 06:50:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D0441637847; Sun, 16 May 2021 06:50:11 +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 D00E96373E7 for ; Sun, 16 May 2021 06:50:11 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjXvR5Vdgz4XqX for ; Sun, 16 May 2021 06:50:11 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A6215142FB for ; Sun, 16 May 2021 06:50: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 14G6oBQl001488 for ; Sun, 16 May 2021 06:50:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14G6oBlZ001487 for net@FreeBSD.org; Sun, 16 May 2021 06:50: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 246885] if_em: Add back LED device node (gone after iflib conversion) Date: Sun, 16 May 2021 06:50: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: CURRENT X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.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: 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.34 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 May 2021 06:50:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246885 Jose Luis Duran changed: What |Removed |Added ---------------------------------------------------------------------------- Version|12.1-RELEASE |CURRENT --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun May 16 07:22:38 2021 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 2FDC9638488 for ; Sun, 16 May 2021 07:22:38 +0000 (UTC) (envelope-from vmaffione@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjYct0kmqz4cXd for ; Sun, 16 May 2021 07:22:38 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id EB6CF910E for ; Sun, 16 May 2021 07:22:37 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pl1-f181.google.com with SMTP id h7so1555127plt.1 for ; Sun, 16 May 2021 00:22:37 -0700 (PDT) X-Gm-Message-State: AOAM53366/aH5LjTraSFBb89VwTvMpY9vuBaEkUJBeg+mYRTYV6IrIwm Xbbh4A8X6/Oyq3OYO2Cm+3AGFG/0/BStuLwoy90= X-Google-Smtp-Source: ABdhPJyLtuJ/6pNSAGsMsOIiDas/pfH+fLWSxPRHvVb0ar9atowTfSYe0+teURRGIvVoqEEwVr8eMGzEqDUx0/tAiT4= X-Received: by 2002:a17:90b:4a4e:: with SMTP id lb14mr19932542pjb.115.1621149756890; Sun, 16 May 2021 00:22:36 -0700 (PDT) MIME-Version: 1.0 References: <91e21d18a4214af4898dd09f11144493@EX16-05.ad.unipi.it> In-Reply-To: From: Vincenzo Maffione Date: Sun, 16 May 2021 09:22:25 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Vector Packet Processing (VPP) portability on FreeBSD To: Francois ten Krooden Cc: Jacques Fourie , Luigi Rizzo , "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 07:22:38 -0000 Hi, Yes, you are not using emulated netmap mode. In the test setup depicted here https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap-interfaces#test-setup I think you should really try to replace VPP with the netmap "bridge" application (tools/tools/netmap/bridge.c), and see what numbers you get. You would run the application this way # bridge -i ix0 -i ix1 and this will forward any traffic between ix0 and ix1 (in both directions). These numbers would give you a better idea of where to look next (e.g. VPP code improvements or system tuning such as NIC interrupts, CPU binding, etc.). Cheers, Vincenzo Il giorno gio 13 mag 2021 alle ore 15:02 Francois ten Krooden < ftk@nanoteq.com> ha scritto: > On Thursday, 13 May 2021 13:59 Jacques Fourie > > > > > On Thu, May 13, 2021 at 7:27 AM Francois ten Krooden > > wrote: > > > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > > wrote: > > > > > > > > Hi > > > > > > > > Just for info I ran a test using TREX (https://trex-tgn.cisco.com/) > > > > Where I just sent traffic in one direction through the box > > running FreeBSD > > > with VPP using the netmap interfaces. > > > > These were the results we found before significant packet loss > started > > > occuring. > > > > +-------------+------------------+ > > > > | Packet Size | Throughput (pps) | > > > > +-------------+------------------+ > > > > | 64 bytes | 1.008 Mpps | > > > > | 128 bytes | 920.311 kpps | > > > > | 256 bytes | 797.789 kpps | > > > > | 512 bytes | 706.338 kpps | > > > > | 1024 bytes | 621.963 kpps | > > > > | 1280 bytes | 569.140 kpps | > > > > | 1440 bytes | 547.139 kpps | > > > > | 1518 bytes | 524.864 kpps | > > > > +-------------+------------------+ > > > > > > Those numbers are way too low for netmap. > > > > > > I believe you are either using the emulated mode, or issuing a system > call > > on > > > every single packet. > > > > > > I am not up to date (Vincenzo may know better) but there used to be a > > sysctl > > > variable to control the operating mode: > > > > > > https://www.freebsd.org/cgi/man.cgi?query=netmap&sektion=4 > > > > > > SYSCTL VARIABLES AND MODULE PARAMETERS > > > Some aspects of the operation of netmap and VALE are controlled > > > through > > > sysctl variables on FreeBSD (dev.netmap.*) and module parameters > on > > > Linux > > > (/sys/module/netmap/parameters/*): > > > > > > dev.netmap.admode: 0 > > > Controls the use of native or emulated adapter mode. > > > > > > 0 uses the best available option; > > > > > > 1 forces native mode and fails if not available; > > > > > > 2 forces emulated hence never fails. > > > > > > If it still exists, try set it to 1. If the program fails, then you > should figure > > out > > > why native netmap support is not compiled in. > > > > Thank you. I did set this to 1 specifically now and it still works. So > then it > > should be running in native mode. > > > > I will dig a bit into the function that processes the incoming packets. > > The code I currently use was added to VPP in somewhere before 2016, so it > > might be that there is a bug in that code. > > > > Will try and see if I can find anything interesting there. > > > > > > > > cheers > > > luigi > > > > > A couple of questions / suggestions: > > Thank you for the suggestions. > > > Will it be possible to test using the netmap bridge app or a vale switch > > instead of vpp? > I did perform a test using netmap-fwd ( > https://github.com/Netgate/netmap-fwd) > I did look at the code and it appears that the packets are processed as a > batch in the application. But each packet is passed through the complete > IP stack in the application, before the next one is processed. > With this application it was possible to reach about 1.4Mpps for 64-byte > packets, and 812 kpps for 1518 byte packets > I haven't done any other tweaking on the FreeBSD box yet. It is running > FreeBSD 13.0 > > > Did you verify that the TREX setup can perform at line rate when > connected > > back to back? > We did tests with TREX back to back yesterday and we reached the following. > +-------------+------------------+ > | Packet Size | Throughput (pps) | > +-------------+------------------+ > | 64 bytes | 14.570 Mpps | > | 128 bytes | 8.466 kpps | > | 256 bytes | 4.542 kpps | > | 512 bytes | 2.354 kpps | > | 1024 bytes | 1.200 kpps | > | 1280 bytes | 965.042 kpps | > | 1440 bytes | 857.795 kpps | > | 1518 bytes | 814.690 kpps | > +-------------+------------------+ > > > Which NICs are you using? > We are using Intel X552 10 GbE SFP+ NIC's which is part of the Intel Xeon > D-1537 SoC, on a SuperMicro X10SDV-8C-TLN4F+ Board. > > I will also put the results on the github repository > https://github.com/ftk-ntq/vpp/wiki > and will update as we get some more information > > Kind Regards > Francois > > > > > > > Important Notice: > > > > This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail > legal > > notice available at: > > http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx > > _______________________________________________ > > 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" > > > Important Notice: > > This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail > legal notice available at: > http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx > From owner-freebsd-net@freebsd.org Sun May 16 11:19:13 2021 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 B521063E2B6 for ; Sun, 16 May 2021 11:19:13 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "vtr.rulingia.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fjfsr3RhWz3L4d for ; Sun, 16 May 2021 11:19:12 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) by vtr.rulingia.com (8.16.1/8.15.2) with ESMTPS id 14GBJ1Ah080405 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 16 May 2021 21:19:07 +1000 (AEST) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 14GBJ1Ah080405 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 14GBItrD075421 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 16 May 2021 21:18:55 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 14GBItWe075420; Sun, 16 May 2021 21:18:55 +1000 (AEST) (envelope-from peter) Date: Sun, 16 May 2021 21:18:55 +1000 From: Peter Jeremy To: "Patrick M. Hausen" Cc: freebsd-net@freebsd.org Subject: Re: sender source IP address on UDP socket bound to INADDR_ANY in golang Message-ID: References: <2B26D5AB-0F77-4E36-AD9A-D7D6CE5F173C@punkt.de> <846FFF4A-0D81-4F04-8358-1B14F996C0A2@punkt.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Fy7fqJva2Z+yZ6Q2" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Rspamd-Queue-Id: 4Fjfsr3RhWz3L4d X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[rulingia.com:s=default]; FREEFALL_USER(0.00)[peter]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; SPAMHAUS_ZRD(0.00)[2001:19f0:5801:ebe:5400:1ff:fe53:30fd:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rulingia.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[rulingia.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5801:ebe:5400:1ff:fe53:30fd:from]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 11:19:13 -0000 --Fy7fqJva2Z+yZ6Q2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Patrick, On 2021-May-14 23:40:04 +0200, "Patrick M. Hausen" wrote: >do you have some spare time and would you be so kind to look at our discus= sion >here: https://github.com/AdguardTeam/AdGuardHome/issues/3015 > >Andrey from the AdGuard team references this golang issue: >https://github.com/golang/go/issues/8329 > >Which references this FreeBSD issue: >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193246 I've skimmed through all three issues. >What I as a sysadmin can observe is that the test code Andrey gave me >binds to *.53 on IPv4 and IPv6 although I start it with `-l 0.0.0.0` which= is >clearly an IPv4 "any" address. > >I am not 100% familiar with the API but as I understand you can treat >IPv4 as IPv6 via the socket interface by using an IPv4-mapped IPv6 >address. So far so good. Yes. >But then of course you have an AF_INET6 socket and it seems that >FreeBSD does not allow setting IPv4 specific options via setsockopt() >because it's an IPv6 socket. Correct? That's my reading of the FreeBSD issue. >Why can you have a single socket on both address families, anyway? >IPv4 and IPv6 are as "related" as IP and IPX - if you go dual stack, >treat them both separately - no? This is getting outside my expertise but my understanding is that the idea behind using IPv4-mapped addressed is to simplify building dual-stack applications, particularly during the early introduction of IPv6. The main benefit is that it made it possible to support both IPv4 and IPv6 without needing 2 sockets - which means you can stick to doing an accept() on a blocking socket, rather than needing to use poll() or select() etc with a pair of non-blocking sockets. I'm not sure how to solve your problem, sorry. --=20 Peter Jeremy --Fy7fqJva2Z+yZ6Q2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmCg/5RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzSLqA//b5p4Ec/UOsqe4tLRvvQhhLjIHVUdmn7lfQwmn0I5luDQ1mz8nNl7kGeU BsDKOdfUXc6mhzHFW+rA4uD0//3GWnnz/wbSoOJFH+olAa91Heggyx15DgbodTuG LaxKY79jBsjKXpuaWtTOhnr955/FgyfXx28yVLdm541KAJ8kOMKDWaxBV2xJSRYR e46ww3kak/k6wm5xuc91NzYL3fU01Rrkbl1bEr39kOb8r/Wm9pk5JGWmpjeeRuWC mWAwXFIP/C315AZdMx4lI/vS9YidusvHZP79hGATm7VT1+64A5lTFNaObXnPHQE0 Iq9A4aBidLE2tYPWCBqB2Re/P/7TWo2It4cgiHW/w7uIjsa7tJSPTPlGSS+u7q2H WRfcurfaINw6h8d/3RIA/rSMyi21iutnERVAgK9LD8cwcDuUjejtCEyd5UfEYFdk uAyusWvizdgeKMBtL8YJ7eXZ5QkXoLhAbSNGHdsdnwEsOM7Y5Gsvq+i3y1S3NpjU kx2L6pAwq6An8jPidvF4h/PCdtPVS+z1wOiSDMhovbE8Ld0SzrNKoXCGNpBopaod I7lHfAPZehuqAdYy4yx5WCAIkJmyGyqV8l6o5NB2vZ6J47PI6c1B5LH67Art3YJT Wg2tFTJS29PENkL+bOiEum8K4l/mf7U8pcHWrQcJHJwuiBDUBho= =QdIG -----END PGP SIGNATURE----- --Fy7fqJva2Z+yZ6Q2-- From owner-freebsd-net@freebsd.org Sun May 16 11:59:45 2021 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 0203163F1FA for ; Sun, 16 May 2021 11:59:45 +0000 (UTC) (envelope-from lutz@iks-jena.de) Received: from annwfn.iks-jena.de (annwfn.iks-jena.de [IPv6:2001:4bd8::19]) (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 4Fjgmb4QFfz3QKx for ; Sun, 16 May 2021 11:59:43 +0000 (UTC) (envelope-from lutz@iks-jena.de) X-SMTP-Sender: IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f Received: from belenus.iks-jena.de (belenus.iks-jena.de [IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f]) by annwfn.iks-jena.de (8.15.2/8.15.2) with ESMTPS id 14GBxVAl014983 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 16 May 2021 13:59:31 +0200 X-MSA-Host: belenus.iks-jena.de Received: (from lutz@localhost) by belenus.iks-jena.de (8.14.3/8.14.1/Submit) id 14GBxVWY008618; Sun, 16 May 2021 13:59:31 +0200 Date: Sun, 16 May 2021 13:59:31 +0200 From: Lutz Donnerhacke To: Peter Jeremy Cc: "Patrick M. Hausen" , freebsd-net@freebsd.org Subject: Re: sender source IP address on UDP socket bound to INADDR_ANY in golang Message-ID: <20210516115931.GA8587@belenus.iks-jena.de> References: <2B26D5AB-0F77-4E36-AD9A-D7D6CE5F173C@punkt.de> <846FFF4A-0D81-4F04-8358-1B14F996C0A2@punkt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-message-flag: Please send plain text messages only. Thank you. User-Agent: Mutt/1.5.17 (2007-11-01) X-Rspamd-Queue-Id: 4Fjgmb4QFfz3QKx X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lutz@iks-jena.de designates 2001:4bd8::19 as permitted sender) smtp.mailfrom=lutz@iks-jena.de X-Spamd-Result: default: False [-2.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:4bd8::/48]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[donnerhacke.de]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:4bd8::19:from]; SPAMHAUS_ZRD(0.00)[2001:4bd8::19:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[lutz@donnerhacke.de,lutz@iks-jena.de]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15725, ipnet:2001:4bd8::/29, country:DE]; FROM_NEQ_ENVFROM(0.00)[lutz@donnerhacke.de,lutz@iks-jena.de]; MAILMAN_DEST(0.00)[freebsd-net]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 11:59:45 -0000 On Sun, May 16, 2021 at 09:18:55PM +1000, Peter Jeremy via freebsd-net wrote: > This is getting outside my expertise but my understanding is that > the idea behind using IPv4-mapped addressed is to simplify building > dual-stack applications, particularly during the early introduction > of IPv6. The main benefit is that it made it possible to support > both IPv4 and IPv6 without needing 2 sockets - which means you > can stick to doing an accept() on a blocking socket, rather than > needing to use poll() or select() etc with a pair of non-blocking > sockets. Correct. IPv4-mapped addresses exists only for this purpose, they do not have any meaning outside of this API. Unfortunatly the API is incomplete, but still heavily used. For this purpose the API might be stretched over its limits. From owner-freebsd-net@freebsd.org Sun May 16 17:41:52 2021 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 E1CCE629FEE for ; Sun, 16 May 2021 17:41:52 +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 4FjqMN5tTlz4t79 for ; Sun, 16 May 2021 17:41:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C9E8A62A64A; Sun, 16 May 2021 17:41:52 +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 C9B3662A495 for ; Sun, 16 May 2021 17:41:52 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjqMN5JCDz4tLx for ; Sun, 16 May 2021 17:41:52 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9F3D61CEB3 for ; Sun, 16 May 2021 17:41:52 +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 14GHfqIr045716 for ; Sun, 16 May 2021 17:41:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14GHfqq5045715 for net@FreeBSD.org; Sun, 16 May 2021 17:41:52 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 255874] [PATCH] netgraph: Fix a double free in ng_checksum_rcvdata Date: Sun, 16 May 2021 17:41:51 +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: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: donner@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.34 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 May 2021 17:41:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255874 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D687e510e5ce32fddf46a9dc1d517ccc8a= 8e25581 commit 687e510e5ce32fddf46a9dc1d517ccc8a8e25581 Author: Lutz Donnerhacke AuthorDate: 2021-05-15 09:32:57 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-16 17:39:51 +0000 netgraph/ng_checksum: Fix double free error m_pullup(9) frees the mbuf(9) chain in the case of an allocation error. The mbuf chain must not be freed again in this case. PR: 255874 Submitted by: Approved by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30273 sys/netgraph/ng_checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun May 16 17:42:58 2021 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 379A362A674 for ; Sun, 16 May 2021 17:42:58 +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 4FjqNf0wMpz4tYR for ; Sun, 16 May 2021 17:42:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1F5E162A364; Sun, 16 May 2021 17:42:58 +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 1F1E462A78C for ; Sun, 16 May 2021 17:42:58 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjqNf0Jb8z4tcy for ; Sun, 16 May 2021 17:42: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E7B5E1CCDD for ; Sun, 16 May 2021 17:42:57 +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 14GHgvqp046759 for ; Sun, 16 May 2021 17:42:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14GHgvsx046758 for net@FreeBSD.org; Sun, 16 May 2021 17:42:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 255874] [PATCH] netgraph: Fix a double free in ng_checksum_rcvdata Date: Sun, 16 May 2021 17:42:58 +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: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: donner@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: donner@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.34 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 May 2021 17:42:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255874 Lutz Donnerhacke changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun May 16 21:00:37 2021 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 2921F63120A for ; Sun, 16 May 2021 21:00: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 4Fjvmh6Yf6z3r1P for ; Sun, 16 May 2021 21:00:36 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id A0B94631284; Sun, 16 May 2021 21:00:36 +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 8D104631043 for ; Sun, 16 May 2021 21:00:36 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fjvmh1J51z3qvY for ; Sun, 16 May 2021 21:00:36 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF6261F6D7 for ; Sun, 16 May 2021 21:00:35 +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 14GL0ZWD057572 for ; Sun, 16 May 2021 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14GL0Ztr057571 for net@FreeBSD.org; Sun, 16 May 2021 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202105162100.14GL0Ztr057571@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 May 2021 21:00:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 21:00:37 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 166724 | if_re(4): watchdog timeout 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 | 217978 | dhclient: Support supersede statement for option Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki 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 | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 238707 | Lock order reversal: rtentry vs "nd6 list" Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile 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 Open | 244066 | divert: Add sysctls for divert socket send and re Open | 118111 | rc: network.subr Add MAC address based interface 28 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun May 16 22:58:27 2021 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 EB1B7634E63 for ; Sun, 16 May 2021 22:58:27 +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 4FjyNg5sfdz4hP8 for ; Sun, 16 May 2021 22:58:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C890F63501D; Sun, 16 May 2021 22:58:27 +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 C7FC3634DE3 for ; Sun, 16 May 2021 22:58:27 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjyNg4fMdz4hQx for ; Sun, 16 May 2021 22:58:27 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6CC9F20C75 for ; Sun, 16 May 2021 22:58:27 +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 14GMwRth024927 for ; Sun, 16 May 2021 22:58:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14GMwRNu024926 for net@FreeBSD.org; Sun, 16 May 2021 22:58:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 207087] kernel: r295285 in 10.2-STABLE breaks OpenVPN functionality Date: Sun, 16 May 2021 22:58:27 +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: 10.2-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gnn@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 22:58:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207087 George V. Neville-Neil changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gnn@FreeBSD.org |bugs@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon May 17 09:33:18 2021 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 0B9CE641B9F for ; Mon, 17 May 2021 09:33:18 +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 4FkDT96m2Bz3R1g for ; Mon, 17 May 2021 09:33:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E647F641B9E; Mon, 17 May 2021 09:33: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 E6116641973 for ; Mon, 17 May 2021 09:33: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkDT965Y9z3R6n for ; Mon, 17 May 2021 09:33:17 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9D1C18A4 for ; Mon, 17 May 2021 09:33:17 +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 14H9XHrh063274 for ; Mon, 17 May 2021 09:33:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14H9XHau063273 for net@FreeBSD.org; Mon, 17 May 2021 09:33:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 255882] vxlan(4): kernel panic when unloading module if vxlan interface in VNET jails not shutdown before jail shutdown Date: Mon, 17 May 2021 09:33: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: 13.0-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: afedorov@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 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.34 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 May 2021 09:33:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255882 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afedorov@FreeBSD.org --- Comment #1 from Aleksandr Fedorov --- The problem is easily reproducible: # kldload if_vxlan # jail -c name=3Dj1 persist vnet # jexec j1 ifconfig vxlan create vxlan0 # jail -r j1 # jail -c name=3Dj1 persist vnet # jexec j1 ifconfig vxlan create vxlan1 # jail -r j1 # kldunload if_vxlan panic!!! Unfortunately if_vxlan (4) does not support VNET. There was an attempt, but not finished: https://reviews.freebsd.org/D2868?id=3D6328#change-57yzNcgb46N6 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon May 17 09:46:58 2021 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 A0452642294 for ; Mon, 17 May 2021 09:46:58 +0000 (UTC) (envelope-from ftk@nanoteq.com) Received: from mailguard.liquidtelecom.co.za (delivery.mailguard.neotel.co.za [41.168.2.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4FkDmw6r2Sz3jHj; Mon, 17 May 2021 09:46:56 +0000 (UTC) (envelope-from ftk@nanoteq.com) Received: from SEC-NGP-AG02 ([192.168.202.32]) by mailguard.liquidtelecom.co.za with Microsoft SMTPSVC(7.0.6002.18264); Mon, 17 May 2021 11:46:19 +0200 Received: from sec-ngp.spt01.e-purifier.com ([192.168.201.1]) by SEC-NGP-AG02.neotel.e-purifier.co.za with Microsoft SMTPSVC(7.5.7601.17514); Mon, 17 May 2021 11:46:17 +0200 Received: from localhost (localhost [127.0.0.1]) by sec-ngp.spt01.e-purifier.com (Postfix) with ESMTP id 84AF91026803; Mon, 17 May 2021 11:46:51 +0200 (SAST) X-Virus-Scanned: by SpamTitan at spt01.e-purifier.com Received: from sec-ngp.spt01.e-purifier.com (localhost [127.0.0.1]) by sec-ngp.spt01.e-purifier.com (Postfix) with ESMTP id D73001026818; Mon, 17 May 2021 11:46:45 +0200 (SAST) Received: from NTQ-EXC.nanoteq.co.za (unknown [41.170.5.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sec-ngp.spt01.e-purifier.com (Postfix) with ESMTPS id C1FA41026867; Mon, 17 May 2021 11:46:45 +0200 (SAST) Received: from NTQ-EXC.nanoteq.co.za ([fe80::a5b3:4700:5af3:78b2]) by NTQ-EXC.nanoteq.co.za ([fe80::a5b3:4700:5af3:78b2%12]) with mapi id 14.03.0513.000; Mon, 17 May 2021 11:46:45 +0200 From: Francois ten Krooden To: Jim Thompson CC: Jacques Fourie , Luigi Rizzo , Vincenzo Maffione , "freebsd-net@freebsd.org" Subject: RE: Vector Packet Processing (VPP) portability on FreeBSD Thread-Topic: Vector Packet Processing (VPP) portability on FreeBSD Thread-Index: AQHXRapQkx/sKwTM3EOdxg1D+Pz3RqrhREohgAAEi1D//+jugIAAL0oAgAGITICABI1nsA== Date: Mon, 17 May 2021 09:46:44 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginalArrivalTime: 17 May 2021 09:46:18.0011 (UTC) FILETIME=[7C1DFEB0:01D74B01] x-archived: yes x-dbused: RGF0YSBTb3VyY2U9MTkyLjE2OC4yMDEuMjc= X-Rspamd-Queue-Id: 4FkDmw6r2Sz3jHj X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of ftk@nanoteq.com has no SPF policy when checking 41.168.2.25) smtp.mailfrom=ftk@nanoteq.com X-Spamd-Result: default: False [-0.22 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MIME_BASE64_TEXT(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[41.168.2.25:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:36937, ipnet:41.168.0.0/17, country:ZA]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.72)[-0.722]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[Nanoteq.com]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[41.168.2.25:from]; FREEMAIL_CC(0.00)[gmail.com,iet.unipi.it,freebsd.org]; RCVD_COUNT_SEVEN(0.00)[7]; SUSPICIOUS_RECIPS(1.50)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 09:46:58 -0000 T24gMjAyMS8wNS8xNCAxNjoxMSwgSmltIFRob21wc29uIHdyb3RlOg0KDQo+IE9uIE1heSAxMywg MjAyMSwgYXQgNzowMiBBTSwgRnJhbmNvaXMgdGVuIEtyb29kZW4gPGZ0a0BuYW5vdGVxLmNvbT4g d3JvdGU6DQrvu78+DQo+DQo+ID4gVGhhbmsgeW91LiAgSSBkaWQgc2V0IHRoaXMgdG8gMSBzcGVj aWZpY2FsbHkgbm93IGFuZCBpdCBzdGlsbCB3b3Jrcy4gIFNvIHRoZW4gaXQNCj4gPiBzaG91bGQg YmUgcnVubmluZyBpbiBuYXRpdmUgbW9kZS4NCj4gPg0KPiA+IEkgd2lsbCBkaWcgYSBiaXQgaW50 byB0aGUgZnVuY3Rpb24gdGhhdCBwcm9jZXNzZXMgdGhlIGluY29taW5nIHBhY2tldHMuDQo+ID4g VGhlIGNvZGUgSSBjdXJyZW50bHkgdXNlIHdhcyBhZGRlZCB0byBWUFAgaW4gc29tZXdoZXJlIGJl Zm9yZSAyMDE2LCBzbyBpdA0KPiA+IG1pZ2h0IGJlIHRoYXQgdGhlcmUgaXMgYSBidWcgaW4gdGhh dCBjb2RlLg0KPiA+DQo+ID4gV2lsbCB0cnkgYW5kIHNlZSBpZiBJIGNhbiBmaW5kIGFueXRoaW5n IGludGVyZXN0aW5nIHRoZXJlLg0KPg0KPiBJdCB3YXMgYWRkZWQgdG8gcGx1bWIgaW4gYSBUQ1Ag c3RhY2ssIChtc3RhY2ssIGlpcmMpIHByaW9yIHRvIHRoZSBWUFAgZ3JvdXAgd3JpdGluZyB0aGVp ciBvd24uIEwNCj4NCj4gWW91ciBuZXRtYXAtZmVkIHJlc3VsdHMgYXJlIGFsc28gcXVpdGUgbG93 LiAgbG9vc0AgKHdobyB3cm90ZSBuZXRtYXAtZndkKSB3YXMgZ2V0dGluZyAyLjIzTXBwcyBzaW5n bGUgY29yZSBvbiBhIHhlb24gRC0xNTQwLg0KPg0KSSBkaWQgYSByZS10ZXN0IHRoaXMgbW9ybmlu ZyBqdXN0IHRvIG1ha2Ugc3VyZSBvZiB0aGUgcmVzdWx0cy4gIEl0IHNlZW1zIGxpa2UgSSBkaWQg aGF2ZSBhIG1pc3Rha2UgaW4gdGhlIHByZXZpb3VzIG1lYXN1cmVtZW50cyBmb3IgbmV0bWFwLWZ3 ZC4NClRoZSB1cGRhdGVkIHJlc3VsdHMgaXMgc2hvdyBiZWxvdy4gIEl0IG1hbmFnZWQgdG8gYWNo aWV2ZSAyLjk4OSBNcHBzIG9uIGEgc2luZ2xlIGNvcmUgb24gdGhlIGhhcmR3YXJlLg0KKy0tLS0t LS0tLS0tLS0rLS0tLS0tLS0tLS0tLS0tLS0tKw0KfCBQYWNrZXQgU2l6ZSB8IFRocm91Z2hwdXQg KHBwcykgfA0KKy0tLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tLS0tLS0tKw0KfCAgIDY0IGJ5dGVz ICB8ICAgICAyLjk4OSBNcHBzICAgfA0KfCAgNTEyIGJ5dGVzICB8ICAgICAyLjM1NyBNcHBzICAg fA0KfCAxNTE4IGJ5dGVzICB8ICAgODE1LjI5MSBrcHBzICAgfA0KKy0tLS0tLS0tLS0tLS0rLS0t LS0tLS0tLS0tLS0tLS0tKw0KPg0KPiBodHRwczovL3lvdXR1YmUuY29tL3dhdGNoP3Y9Y0FWZ3Z6 aXZ6SUkNCj4NCj4gSmltDQoNCg0KSW1wb3J0YW50IE5vdGljZToNCg0KVGhpcyBlLW1haWwgYW5k IGl0cyBjb250ZW50cyBhcmUgc3ViamVjdCB0byB0aGUgTmFub3RlcSAoUHR5KSBMdGQgZS1tYWls IGxlZ2FsIG5vdGljZSBhdmFpbGFibGUgYXQ6DQpodHRwOi8vd3d3Lm5hbm90ZXEuY29tL0Fib3V0 VXMvRW1haWxEaXNjbGFpbWVyLmFzcHgNCg== From owner-freebsd-net@freebsd.org Mon May 17 09:53:44 2021 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 7BD176428BB for ; Mon, 17 May 2021 09:53:44 +0000 (UTC) (envelope-from ftk@nanoteq.com) Received: from mailguard.liquidtelecom.co.za (delivery.mailguard.neotel.co.za [41.168.2.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4FkDwl2L1Hz3kPQ; Mon, 17 May 2021 09:53:42 +0000 (UTC) (envelope-from ftk@nanoteq.com) Received: from SEC-NGP-AG02 ([192.168.202.32]) by mailguard.liquidtelecom.co.za with Microsoft SMTPSVC(7.0.6002.18264); Mon, 17 May 2021 11:53:06 +0200 Received: from sec-ngp-spt04.e-purifier.com ([192.168.201.1]) by SEC-NGP-AG02.neotel.e-purifier.co.za with Microsoft SMTPSVC(7.5.7601.17514); Mon, 17 May 2021 11:53:05 +0200 Received: from localhost (localhost [127.0.0.1]) by sec-ngp-spt04.e-purifier.com (Postfix) with ESMTP id 92B2B1012E0B; Mon, 17 May 2021 11:53:38 +0200 (SAST) X-Virus-Scanned: by SpamTitan at e-purifier.com Received: from sec-ngp-spt04.e-purifier.com (localhost [127.0.0.1]) by sec-ngp-spt04.e-purifier.com (Postfix) with ESMTP id E10651012E07; Mon, 17 May 2021 11:53:31 +0200 (SAST) Received: from NTQ-EXC.nanoteq.co.za (unknown [41.170.5.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sec-ngp-spt04.e-purifier.com (Postfix) with ESMTPS id CF0651012E0E; Mon, 17 May 2021 11:53:31 +0200 (SAST) Received: from NTQ-EXC.nanoteq.co.za ([fe80::a5b3:4700:5af3:78b2]) by NTQ-EXC.nanoteq.co.za ([fe80::a5b3:4700:5af3:78b2%12]) with mapi id 14.03.0513.000; Mon, 17 May 2021 11:53:29 +0200 From: Francois ten Krooden To: Vincenzo Maffione CC: "freebsd-net@freebsd.org" , Jacques Fourie Subject: RE: Vector Packet Processing (VPP) portability on FreeBSD Thread-Topic: Vector Packet Processing (VPP) portability on FreeBSD Thread-Index: AQHXRapQkx/sKwTM3EOdxg1D+Pz3RqrhREohgAAEi1D//+jugIAAL0oAgAQ6h4CAAdzSEA== Date: Mon, 17 May 2021 09:53:25 +0000 Message-ID: References: <91e21d18a4214af4898dd09f11144493@EX16-05.ad.unipi.it> In-Reply-To: Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 17 May 2021 09:53:05.0116 (UTC) FILETIME=[6EC549C0:01D74B02] x-archived: yes x-dbused: RGF0YSBTb3VyY2U9MTkyLjE2OC4yMDEuMjc= X-Rspamd-Queue-Id: 4FkDwl2L1Hz3kPQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of ftk@nanoteq.com has no SPF policy when checking 41.168.2.25) smtp.mailfrom=ftk@nanoteq.com X-Spamd-Result: default: False [-1.63 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[41.168.2.25:from]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[Nanoteq.com]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[41.168.2.25:from]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.53)[-0.533]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36937, ipnet:41.168.0.0/17, country:ZA]; RCVD_COUNT_SEVEN(0.00)[7]; MAILMAN_DEST(0.00)[freebsd-net]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 09:53:44 -0000 On 2021/05/16 09:22, Vincenzo Maffione wrote: > > Hi, > Yes, you are not using emulated netmap mode. > > In the test setup depicted here > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- > interfaces#test-setup > I think you should really try to replace VPP with the netmap "bridge" > application (tools/tools/netmap/bridge.c), and see what numbers you get. > > You would run the application this way > # bridge -i ix0 -i ix1 > and this will forward any traffic between ix0 and ix1 (in both directions= ). > > These numbers would give you a better idea of where to look next (e.g. VP= P > code improvements or system tuning such as NIC interrupts, CPU binding, > etc.). Thank you for the suggestion. I did run a test with the bridge this morning, and updated the results as w= ell. +-------------+------------------+ | Packet Size | Throughput (pps) | +-------------+------------------+ | 64 bytes | 7.197 Mpps | | 128 bytes | 7.638 Mpps | | 512 bytes | 2.358 Mpps | | 1280 bytes | 964.915 kpps | | 1518 bytes | 815.239 kpps | +-------------+------------------+ Besides for the 64-byte and 128-byte packets the other sizes where matching= the maximum rates possible on 10Gbps. This was when the bridge application was running on a single core, and the = cpu core was maxing out at a 100%. I think there might be a bit of system tuning needed, but I suspect most of= the improvement would be needed in VPP. Regards Francois > > Cheers, > Vincenzo > > Il giorno gio 13 mag 2021 alle ore 15:02 Francois ten Krooden < > ftk@nanoteq.com> ha scritto: > > > On Thursday, 13 May 2021 13:59 Jacques Fourie > > > > > > > > On Thu, May 13, 2021 at 7:27 AM Francois ten Krooden > > > > > > wrote: > > > > > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > > > wrote: > > > > > > > > > > Hi > > > > > > > > > > Just for info I ran a test using TREX > > > > > (https://trex-tgn.cisco.com/) Where I just sent traffic in one > > > > > direction through the box > > > running FreeBSD > > > > with VPP using the netmap interfaces. > > > > > These were the results we found before significant packet loss > > started > > > > occuring. > > > > > +-------------+------------------+ > > > > > | Packet Size | Throughput (pps) | > > > > > +-------------+------------------+ > > > > > | 64 bytes | 1.008 Mpps | > > > > > | 128 bytes | 920.311 kpps | > > > > > | 256 bytes | 797.789 kpps | > > > > > | 512 bytes | 706.338 kpps | > > > > > | 1024 bytes | 621.963 kpps | > > > > > | 1280 bytes | 569.140 kpps | > > > > > | 1440 bytes | 547.139 kpps | > > > > > | 1518 bytes | 524.864 kpps | > > > > > +-------------+------------------+ > > > > > > > > Those numbers are way too low for netmap. > > > > > > > > I believe you are either using the emulated mode, or issuing a > > > > system > > call > > > on > > > > every single packet. > > > > > > > > I am not up to date (Vincenzo may know better) but there used to > > > > be a > > > sysctl > > > > variable to control the operating mode: > > > > > > > > https://www.freebsd.org/cgi/man.cgi?query=3Dnetmap&sektion=3D4 > > > > > > > > SYSCTL VARIABLES AND MODULE PARAMETERS > > > > Some aspects of the operation of netmap and VALE are > > > > controlled through > > > > sysctl variables on FreeBSD (dev.netmap.*) and module > > > > parameters > > on > > > > Linux > > > > (/sys/module/netmap/parameters/*): > > > > > > > > dev.netmap.admode: 0 > > > > Controls the use of native or emulated adapter mode. > > > > > > > > 0 uses the best available option; > > > > > > > > 1 forces native mode and fails if not available; > > > > > > > > 2 forces emulated hence never fails. > > > > > > > > If it still exists, try set it to 1. If the program fails, then > > > > you > > should figure > > > out > > > > why native netmap support is not compiled in. > > > > > > Thank you. I did set this to 1 specifically now and it still works. > > > So > > then it > > > should be running in native mode. > > > > > > I will dig a bit into the function that processes the incoming packet= s. > > > The code I currently use was added to VPP in somewhere before 2016, > > > so it might be that there is a bug in that code. > > > > > > Will try and see if I can find anything interesting there. > > > > > > > > > > > cheers > > > > luigi > > > > > > > A couple of questions / suggestions: > > > > Thank you for the suggestions. > > > > > Will it be possible to test using the netmap bridge app or a vale > > > switch instead of vpp? > > I did perform a test using netmap-fwd ( > > https://github.com/Netgate/netmap-fwd) > > I did look at the code and it appears that the packets are processed > > as a batch in the application. But each packet is passed through the > > complete IP stack in the application, before the next one is processed. > > With this application it was possible to reach about 1.4Mpps for > > 64-byte packets, and 812 kpps for 1518 byte packets I haven't done any > > other tweaking on the FreeBSD box yet. It is running FreeBSD 13.0 > > > > > Did you verify that the TREX setup can perform at line rate when > > connected > > > back to back? > > We did tests with TREX back to back yesterday and we reached the > following. > > +-------------+------------------+ > > | Packet Size | Throughput (pps) | > > +-------------+------------------+ > > | 64 bytes | 14.570 Mpps | > > | 128 bytes | 8.466 kpps | > > | 256 bytes | 4.542 kpps | > > | 512 bytes | 2.354 kpps | > > | 1024 bytes | 1.200 kpps | > > | 1280 bytes | 965.042 kpps | > > | 1440 bytes | 857.795 kpps | > > | 1518 bytes | 814.690 kpps | > > +-------------+------------------+ > > > > > Which NICs are you using? > > We are using Intel X552 10 GbE SFP+ NIC's which is part of the Intel > > Xeon > > D-1537 SoC, on a SuperMicro X10SDV-8C-TLN4F+ Board. > > > > I will also put the results on the github repository > > https://github.com/ftk-ntq/vpp/wiki > > and will update as we get some more information > > > > Kind Regards > > Francois > > > > > > > > > > > Important Notice: > > > > > > This e-mail and its contents are subject to the Nanoteq (Pty) Ltd > > > e-mail > > legal > > > notice available at: > > > http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx > > > _______________________________________________ > > > 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= " > > > > > > Important Notice: > > > > This e-mail and its contents are subject to the Nanoteq (Pty) Ltd > > e-mail legal notice available at: > > http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx > > > _______________________________________________ > 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" > Important Notice: This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail le= gal notice available at: http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx From owner-freebsd-net@freebsd.org Mon May 17 14:10:56 2021 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 72803649424 for ; Mon, 17 May 2021 14:10:56 +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 4FkLdX2d0cz3Hky for ; Mon, 17 May 2021 14:10:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5A0206492C2; Mon, 17 May 2021 14:10:56 +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 59C6D6492C1 for ; Mon, 17 May 2021 14:10:56 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkLdX1y4mz3Hhf for ; Mon, 17 May 2021 14:10: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2CF5D516F for ; Mon, 17 May 2021 14:10: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 14HEAu2S008342 for ; Mon, 17 May 2021 14:10:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14HEAusa008341 for net@FreeBSD.org; Mon, 17 May 2021 14:10: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 255678] security/strongswan cant add routes via RTM_ADD via PF_ROUTE socket Date: Mon, 17 May 2021 14:10:55 +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: 13.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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.34 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 May 2021 14:10:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255678 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kp@freebsd.org Assignee|pf@FreeBSD.org |net@FreeBSD.org --- Comment #8 from Kristof Provost --- Net bug, not a pf issue. (In this context PF is protocol family, not packet filter) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon May 17 14:12:22 2021 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 D4AD2649530 for ; Mon, 17 May 2021 14:12:22 +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 4FkLgB5VTmz3Hjt for ; Mon, 17 May 2021 14:12:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BCA5D6494D7; Mon, 17 May 2021 14:12:22 +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 BC68A649440 for ; Mon, 17 May 2021 14:12:22 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkLgB4hvtz3HmT for ; Mon, 17 May 2021 14:12:22 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8A9EB566A for ; Mon, 17 May 2021 14:12: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 14HECMkF015301 for ; Mon, 17 May 2021 14:12:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14HECMC2015300 for net@FreeBSD.org; Mon, 17 May 2021 14:12: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 255678] security/strongswan cant add routes via RTM_ADD via PF_ROUTE socket Date: Mon, 17 May 2021 14:12: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: 13.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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.34 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 May 2021 14:12:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255678 --- Comment #9 from Marek Zarychta --- Also disabling multipath at this stage will probably help: sysctl net.route.multipath=3D0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon May 17 14:13:40 2021 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 462436494F5 for ; Mon, 17 May 2021 14:13:40 +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 4FkLhh1LP6z3JBD for ; Mon, 17 May 2021 14:13:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2E0806497E7; Mon, 17 May 2021 14:13:40 +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 2DD31649550 for ; Mon, 17 May 2021 14:13:40 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkLhh0lZBz3J8K for ; Mon, 17 May 2021 14:13:40 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 02AB55841 for ; Mon, 17 May 2021 14:13:40 +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 14HEDdG5015552 for ; Mon, 17 May 2021 14:13:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14HEDdeF015551 for net@FreeBSD.org; Mon, 17 May 2021 14:13:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 255678] security/strongswan cant add routes via RTM_ADD via PF_ROUTE socket Date: Mon, 17 May 2021 14:13:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin.larsson2@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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.34 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 May 2021 14:13:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255678 --- Comment #10 from martin.larsson2@gmail.com --- setting sysctl net.route.multipath=3D0 didnt change anything in this case --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon May 17 17:20:28 2021 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 1226D64E15E for ; Mon, 17 May 2021 17:20:28 +0000 (UTC) (envelope-from zec@fer.hr) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::609]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkQrB4MKCz4fn9; Mon, 17 May 2021 17:20:26 +0000 (UTC) (envelope-from zec@fer.hr) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W3T/TJEL6vwJpHFYaOX/Enk9rZHEez3+769JGe+JyU9IrLhpf1um6BTISS0iyaj25e8Urtv+N+esx0mylRlZ/+TzPv6DWGkWD1yCz2+t5E7ISLHH6RUQyS8imWZ5SdGsUL9kBkarfYbq9lCiVX5coaOPbey7u/KFWi/HVdyxOTG+Q7Zq4HQJHTvBP8XS2hIYBQ6oVYHkB7DoJhRGt9lSSiWUusYkZ/ILFO18YPtQLiq1BP9/xDvqyWd4uMIPn/XPyNi0fTZ2yfyfllsrJXqRS1izojrZ+XY/sPtrjGHC2rzeCQkB398TOaWg+M9PEc7+rsfK0pbC++4kQt+9+GMkhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p8rASC8ZC0Jy5z3adOIQJ9PpF5mUrmdT/h1ALV4PSPE=; b=BttZx2opnKV9nhBpV1ZFaCe3rqKWeN4E5XvicDCuXlwlZQ66YwXzhLuugmRf635SqMRMT7v72L54NmOkFzkJN2bXe9nDbvTmViYdB3h/uHWHG7S4+hrZVmnr6ZetQ1miYg5lHFaZTDow94TX8UKbiJ4KxeURR74LPZvvIG3NBl347xI0mNuODEFkejmy9f7zU4ttw9+PuN3PHQbSiH5hDmYk13L/uIr/Amiv63rcvotkEmawUyqnBCxMGmGXi3UfVRo3Xw36VXaaFphQcu1z19atKDSn0447nvu0mafiFiIX+T0Xho3uNQXNBVSkX0GuPiyRTu8bJaXJBcm6mSeceg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fer.hr; dmarc=pass action=none header.from=fer.hr; dkim=pass header.d=fer.hr; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ferhr.onmicrosoft.com; s=selector2-ferhr-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p8rASC8ZC0Jy5z3adOIQJ9PpF5mUrmdT/h1ALV4PSPE=; b=mN75ioRtSpmbWNFPLucoaSeguE8H37G/GTJytNrCcYO/OQFsBLRp+o4A5TeUudQdUHLKNd65mBBXXnJXHcRgaKovVhfQPRb/9OJ4LjVE6yqdC+iFGNQ95TUDRE+a5WYitTLYbPiHX1e0sLjIZXM1RSlZje2gemkEoJa3eb3lKws= Received: from VE1PR08MB4783.eurprd08.prod.outlook.com (2603:10a6:802:a9::16) by VI1PR0801MB1630.eurprd08.prod.outlook.com (2603:10a6:800:59::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25; Mon, 17 May 2021 17:20:23 +0000 Received: from VE1PR08MB4783.eurprd08.prod.outlook.com ([fe80::99b1:b848:51cb:27e8]) by VE1PR08MB4783.eurprd08.prod.outlook.com ([fe80::99b1:b848:51cb:27e8%4]) with mapi id 15.20.4129.031; Mon, 17 May 2021 17:20:23 +0000 Date: Mon, 17 May 2021 19:20:54 +0200 From: Marko Zec To: Francois ten Krooden Cc: Vincenzo Maffione , "freebsd-net@freebsd.org" , Jacques Fourie Subject: Re: Vector Packet Processing (VPP) portability on FreeBSD Message-ID: <20210517192054.0907beea@x23> In-Reply-To: References: <91e21d18a4214af4898dd09f11144493@EX16-05.ad.unipi.it> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd11.4) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: [31.147.121.219] X-ClientProxiedBy: VI1PR07CA0286.eurprd07.prod.outlook.com (2603:10a6:800:130::14) To VE1PR08MB4783.eurprd08.prod.outlook.com (2603:10a6:802:a9::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from x23 (31.147.121.219) by VI1PR07CA0286.eurprd07.prod.outlook.com (2603:10a6:800:130::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.11 via Frontend Transport; Mon, 17 May 2021 17:20:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3306e117-5fb3-4e33-8686-08d919580e01 X-MS-TrafficTypeDiagnostic: VI1PR0801MB1630: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oma6ukMMng9GHa/sO4hBcwHQO9s9Rc/MCZ3PsI+LJWKihUE0Ms3yFxgD/mfwdcu4LKXQSY3I3xrlCJhRrawwCxXEMBOcMVKI3XxzBW6Fpwwd4Fje011dg2IucGUp99sqJ/WD7hvl7+kfJN4/t32YQJWw04kmHgm0stIDq8pZU6okhWym3g1bRQdUOsLb+e/wVOWnKKZ4SpuHJ+Q86hV0p7ZPuK/7xQQOxSmvzkSMET3RfEmpL7RIgqmQlN9DKBOF2tJCJEJQQ6gJQBUolOclrEcO3m8pkjK9LYDl2069b9MVGeGLx15E4bV9zxrNiH9BKGelqUaatli5juWsZdKRXtpA/Sg8++swGoBDVvPNLaZhHPcQDsnijQwj1uyhMTdmLX7io/5ru947Xlo+sJ2RB/1NHTANzGN5n43tVdRvqtNdsYhwDqo+8861gK4hTQBKVbCxvt7zXNNzx74xx5BhV+rt3qc9/q5kWeQKDRlPKc42bbb7n7DllzAZoCZ0aWE7KqVFDMpp8FlOeZQkkHrnQhqibojEbNLP0UoPaHE1rAej2GydAhIsrPPab3xIPFYWvcqaC3SGlsUVcYmXg+xtgUQterohrP9Cz1VPUz8NrbvZpMRzKl/CkDWQEOA1kQVJQsN/xLP5HrAWMptVkT+NdCb0TfkrQDYfo7HjClAIKnNxMLbnV/BGsD4t730cTeyi4icBEJ9XsfgVMPfx4v0PUFeKkjzc1Rduh1IuBrEW6R0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR08MB4783.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(39830400003)(376002)(346002)(396003)(366004)(136003)(6496006)(86362001)(6666004)(4326008)(52116002)(53546011)(66946007)(6916009)(83380400001)(16526019)(33716001)(2906002)(8936002)(316002)(55016002)(786003)(9686003)(8676002)(956004)(54906003)(186003)(1076003)(966005)(26005)(66556008)(66476007)(9576002)(5660300002)(478600001)(38350700002)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?JWwrUo/S2Yx7AsaEQ4kr4BdVbRtOgjS7So25jaJWMAuj5yNjXwVMYDEnjCln?= =?us-ascii?Q?u+YrgnYXC0ueaeidAkBeatzBlOXbNs4+WdblspKoL41OdHUrjfwfFsABAlm8?= =?us-ascii?Q?5D1Iib4neeuAZu52C2u3vLCz44e+ae9vvqlNt8O1oUwjYP8lmyiYfGp2JWXC?= =?us-ascii?Q?HrL7bVt9rXRWQ9nWpwGRUCSYukPePZMDxLJuhPupyeETjXPAZ6vkrdIBBNV4?= =?us-ascii?Q?9I9V6ZSMX4MYm6nhBhETsNtMHQoUmrOHEkAcyIu1LaDL/aJMUXSzXu/IF3ZB?= =?us-ascii?Q?oUyFgFZjoi7n0iL2eReWXsxf8QKVvA/FfATvGbCnggq8COupqIwSxFRSCCdB?= =?us-ascii?Q?sizWs2P7XiOrSzjP6PLrZF5fAV0kFO19Hv5CGmrswhBnD+gGi3m0xFM0SF3n?= =?us-ascii?Q?ZpeZcCEirU3eUL40xbDhXhPPv7bXWxBpRCcOemXVkhH7BXTIjxKnyJpMPwXg?= =?us-ascii?Q?oDAWR/+mIbX2hEzkeqTNQILhm8DZznxuIf/yYbYMa9kgPDiv5nFOPJVVNvR2?= =?us-ascii?Q?XLH1OdbSkwgCzoAUFL0ZUpE1cpOnweCdLegnm0lUAcWlp7uE4pK/qGMkH2RO?= =?us-ascii?Q?yqxP1hdi9hBsMhxUcHk07z6zMbPcgZPR1wYe6cFnH0+E3Lppul58zLDH6/ih?= =?us-ascii?Q?cu/ZrhRjTlQyCA1I2CkXcYDTUntev1SFL0fgybRnNv36luqzqhmYXkc1SO84?= =?us-ascii?Q?JXuFJH9NAlJz3vR3bqNNoASiQUsiguUiXTIXxcP+XcyNWZXZcnMVfU0yTWpp?= =?us-ascii?Q?Tmm8Qk7I/GmjBGakhrq9IFZAtrN4qs6k5jtwdVqLLgUp151xWysjmMZg4KoF?= =?us-ascii?Q?23y7RzameQlGdf1o4sIeC1eAN/kl7GHIzuObZmcSZgfGETiYnvp9m+/gLZfI?= =?us-ascii?Q?sYphKSWYm8Ujma3DAZhPuH3QAbUPEhi0xfNhmrt6uEuJSGLT1kxzl84P5IQS?= =?us-ascii?Q?g7lFXCisQTVbRgRXmWpWfU8fSPBzfU4sij3KqoYD1V1+MkiRqA0Bn0+JkAjc?= =?us-ascii?Q?zn4XR+LDXzuc6UkoLO1B+hcaqHU1x/9/5k4s2Fhgl8+gJ7RwWatlWWviXtft?= =?us-ascii?Q?dT8bA6OYn32PHa3u6vRFw+1f/Q/VOANUPpqiCB9FSEH2I7doJ5ZxnLcyK8hb?= =?us-ascii?Q?eOETJ6wOI2Dag0bHWNYwvxjC9unMlV51ORzVo3qf7Mfu4qEGuVjZ1OKLafeM?= =?us-ascii?Q?inatbpLG/PlQKNWc2bJljCueHHqBaGDF22MLYaUeOVfmxRuGZ9CtVRQaPiPL?= =?us-ascii?Q?HpT3B/dgZSMUtyozUNDUzPxFgqjC5wxbB9MVSNKOzdwaNH3iZqY8Ps65PrYa?= =?us-ascii?Q?uMxdXacbApsi3mUBShCufl5T?= X-OriginatorOrg: fer.hr X-MS-Exchange-CrossTenant-Network-Message-Id: 3306e117-5fb3-4e33-8686-08d919580e01 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4783.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2021 17:20:23.5211 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: ca71eddc-cc7b-4e5b-95bd-55b658e696be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cPvyvWvDLa3dy2J7Uuz61l6PKY1jEcw1kke6u8zR52F5iK0wjHgppdTKE5qKCrwN X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1630 X-Rspamd-Queue-Id: 4FkQrB4MKCz4fn9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ferhr.onmicrosoft.com header.s=selector2-ferhr-onmicrosoft-com header.b=mN75ioRt; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=none; spf=pass (mx1.freebsd.org: domain of zec@fer.hr designates 2a01:111:f400:fe0a::609 as permitted sender) smtp.mailfrom=zec@fer.hr X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[ferhr.onmicrosoft.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[31.147.121.219:received]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe0a::609:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[ferhr.onmicrosoft.com:s=selector2-ferhr-onmicrosoft-com]; FREEFALL_USER(0.00)[zec]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[fer.hr]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe0a::609:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f400:fe0a::609:from]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com]; SUSPICIOUS_RECIPS(1.50)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 17:20:28 -0000 On Mon, 17 May 2021 09:53:25 +0000 Francois ten Krooden wrote: > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > Hi, > > Yes, you are not using emulated netmap mode. > > > > In the test setup depicted here > > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- > > interfaces#test-setup > > I think you should really try to replace VPP with the netmap > > "bridge" application (tools/tools/netmap/bridge.c), and see what > > numbers you get. > > > > You would run the application this way > > # bridge -i ix0 -i ix1 > > and this will forward any traffic between ix0 and ix1 (in both > > directions). > > > > These numbers would give you a better idea of where to look next > > (e.g. VPP code improvements or system tuning such as NIC > > interrupts, CPU binding, etc.). > > Thank you for the suggestion. > I did run a test with the bridge this morning, and updated the > results as well. +-------------+------------------+ > | Packet Size | Throughput (pps) | > +-------------+------------------+ > | 64 bytes | 7.197 Mpps | > | 128 bytes | 7.638 Mpps | > | 512 bytes | 2.358 Mpps | > | 1280 bytes | 964.915 kpps | > | 1518 bytes | 815.239 kpps | > +-------------+------------------+ I assume you're on 13.0 where netmap throughput is lower compared to 11.x due to migration of most drivers to iflib (apparently increased overhead) and different driver defaults. On 11.x I could move 10G line rate from one ix to another at low CPU freqs, where on 13.x the CPU must be set to max speed, and still can't do 14.88 Mpps. #1 thing which changed: default # of packets per ring dropped down from 2048 (11.x) to 1024 (13.x). Try changing this in /boot/loader.conf: dev.ixl.0.iflib.override_nrxds=2048 dev.ixl.0.iflib.override_ntxds=2048 dev.ixl.1.iflib.override_nrxds=2048 dev.ixl.1.iflib.override_ntxds=2048 etc. For me this increases the throughput of bridge -i netmap:ixl0 -i netmap:ixl1 from 9.3 Mpps to 11.4 Mpps #2: default interrupt moderation delays seem to be too long. Combined with increasing the ring sizes, reducing dev.ixl.0.rx_itr from 62 (default) to 40 increases the throughput further from 11.4 to 14.5 Mpps Hope this helps, Marko > Besides for the 64-byte and 128-byte packets the other sizes where > matching the maximum rates possible on 10Gbps. This was when the > bridge application was running on a single core, and the cpu core was > maxing out at a 100%. > > I think there might be a bit of system tuning needed, but I suspect > most of the improvement would be needed in VPP. > > Regards > Francois From owner-freebsd-net@freebsd.org Mon May 17 19:52:27 2021 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 D018B631106 for ; Mon, 17 May 2021 19:52:27 +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 4FkVCb53c7z3P0s for ; Mon, 17 May 2021 19:52:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AD7CC630F4A; Mon, 17 May 2021 19:52:27 +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 AD353630F49 for ; Mon, 17 May 2021 19:52:27 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkVCb4K9sz3Nd6 for ; Mon, 17 May 2021 19:52:27 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E31F122BE for ; Mon, 17 May 2021 19:52:27 +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 14HJqRiv003034 for ; Mon, 17 May 2021 19:52:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14HJqReu003033 for net@FreeBSD.org; Mon, 17 May 2021 19:52:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 255871] [PATCH] net: Fix a use after free in update_rtm_from_rc Date: Mon, 17 May 2021 19:52:27 +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: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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.34 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 May 2021 19:52:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255871 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress CC| |markj@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue May 18 07:32:18 2021 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 B7ED1642923 for ; Tue, 18 May 2021 07:32:18 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Fknl52xy9z3lQT for ; Tue, 18 May 2021 07:32:17 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-yb1-xb2e.google.com with SMTP id d14so4075247ybe.3 for ; Tue, 18 May 2021 00:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FLsjbKgcRA1JQOqJgFnDN7qbCHGmygbql4SxVKc49rk=; b=n6VBQTZG2OaZcgdtBKGt5x7Q7SDpW7lvgAPNGwxYvt8zpl2n4OYbYFTtYVdgJ4xack FkKXObrEfSfPhQJXA3J4aWR1luBqKntsZ2uJR1wxnxCWN08hKomSFYt8YwVWMXGzCA7b Jdu2ZWlbEqcncAwJ5Agxus0WMm4LglOhIBoUk= 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=FLsjbKgcRA1JQOqJgFnDN7qbCHGmygbql4SxVKc49rk=; b=KpoB0cHwhQBYIglaCGaiB3xKLxxbF4v652MI2uNu0ib7a9iHQ0qZ5qwE1duphkbAJW RuHInwXI2iTK4oOkkzUaRZTc5th1WCPqWFiZmyMFObn9RXn6I6inw3xiEJ1GiEi7koor 6InOf3JSlPBJOqIwBC1/Gj1GMQbZoxOo22ZxAtPtEtyW+Y/ht4Ev9fPpFh7n1BGk0v23 WMpT/cBXvazVX96qgaK6VFDpQtZJH+LqtvxLBWKsSDguhUSWyJCx1Kj78fIzVovr/JBy 7/6CAIn99q7v5HfA9QGWnLbUWiMGAvo9pP23Gg7lWLbxDDdSx+k+QdCjZ4F5wYlG+5nE pZPQ== X-Gm-Message-State: AOAM532mA0VXrPmAF4XR/QacWftYYJeV9PAXVO7yY+RVUtOuUCTCVJu/ N1Xu8yC95LmDC9mGTgNt0tm0++928r4i4QX+dgmXbQ== X-Google-Smtp-Source: ABdhPJxm4B3PnSleaw7/4YV6qjXVrjj3QQy6k4v7yzRtm6ee0zs1VWS90/QfxmSTAZM5RVEPkzoJ1GcS6CTndqbLGmE= X-Received: by 2002:a25:938a:: with SMTP id a10mr5154739ybm.429.1621323136396; Tue, 18 May 2021 00:32:16 -0700 (PDT) MIME-Version: 1.0 References: <91e21d18a4214af4898dd09f11144493@EX16-05.ad.unipi.it> <20210517192054.0907beea@x23> In-Reply-To: <20210517192054.0907beea@x23> From: Kevin Bowling Date: Tue, 18 May 2021 00:32:05 -0700 Message-ID: Subject: Re: Vector Packet Processing (VPP) portability on FreeBSD To: Marko Zec Cc: Francois ten Krooden , Jacques Fourie , Vincenzo Maffione , "freebsd-net@freebsd.org" X-Rspamd-Queue-Id: 4Fknl52xy9z3lQT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=kev009.com header.s=google header.b=n6VBQTZG; dmarc=none; spf=pass (mx1.freebsd.org: domain of kevin.bowling@kev009.com designates 2607:f8b0:4864:20::b2e as permitted sender) smtp.mailfrom=kevin.bowling@kev009.com X-Spamd-Result: default: False [-1.79 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_CC(0.00)[nanoteq.com,gmail.com,freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[kev009.com:~]; NEURAL_HAM_SHORT(-0.99)[-0.993]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::b2e:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[kev009.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::b2e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2e:from]; R_DKIM_PERMFAIL(0.00)[kev009.com:s=google]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net]; SUSPICIOUS_RECIPS(1.50)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 07:32:18 -0000 On Mon, May 17, 2021 at 10:20 AM Marko Zec wrote: > On Mon, 17 May 2021 09:53:25 +0000 > Francois ten Krooden wrote: > > > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > > > > Hi, > > > Yes, you are not using emulated netmap mode. > > > > > > In the test setup depicted here > > > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- > > > interfaces#test-setup > > > I think you should really try to replace VPP with the netmap > > > "bridge" application (tools/tools/netmap/bridge.c), and see what > > > numbers you get. > > > > > > You would run the application this way > > > # bridge -i ix0 -i ix1 > > > and this will forward any traffic between ix0 and ix1 (in both > > > directions). > > > > > > These numbers would give you a better idea of where to look next > > > (e.g. VPP code improvements or system tuning such as NIC > > > interrupts, CPU binding, etc.). > > > > Thank you for the suggestion. > > I did run a test with the bridge this morning, and updated the > > results as well. +-------------+------------------+ > > | Packet Size | Throughput (pps) | > > +-------------+------------------+ > > | 64 bytes | 7.197 Mpps | > > | 128 bytes | 7.638 Mpps | > > | 512 bytes | 2.358 Mpps | > > | 1280 bytes | 964.915 kpps | > > | 1518 bytes | 815.239 kpps | > > +-------------+------------------+ > > I assume you're on 13.0 where netmap throughput is lower compared to > 11.x due to migration of most drivers to iflib (apparently increased > overhead) and different driver defaults. On 11.x I could move 10G line > rate from one ix to another at low CPU freqs, where on 13.x the CPU > must be set to max speed, and still can't do 14.88 Mpps. > I believe this issue is in the combined txrx interrupt filter. It is causing a bunch of unnecessary tx re-arms. > #1 thing which changed: default # of packets per ring dropped down from > 2048 (11.x) to 1024 (13.x). Try changing this in /boot/loader.conf: > > dev.ixl.0.iflib.override_nrxds=2048 > dev.ixl.0.iflib.override_ntxds=2048 > dev.ixl.1.iflib.override_nrxds=2048 > dev.ixl.1.iflib.override_ntxds=2048 > etc. > > For me this increases the throughput of > bridge -i netmap:ixl0 -i netmap:ixl1 > from 9.3 Mpps to 11.4 Mpps > > #2: default interrupt moderation delays seem to be too long. Combined > with increasing the ring sizes, reducing dev.ixl.0.rx_itr from 62 > (default) to 40 increases the throughput further from 11.4 to 14.5 Mpps > > Hope this helps, > > Marko > > > > Besides for the 64-byte and 128-byte packets the other sizes where > > matching the maximum rates possible on 10Gbps. This was when the > > bridge application was running on a single core, and the cpu core was > > maxing out at a 100%. > > > > I think there might be a bit of system tuning needed, but I suspect > > most of the improvement would be needed in VPP. > > > > Regards > > Francois > _______________________________________________ > 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 May 18 07:47:26 2021 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 92C37643418 for ; Tue, 18 May 2021 07:47:26 +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 4Fkp4Z3WRFz3p5D for ; Tue, 18 May 2021 07:47:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 76FAD643417; Tue, 18 May 2021 07:47:26 +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 76C1B64339C for ; Tue, 18 May 2021 07:47:26 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fkp4Z2hjpz3p9C for ; Tue, 18 May 2021 07:47:26 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 45AB11B9C5 for ; Tue, 18 May 2021 07:47:26 +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 14I7lQhd085167 for ; Tue, 18 May 2021 07:47:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14I7lQuD085166 for net@FreeBSD.org; Tue, 18 May 2021 07:47:26 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 236119] Intel Ethernet 82547 device cannot transfer data Date: Tue, 18 May 2021 07:47:25 +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.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kbowling@freebsd.org X-Bugzilla-Flags: mfc-stable13? 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.34 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 May 2021 07:47:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236119 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da7e6edc7d70fbe5d82faeda0bc6ae3755= 0c2080f commit a7e6edc7d70fbe5d82faeda0bc6ae37550c2080f Author: Kevin Bowling AuthorDate: 2021-04-15 16:58:36 +0000 Commit: Kevin Bowling CommitDate: 2021-05-18 07:45:49 +0000 e1000: fix em_mac_min and 82547 packet buffer The boundary differentiating "lem" vs "em" class devices was wrong after the iflib conversion of lem(4). The Packet Buffer size for 82547 class chips was not set correctly after the iflib conversion of lem(4). These changes restore functionality on an 82547 for the submitter. PR: 236119 Reported by: Jeff Gibbons Reviewed by: markj MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D29766 (cherry picked from commit bb1b375fa7487ee5c3843121a0621ac8379c18e6) sys/dev/e1000/if_em.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue May 18 07:49:29 2021 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 A6E8C6432E0 for ; Tue, 18 May 2021 07:49:29 +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 4Fkp6x48KYz3p7S for ; Tue, 18 May 2021 07:49:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8E65E6432DE; Tue, 18 May 2021 07:49: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 8E31F64354F for ; Tue, 18 May 2021 07:49: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fkp6x3XTlz3pJs for ; Tue, 18 May 2021 07:49: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6252A1BB20 for ; Tue, 18 May 2021 07:49:29 +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 14I7nT86085602 for ; Tue, 18 May 2021 07:49:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14I7nTG6085601 for net@FreeBSD.org; Tue, 18 May 2021 07:49:29 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 236119] Intel Ethernet 82547 device cannot transfer data Date: Tue, 18 May 2021 07:49:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kbowling@freebsd.org X-Bugzilla-Flags: mfc-stable13? 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.34 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 May 2021 07:49:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236119 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1a132077c2cb500410079f9120c3f676d= 15f7931 commit 1a132077c2cb500410079f9120c3f676d15f7931 Author: Kevin Bowling AuthorDate: 2021-04-15 16:58:36 +0000 Commit: Kevin Bowling CommitDate: 2021-05-18 07:48:49 +0000 e1000: fix em_mac_min and 82547 packet buffer The boundary differentiating "lem" vs "em" class devices was wrong after the iflib conversion of lem(4). The Packet Buffer size for 82547 class chips was not set correctly after the iflib conversion of lem(4). These changes restore functionality on an 82547 for the submitter. PR: 236119 Reported by: Jeff Gibbons Reviewed by: markj MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D29766 (cherry picked from commit bb1b375fa7487ee5c3843121a0621ac8379c18e6) sys/dev/e1000/if_em.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue May 18 14:20:50 2021 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 ECA7464E26E for ; Tue, 18 May 2021 14:20: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 4FkypV64Vmz4Y2H for ; Tue, 18 May 2021 14:20:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CE8CE64E26D; Tue, 18 May 2021 14:20: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 CE45264E414 for ; Tue, 18 May 2021 14:20: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkypV5GZqz4YBy for ; Tue, 18 May 2021 14:20: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D9E020EA1 for ; Tue, 18 May 2021 14:20: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 14IEKopG091856 for ; Tue, 18 May 2021 14:20:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14IEKoWJ091855 for net@FreeBSD.org; Tue, 18 May 2021 14:20: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 230465] ixl: not working in netmap mode Date: Tue, 18 May 2021 14:20:49 +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-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: slw@zxy.spb.ru X-Bugzilla-Status: In Progress 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.34 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 May 2021 14:20:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 slw@zxy.spb.ru changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |slw@zxy.spb.ru --- Comment #43 from slw@zxy.spb.ru --- (In reply to Vincenzo Maffione from comment #42) Looks like netmap don't worked: # /usr/obj/usr/src/amd64.amd64/tools/tools/netmap/pkt-gen -i ixl1 -f tx 321.990539 main [2921] interface is ixl1 321.990568 main [3044] using default burst size: 512 321.990573 main [3052] running on 1 cpus (have 24) 321.990640 extract_ip_range [476] range is 10.0.0.1:1234 to 10.0.0.1:1234 321.990645 extract_ip_range [476] range is 10.1.0.1:1234 to 10.1.0.1:1234 Sending on netmap:ixl1: 5 queues, 1 threads and 1 cpus. 10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff) 322.096770 main [3255] Sending 512 packets every 0.000000000 s 322.096813 start_threads [2580] Wait 2 secs for phy reset 324.222299 start_threads [2582] Ready... 324.222365 sender_body [1599] start, fd 3 main_fd 3 324.222392 sender_body [1657] frags 1 frag_size 60 324.234391 sender_body [1695] drop copy 325.285776 main_thread [2671] 2.794 Mpps (2.971 Mpkts 1.341 Gbps in 1063411 usec) 15.05 avg_batch 0 min_space 326.348859 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063084 us= ec) 0.00 avg_batch 99999 min_space 326.472386 sender_body [1682] poll error on queue 0: timeout 327.411859 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063000 us= ec) 0.00 avg_batch 99999 min_space 328.473456 sender_body [1682] poll error on queue 0: timeout 328.474874 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063015 us= ec) 0.00 avg_batch 99999 min_space 329.537820 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1062945 us= ec) 0.00 avg_batch 99999 min_space 330.474386 sender_body [1682] poll error on queue 0: timeout 330.600771 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1062951 us= ec) 0.00 avg_batch 99999 min_space 331.663860 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063090 us= ec) 0.00 avg_batch 99999 min_space 332.475381 sender_body [1682] poll error on queue 0: timeout 332.726861 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063001 us= ec) 0.00 avg_batch 99999 min_space ^C333.671467 sigint_h [573] received control-C on thread 0x800a12000 333.671475 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 944614 use= c) 0.00 avg_batch 99999 min_space 334.476434 sender_body [1737] flush tail 576 head 576 on thread 0x800a12700 334.734834 main_thread [2671] 0.000 pps (0.000 pkts 0.000 bps in 1063359 us= ec) 0.00 avg_batch 99999 min_space Sent 2971392 packets 178283520 bytes 197414 events 60 bytes each in 10.25 seconds. Speed: 289.777 Kpps Bandwidth: 139.093 Mbps (raw 139.093 Mbps). Average bat= ch: 15.05 pkts Additional, in my application I am see logical errors from kernel: I a send 3 packets in ring 0, c/h/t is 3/3/2047 do NIOCTXSYNC, c/h/t is 3/3/0 do not send any packets, just do NIOCTXSYNC, c/h/t is 3/3/3 now! i.e. like TX ring is full and stalled. Any transmission staled after this. 13-stable. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue May 18 15:46:50 2021 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 BE7ED65068A for ; Tue, 18 May 2021 15:46:50 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Fl0jj5xNHz4qbj; Tue, 18 May 2021 15:46:49 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: by mail-wm1-x32f.google.com with SMTP id n17-20020a7bc5d10000b0290169edfadac9so1812881wmk.1; Tue, 18 May 2021 08:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=JsJxYA0iIElrFAxleK/zLz2SC0dYxkiDxcb0UyFbWoU=; b=E8IbE5oF5XSQvRn9TrR0r4ETuHxTlvLVv3HeudwpdN2I3f+ZAXOYyJZHBt7JzwuF/a I+7d5lEIK1oce+mu7B+rUHEst7iDaR15UcgqL1dGZNlin/kI3Z/jejBDrml+wDuYBD+h g5QRp4qTQ0hKEHKPcNG1evHgc+ng0BKXGxTCnvbrSs74CvVZBSAzXjFjg3bEvQ3Cm3oh ILoWaEL8hGzG8YEPzhoGSaioE398H9dXuiOhdhPFIKZQdyNhMvq4yrqyIVV6G+2J2qyS fbqYEQzImkx4o+ADK/9F/NmYZTg46hMxgSTl/P/8AgCDiNIBq2Zz8j7VB2d91vxLyU1K KFvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=JsJxYA0iIElrFAxleK/zLz2SC0dYxkiDxcb0UyFbWoU=; b=Ft4Ucl6WVzy2ncM+rkPKEVY/WdYm3qzAvZWe1jFln2IWLlUBS0he6J0t3HVT8Y4t8R WDOmc+yOkY5R0f2/ZSyvBHZZt+yHX4p3emtpUcfaXibxfOLZIdZ1KbWr4Fk8LNY+D4Ib ciOlv9cB8bux0HgZ0XqXtnGrBJj8T/THxqB/neSqYX6GZ9A1HjX+Jls5SvYUC/iMgIpZ tFYh9zhlgh6HdJNHQo8uVGbtzUqLkRd655LGCNKw9YVGFmuPxPamaaUziePgamHKuvx8 zViPKo5mdma8aCfpmspWg2/QWiEvshpg7l3V9s1oYQUu6+jhsXMqqpkBw8VaxKQkZPbv 31Xw== X-Gm-Message-State: AOAM5300TLGj5wOCZF3ZypmJJKRsOI8SPVgc0jRZ3+B9oZFW0ckZt28v 9aEkpvE52WxT0AasicaD4rJ2BVYHD/4W4A== X-Google-Smtp-Source: ABdhPJwc///z2J8foiKPfWd7vv2ZCvjL4zMJJDFwMnwyB9WdC8KgPtXuEizltue4yXMxKGYOJJm73w== X-Received: by 2002:a1c:2802:: with SMTP id o2mr6161277wmo.170.1621352807492; Tue, 18 May 2021 08:46:47 -0700 (PDT) Received: from ?IPv6:2a0d:6fc2:51d2:1d01:7e58:ffdd:ca53:e6f1? ([2a0d:6fc2:51d2:1d01:7e58:ffdd:ca53:e6f1]) by smtp.gmail.com with ESMTPSA id s15sm3050221wrt.54.2021.05.18.08.46.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 May 2021 08:46:47 -0700 (PDT) To: "Alexander V. Chernikov" , freebsd-net@freebsd.org From: Guy Yur Subject: fib[46]_lookup_rt usage in netflow.c, sa_len comparison with AF_INET Message-ID: Date: Tue, 18 May 2021 18:46:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4Fl0jj5xNHz4qbj X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=E8IbE5oF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of guyyur@gmail.com designates 2a00:1450:4864:20::32f as permitted sender) smtp.mailfrom=guyyur@gmail.com X-Spamd-Result: default: False [1.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::32f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.945]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.99)[0.985]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::32f:from:127.0.2.255]; NEURAL_SPAM_LONG(0.99)[0.994]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32f:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 15:46:50 -0000 Hi, I was looking for examples on how to use fib6_lookup_rt and noticed there are comparisons between sa_len and AF_ flags in netflow.c if (nh->gw_sa.sa_len == AF_INET) if (nh->gw_sa.sa_len == AF_INET6) Are these typos for sa_family? https://cgit.freebsd.org/src/tree/sys/netgraph/netflow/netflow.c#n363 https://cgit.freebsd.org/src/tree/sys/netgraph/netflow/netflow.c#n437 Added in https://cgit.freebsd.org/src/commit/sys/netgraph/netflow/netflow.c?id=4e19e0d92ac6dfa5d2df6d525922f1e60487a9cc Thanks, Guy Yur From owner-freebsd-net@freebsd.org Tue May 18 19:19:04 2021 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 370216546B8 for ; Tue, 18 May 2021 19:19:04 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Fl5Qb4Bj2z4cFf for ; Tue, 18 May 2021 19:19:03 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-pg1-x529.google.com with SMTP id k15so7696195pgb.10 for ; Tue, 18 May 2021 12:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QOYasK0WeyPLehV+GRhfdYDWaKcRWO03BZ/Fea4UeUg=; b=S1ZKzEAwvw6Zk9lPDuG75roQhaRfq42gFV8fBY/IYYSbSQYGQUCLm/C2hNkjSeejwP v3vDJoVeg4M48rIWkcVHmIcjS+3QX5tY0aOWT6mlyTzYW7iVwUZbJlbUSEq+z2yVocjL +r4GWWZ3udwx1nbHQAoEy1TZClYAWK69jhbnATXDRDjBvpGZHzlOkqTZvmUQADbzj4Vx niQ1uNCcLA/J9i7snsDr0w9wPb3deAMYUzXeEMu9PF03z3Hl5bEU2tcmgnT+cH58o2ri ckJIe1Wouk3cIeC1TfNwmUHgVWwslbv/L3uJG8fDZ8qz8iH0Jazzkt6flePlIY2sU4kg sVZA== 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=QOYasK0WeyPLehV+GRhfdYDWaKcRWO03BZ/Fea4UeUg=; b=XgQAEPz0oeN0Ogn03MpIgKpKKuoeYL2aWDLTuVGuQfoZ/RDeCdpKq53TosmU2b4YIW urFE7KIzxv5xlvKvjrwSz+3ofsCReR2+dxdwg//2yQRTUmw3FlcT0qluS1m4yAw6LTgT 86QlLd8tC/myT0dYGym3v2M6al/oLBdgRwT5pmCgKgSUob/Uvepx4LhG7P3UWt0f2R94 69spps6VxmFCnS3qoenTYEk126d3Utr6brYLJPNysI1fje3uRqFXAy7pKuXgnCiU6Wbk EydJ0aAtCQ56NQwx2QFz4OnS0UHjeJxlaRfRsk6yHFoAu61aAG5N4WSs+zRmyck8p4U+ SmMA== X-Gm-Message-State: AOAM532yTsDkZFCZtZbNThqEwwTuX+NWF9O2mC2Bp7QkINGGQh6Zg2YI w1erqZuEAUfAq8DuajnlEv1ixnhhavK6HOy1ZWIbFi3p9H4= X-Google-Smtp-Source: ABdhPJzK5WNJYBgrIb2oK3XmqhGf2SZulalXy6BZ39j/eU71BWrT0ZuYFQ1C/ZqTlC5zRN3lrdLfnkjn3I1NR0z07L8= X-Received: by 2002:a63:f955:: with SMTP id q21mr6840828pgk.448.1621365542190; Tue, 18 May 2021 12:19:02 -0700 (PDT) MIME-Version: 1.0 From: Ryan Stone Date: Tue, 18 May 2021 15:18:51 -0400 Message-ID: Subject: rip6_output not in net epoch across call to ip6_setpktopts() To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Fl5Qb4Bj2z4cFf X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=S1ZKzEAw; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rysto32@gmail.com designates 2607:f8b0:4864:20::529 as permitted sender) smtp.mailfrom=rysto32@gmail.com X-Spamd-Result: default: False [-0.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::529:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::529:from:127.0.2.255]; NEURAL_SPAM_LONG(1.00)[0.996]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::529:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 19:19:04 -0000 Recently at work we saw a panic in ip6_setpktopt() while it's using an ifnet returned by ifnet_byindex, here: https://cgit.freebsd.org/src/tree/sys/netinet6/ip6_output.c#n2969 The issue seems to be that rip6_output() calls into ip6_setpktopts() outside of the net epoch. Should I just wrap the setpktopts call in a net epoch enter/exit, or does anybody think that there's something cleverer that should be done there? From owner-freebsd-net@freebsd.org Tue May 18 19:35:24 2021 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 42AA96556FA for ; Tue, 18 May 2021 19:35:24 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl5nQ5j1fz4glH for ; Tue, 18 May 2021 19:35:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 38D42260111; Tue, 18 May 2021 21:35:20 +0200 (CEST) Subject: Re: rip6_output not in net epoch across call to ip6_setpktopts() To: Ryan Stone , freebsd-net References: From: Hans Petter Selasky Message-ID: Date: Tue, 18 May 2021 21:34:03 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 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: 4Fl5nQ5j1fz4glH X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-0.69 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[0.998]; NEURAL_HAM_MEDIUM(-0.39)[-0.385]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 19:35:24 -0000 On 5/18/21 9:18 PM, Ryan Stone wrote: > The issue seems to be that rip6_output() calls into ip6_setpktopts() > outside of the net epoch. Should I just wrap the setpktopts call in a > net epoch enter/exit, or does anybody think that there's something > cleverer that should be done there? Hi, Epoch automagically detects recursion, and optimizes for that. If there is an inner section of enter/exit, covered by an outer section, the overhead will be less for the inner section. --HPS From owner-freebsd-net@freebsd.org Tue May 18 19:54:11 2021 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 27239656155 for ; Tue, 18 May 2021 19:54:11 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl6C63nXXz4lT9; Tue, 18 May 2021 19:54:10 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 1E4DB260111; Tue, 18 May 2021 21:54:09 +0200 (CEST) Subject: Re: fib[46]_lookup_rt usage in netflow.c, sa_len comparison with AF_INET To: Guy Yur , "Alexander V. Chernikov" , freebsd-net@freebsd.org References: From: Hans Petter Selasky Message-ID: <072f455b-a0e6-54e6-41b0-5ae231a57031@selasky.org> Date: Tue, 18 May 2021 21:52:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 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: 4Fl6C63nXXz4lT9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-1.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; TO_DN_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(0.98)[0.984]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; FREEMAIL_TO(0.00)[gmail.com,FreeBSD.org,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 19:54:11 -0000 On 5/18/21 5:46 PM, Guy Yur wrote: > Hi, > > I was looking for examples on how to use fib6_lookup_rt and noticed > there are comparisons between sa_len and AF_ flags in netflow.c > if (nh->gw_sa.sa_len == AF_INET) > if (nh->gw_sa.sa_len == AF_INET6) > > Are these typos for sa_family? Hi, According to: sys/net/route/nhop.c Yes. Should both be sa_family. --HPS > > https://cgit.freebsd.org/src/tree/sys/netgraph/netflow/netflow.c#n363 > https://cgit.freebsd.org/src/tree/sys/netgraph/netflow/netflow.c#n437 > > Added in > https://cgit.freebsd.org/src/commit/sys/netgraph/netflow/netflow.c?id=4e19e0d92ac6dfa5d2df6d525922f1e60487a9cc --HPS From owner-freebsd-net@freebsd.org Tue May 18 20:17:40 2021 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 614A76565EA for ; Tue, 18 May 2021 20:17:40 +0000 (UTC) (envelope-from vmaffione@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl6kD28xbz4r20 for ; Tue, 18 May 2021 20:17:40 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id 2A2455E23 for ; Tue, 18 May 2021 20:17:40 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pf1-f173.google.com with SMTP id x188so8261316pfd.7 for ; Tue, 18 May 2021 13:17:40 -0700 (PDT) X-Gm-Message-State: AOAM531EdQwItDST2v76Nv5FqcpqjvkgZ0muVOfmieGvrVji/mjXPNPR 6Xx3WQl9quq8+53hOB8+w23eXPL+Mm0m5vd7mnI= X-Google-Smtp-Source: ABdhPJzufhOBiSIUY9FwcErk9kD2xCiboJzTE5puhVupMg+KAZZlCwHIQelsglbimsFo6yuM8D90Qq0/3Bp6qd4tPm0= X-Received: by 2002:a05:6a00:134b:b029:2bf:2c30:ebbd with SMTP id k11-20020a056a00134bb02902bf2c30ebbdmr6940452pfu.74.1621369059026; Tue, 18 May 2021 13:17:39 -0700 (PDT) MIME-Version: 1.0 References: <91e21d18a4214af4898dd09f11144493@EX16-05.ad.unipi.it> <20210517192054.0907beea@x23> In-Reply-To: <20210517192054.0907beea@x23> From: Vincenzo Maffione Date: Tue, 18 May 2021 22:17:27 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Vector Packet Processing (VPP) portability on FreeBSD To: Marko Zec Cc: Francois ten Krooden , "freebsd-net@freebsd.org" , Jacques Fourie Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 20:17:40 -0000 +1 Thanks, Vincenzo Il giorno lun 17 mag 2021 alle ore 19:20 Marko Zec ha scritto: > On Mon, 17 May 2021 09:53:25 +0000 > Francois ten Krooden wrote: > > > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > > > > Hi, > > > Yes, you are not using emulated netmap mode. > > > > > > In the test setup depicted here > > > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- > > > interfaces#test-setup > > > I think you should really try to replace VPP with the netmap > > > "bridge" application (tools/tools/netmap/bridge.c), and see what > > > numbers you get. > > > > > > You would run the application this way > > > # bridge -i ix0 -i ix1 > > > and this will forward any traffic between ix0 and ix1 (in both > > > directions). > > > > > > These numbers would give you a better idea of where to look next > > > (e.g. VPP code improvements or system tuning such as NIC > > > interrupts, CPU binding, etc.). > > > > Thank you for the suggestion. > > I did run a test with the bridge this morning, and updated the > > results as well. +-------------+------------------+ > > | Packet Size | Throughput (pps) | > > +-------------+------------------+ > > | 64 bytes | 7.197 Mpps | > > | 128 bytes | 7.638 Mpps | > > | 512 bytes | 2.358 Mpps | > > | 1280 bytes | 964.915 kpps | > > | 1518 bytes | 815.239 kpps | > > +-------------+------------------+ > > I assume you're on 13.0 where netmap throughput is lower compared to > 11.x due to migration of most drivers to iflib (apparently increased > overhead) and different driver defaults. On 11.x I could move 10G line > rate from one ix to another at low CPU freqs, where on 13.x the CPU > must be set to max speed, and still can't do 14.88 Mpps. > > #1 thing which changed: default # of packets per ring dropped down from > 2048 (11.x) to 1024 (13.x). Try changing this in /boot/loader.conf: > > dev.ixl.0.iflib.override_nrxds=2048 > dev.ixl.0.iflib.override_ntxds=2048 > dev.ixl.1.iflib.override_nrxds=2048 > dev.ixl.1.iflib.override_ntxds=2048 > etc. > > For me this increases the throughput of > bridge -i netmap:ixl0 -i netmap:ixl1 > from 9.3 Mpps to 11.4 Mpps > > #2: default interrupt moderation delays seem to be too long. Combined > with increasing the ring sizes, reducing dev.ixl.0.rx_itr from 62 > (default) to 40 increases the throughput further from 11.4 to 14.5 Mpps > > Hope this helps, > > Marko > > > > Besides for the 64-byte and 128-byte packets the other sizes where > > matching the maximum rates possible on 10Gbps. This was when the > > bridge application was running on a single core, and the cpu core was > > maxing out at a 100%. > > > > I think there might be a bit of system tuning needed, but I suspect > > most of the improvement would be needed in VPP. > > > > Regards > > Francois > From owner-freebsd-net@freebsd.org Tue May 18 21:02:07 2021 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 5B51C6576F4 for ; Tue, 18 May 2021 21:02: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 4Fl7jW1fzgz3JWw for ; Tue, 18 May 2021 21:02:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 38EB2657A8D; Tue, 18 May 2021 21:02: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 38AEF6578A7 for ; Tue, 18 May 2021 21:02: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl7jW0rmfz3JWv for ; Tue, 18 May 2021 21:02: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F167A2677B for ; Tue, 18 May 2021 21:02:06 +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 14IL26ct008264 for ; Tue, 18 May 2021 21:02:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14IL26Bk008263 for net@FreeBSD.org; Tue, 18 May 2021 21:02:06 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 255388] netinet/ip_input.c: Do not forward datagrams original from 169.254.0.0/16 Date: Tue, 18 May 2021 21:02:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 21:02:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255388 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3d846e48227e2e78c1e7b35145f57353f= fda56ba commit 3d846e48227e2e78c1e7b35145f57353ffda56ba Author: Zhenlei Huang AuthorDate: 2021-05-18 20:51:37 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-18 20:59:46 +0000 Do not forward datagrams originated by link-local addresses The current implement of ip_input() reject packets destined for 169.254.0.0/16, but not those original from 169.254.0.0/16 link-local addresses. Fix to fully respect RFC 3927 section 2.7. PR: 255388 Reviewed by: donner, rgrimes, karels MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D29968 sys/netinet/ip_input.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue May 18 21:11:16 2021 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 2EB44657A5C for ; Tue, 18 May 2021 21:11:16 +0000 (UTC) (envelope-from vmaffione@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl7w40RXTz3NMh for ; Tue, 18 May 2021 21:11:16 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id E35296812 for ; Tue, 18 May 2021 21:11:15 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pj1-f53.google.com with SMTP id b9-20020a17090a9909b029015cf9effaeaso2280529pjp.5 for ; Tue, 18 May 2021 14:11:15 -0700 (PDT) X-Gm-Message-State: AOAM530Mb5h5U6k4Apqg4uCmfPmwCSj3pRqj0iib1oM9YTbd2+txdPru d0K506DDZR8bXyafiwa/RmdNYE9W1769UWT58vo= X-Google-Smtp-Source: ABdhPJzhh6mmAtOGepwGZ90YYmrS5gnguX11oOVXEeoYR2mNWGsHJRLZExgXqCI4qz57JXzZS6mBkaOsAeoot3f7DlM= X-Received: by 2002:a17:902:ba8a:b029:ec:b04c:451d with SMTP id k10-20020a170902ba8ab02900ecb04c451dmr6620593pls.67.1621372274977; Tue, 18 May 2021 14:11:14 -0700 (PDT) MIME-Version: 1.0 References: <91e21d18a4214af4898dd09f11144493@EX16-05.ad.unipi.it> <20210517192054.0907beea@x23> In-Reply-To: From: Vincenzo Maffione Date: Tue, 18 May 2021 23:11:03 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Vector Packet Processing (VPP) portability on FreeBSD To: Kevin Bowling Cc: Marko Zec , Francois ten Krooden , Jacques Fourie , "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 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 May 2021 21:11:16 -0000 Il giorno mar 18 mag 2021 alle ore 09:32 Kevin Bowling < kevin.bowling@kev009.com> ha scritto: > > > On Mon, May 17, 2021 at 10:20 AM Marko Zec wrote: > >> On Mon, 17 May 2021 09:53:25 +0000 >> Francois ten Krooden wrote: >> >> > On 2021/05/16 09:22, Vincenzo Maffione wrote: >> > >> > > >> > > Hi, >> > > Yes, you are not using emulated netmap mode. >> > > >> > > In the test setup depicted here >> > > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- >> > > interfaces#test-setup >> > > I think you should really try to replace VPP with the netmap >> > > "bridge" application (tools/tools/netmap/bridge.c), and see what >> > > numbers you get. >> > > >> > > You would run the application this way >> > > # bridge -i ix0 -i ix1 >> > > and this will forward any traffic between ix0 and ix1 (in both >> > > directions). >> > > >> > > These numbers would give you a better idea of where to look next >> > > (e.g. VPP code improvements or system tuning such as NIC >> > > interrupts, CPU binding, etc.). >> > >> > Thank you for the suggestion. >> > I did run a test with the bridge this morning, and updated the >> > results as well. +-------------+------------------+ >> > | Packet Size | Throughput (pps) | >> > +-------------+------------------+ >> > | 64 bytes | 7.197 Mpps | >> > | 128 bytes | 7.638 Mpps | >> > | 512 bytes | 2.358 Mpps | >> > | 1280 bytes | 964.915 kpps | >> > | 1518 bytes | 815.239 kpps | >> > +-------------+------------------+ >> >> I assume you're on 13.0 where netmap throughput is lower compared to >> 11.x due to migration of most drivers to iflib (apparently increased >> overhead) and different driver defaults. On 11.x I could move 10G line >> rate from one ix to another at low CPU freqs, where on 13.x the CPU >> must be set to max speed, and still can't do 14.88 Mpps. >> > > I believe this issue is in the combined txrx interrupt filter. It is > causing a bunch of unnecessary tx re-arms. > Could you please elaborate on that? TX completion is indeed the one thing that changed considerably with the porting to iflib. And this could be a major contributor to the performance drop. My understanding is that TX interrupts are not really used anymore on multi-gigabit NICs such as ix or ixl. Instead, "softirqs" are used, meaning that a timer is used to perform TX completion. I don't know what the motivations were for this design decision. I had to decrease the timer period to 90us to ensure timely completion (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652). However, the timer period is currently not adaptive. > > >> #1 thing which changed: default # of packets per ring dropped down from >> 2048 (11.x) to 1024 (13.x). Try changing this in /boot/loader.conf: >> >> dev.ixl.0.iflib.override_nrxds=2048 >> dev.ixl.0.iflib.override_ntxds=2048 >> dev.ixl.1.iflib.override_nrxds=2048 >> dev.ixl.1.iflib.override_ntxds=2048 >> etc. >> >> For me this increases the throughput of >> bridge -i netmap:ixl0 -i netmap:ixl1 >> from 9.3 Mpps to 11.4 Mpps >> >> #2: default interrupt moderation delays seem to be too long. Combined >> with increasing the ring sizes, reducing dev.ixl.0.rx_itr from 62 >> (default) to 40 increases the throughput further from 11.4 to 14.5 Mpps >> >> Hope this helps, >> >> Marko >> >> >> > Besides for the 64-byte and 128-byte packets the other sizes where >> > matching the maximum rates possible on 10Gbps. This was when the >> > bridge application was running on a single core, and the cpu core was >> > maxing out at a 100%. >> > >> > I think there might be a bit of system tuning needed, but I suspect >> > most of the improvement would be needed in VPP. >> > >> > Regards >> > Francois >> _______________________________________________ >> 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 May 18 21:26:11 2021 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 D5E46657B63 for ; Tue, 18 May 2021 21:26:11 +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 4Fl8FH5QQLz3gxt for ; Tue, 18 May 2021 21:26:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B80C6657C40; Tue, 18 May 2021 21:26:11 +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 B7D2E657F17 for ; Tue, 18 May 2021 21:26:11 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl8FH3nMfz3RGs for ; Tue, 18 May 2021 21:26:11 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A32F267D5 for ; Tue, 18 May 2021 21:26: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 14ILQBYO022478 for ; Tue, 18 May 2021 21:26:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14ILQBWv022477 for net@FreeBSD.org; Tue, 18 May 2021 21:26: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 230465] ixl: not working in netmap mode Date: Tue, 18 May 2021 21:26:09 +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-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: In Progress 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.34 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 May 2021 21:26:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 --- Comment #44 from Vincenzo Maffione --- What if you set hw.ixl.enable_head_writeback =3D 0 in /boot/loader.conf and reboot? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu May 20 05:10:26 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 826126232C6 for ; Thu, 20 May 2021 05:10:43 +0000 (UTC) (envelope-from ftk@nanoteq.com) Received: from mailguard.liquidtelecom.co.za (delivery.mailguard.neotel.co.za [41.168.2.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4FlyVn0sw1z3BqH; Thu, 20 May 2021 05:10:40 +0000 (UTC) (envelope-from ftk@nanoteq.com) Received: from SEC-NGP-AG08 ([192.168.202.38]) by mailguard.liquidtelecom.co.za with Microsoft SMTPSVC(7.5.7601.17514); Thu, 20 May 2021 07:10:00 +0200 Received: from sec-ngp-spt04.e-purifier.com ([192.168.201.1]) by SEC-NGP-AG08.neotel.e-purifier.co.za with Microsoft SMTPSVC(7.5.7601.17514); Thu, 20 May 2021 07:09:59 +0200 Received: from localhost (localhost [127.0.0.1]) by sec-ngp-spt04.e-purifier.com (Postfix) with ESMTP id 47BDE1012D9E; Thu, 20 May 2021 07:10:36 +0200 (SAST) X-Virus-Scanned: by SpamTitan at e-purifier.com Received: from sec-ngp-spt04.e-purifier.com (localhost [127.0.0.1]) by sec-ngp-spt04.e-purifier.com (Postfix) with ESMTP id 9E07C1012E2C; Thu, 20 May 2021 07:10:29 +0200 (SAST) Received: from NTQ-EXC.nanoteq.co.za (unknown [41.170.5.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sec-ngp-spt04.e-purifier.com (Postfix) with ESMTPS id 8B5811012E0C; Thu, 20 May 2021 07:10:29 +0200 (SAST) Received: from NTQ-EXC.nanoteq.co.za ([fe80::a5b3:4700:5af3:78b2]) by NTQ-EXC.nanoteq.co.za ([fe80::a5b3:4700:5af3:78b2%12]) with mapi id 14.03.0513.000; Thu, 20 May 2021 07:10:28 +0200 From: Francois ten Krooden To: Marko Zec CC: Vincenzo Maffione , "freebsd-net@freebsd.org" , Jacques Fourie Subject: RE: Vector Packet Processing (VPP) portability on FreeBSD Thread-Topic: Vector Packet Processing (VPP) portability on FreeBSD Thread-Index: AQHXRapQkx/sKwTM3EOdxg1D+Pz3RqrhREohgAAEi1D//+jugIAAL0oAgAQ6h4CAAdzSEIAAXLoAgAQL0WA= Date: Thu, 20 May 2021 05:10:26 +0000 Message-ID: References: <91e21d18a4214af4898dd09f11144493@EX16-05.ad.unipi.it> <20210517192054.0907beea@x23> In-Reply-To: <20210517192054.0907beea@x23> Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-OriginalArrivalTime: 20 May 2021 05:09:59.0577 (UTC) FILETIME=[61D6F890:01D74D36] x-archived: yes x-dbused: RGF0YSBTb3VyY2U9MTkyLjE2OC4yMDEuMjc= X-Rspamd-Queue-Id: 4FlyVn0sw1z3BqH X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of ftk@nanoteq.com has no SPF policy when checking 41.168.2.25) smtp.mailfrom=ftk@nanoteq.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[41.168.2.25:from]; RCVD_IN_DNSWL_LOW(-0.10)[41.168.2.25:from]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.983]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[Nanoteq.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.92)[-0.920]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36937, ipnet:41.168.0.0/17, country:ZA]; RCVD_COUNT_SEVEN(0.00)[7]; MAILMAN_DEST(0.00)[freebsd-net]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com] Thanks will give these a shot. Yes we are working on FreeBSD 13.0 as there is some of the memory managemen= t functionality which is required. I suspected there might have been some impact with implementing iflib. On Monday, 17 May 2021 19:21, Marko Zec wrote: > > On Mon, 17 May 2021 09:53:25 +0000 > Francois ten Krooden wrote: > > > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > > > > Hi, > > > Yes, you are not using emulated netmap mode. > > > > > > In the test setup depicted here > > > https://github.com/ftk-ntq/vpp/wiki/VPP-throughput-using-netmap- > > > interfaces#test-setup > > > I think you should really try to replace VPP with the netmap > > > "bridge" application (tools/tools/netmap/bridge.c), and see what > > > numbers you get. > > > > > > You would run the application this way # bridge -i ix0 -i ix1 and > > > this will forward any traffic between ix0 and ix1 (in both > > > directions). > > > > > > These numbers would give you a better idea of where to look next > > > (e.g. VPP code improvements or system tuning such as NIC interrupts, > > > CPU binding, etc.). > > > > Thank you for the suggestion. > > I did run a test with the bridge this morning, and updated the results > > as well. +-------------+------------------+ > > | Packet Size | Throughput (pps) | > > +-------------+------------------+ > > | 64 bytes | 7.197 Mpps | > > | 128 bytes | 7.638 Mpps | > > | 512 bytes | 2.358 Mpps | > > | 1280 bytes | 964.915 kpps | > > | 1518 bytes | 815.239 kpps | > > +-------------+------------------+ > > I assume you're on 13.0 where netmap throughput is lower compared to > 11.x due to migration of most drivers to iflib (apparently increased > overhead) and different driver defaults. On 11.x I could move 10G line r= ate > from one ix to another at low CPU freqs, where on 13.x the CPU must be se= t > to max speed, and still can't do 14.88 Mpps. > > #1 thing which changed: default # of packets per ring dropped down from > 2048 (11.x) to 1024 (13.x). Try changing this in /boot/loader.conf: > > dev.ixl.0.iflib.override_nrxds=3D2048 > dev.ixl.0.iflib.override_ntxds=3D2048 > dev.ixl.1.iflib.override_nrxds=3D2048 > dev.ixl.1.iflib.override_ntxds=3D2048 > etc. > > For me this increases the throughput of > bridge -i netmap:ixl0 -i netmap:ixl1 > from 9.3 Mpps to 11.4 Mpps > > #2: default interrupt moderation delays seem to be too long. Combined wi= th > increasing the ring sizes, reducing dev.ixl.0.rx_itr from 62 > (default) to 40 increases the throughput further from 11.4 to 14.5 Mpps > > Hope this helps, > > Marko > > > > Besides for the 64-byte and 128-byte packets the other sizes where > > matching the maximum rates possible on 10Gbps. This was when the > > bridge application was running on a single core, and the cpu core was > > maxing out at a 100%. > > > > I think there might be a bit of system tuning needed, but I suspect > > most of the improvement would be needed in VPP. > > > > Regards > > Francois > Important Notice: This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail le= gal notice available at: http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx From nobody Thu May 20 05:54:27 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 846928C60A4 for ; Thu, 20 May 2021 05:54:28 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FlzTJ3F9zz3kxl for ; Thu, 20 May 2021 05:54:28 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5849C20B4B for ; Thu, 20 May 2021 05:54: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 14K5sSGZ041818 for ; Thu, 20 May 2021 05:54:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14K5sSJ3041817 for net@FreeBSD.org; Thu, 20 May 2021 05:54:28 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 255430] ng_bridge don't sends broadcast packet to first found link in case of error in other links Date: Thu, 20 May 2021 05:54:27 +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: 13.0-STABLE X-Bugzilla-Keywords: 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: donner@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255430 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De240dd0d502e5c6741007e6e8f9ac41a0= e5c33cd commit e240dd0d502e5c6741007e6e8f9ac41a0e5c33cd Author: Lutz Donnerhacke AuthorDate: 2021-04-27 07:49:50 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-20 05:52:21 +0000 netgraph/ng_bridge: Handle send errors during loop handling If sending out a packet fails during the loop over all links, the allocated memory is leaked and not all links receive a copy. This patch fixes those problems, clarifies a premature abort of the loop, and fixes a minory style(9) bug. PR: 255430 Submitted by: Dancho Penev Tested by: Dancho Penev Differential Revision: https://reviews.freebsd.org/D30008 (cherry picked from commit a56e5ad6903037861457da754574b4903dcb0e7e) sys/netgraph/ng_bridge.c | 55 ++++++++++++++++++++++++++------------------= ---- 1 file changed, 30 insertions(+), 25 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu May 20 06:00:30 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ECC31624AA2 for ; Thu, 20 May 2021 06:00: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FlzcF6GvFz3pGW for ; Thu, 20 May 2021 06:00: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C168E20AC0 for ; Thu, 20 May 2021 06:00:29 +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 14K60TTP042916 for ; Thu, 20 May 2021 06:00:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14K60Tg1042915 for net@FreeBSD.org; Thu, 20 May 2021 06:00:29 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 255430] ng_bridge don't sends broadcast packet to first found link in case of error in other links Date: Thu, 20 May 2021 06:00:30 +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: 13.0-STABLE X-Bugzilla-Keywords: 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: donner@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255430 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1165cafa0baee55a46459e4cf7c2573ca= 25a0a1c commit 1165cafa0baee55a46459e4cf7c2573ca25a0a1c Author: Lutz Donnerhacke AuthorDate: 2021-04-27 07:49:50 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-20 05:58:30 +0000 netgraph/ng_bridge: Handle send errors during loop handling If sending out a packet fails during the loop over all links, the allocated memory is leaked and not all links receive a copy. This patch fixes those problems, clarifies a premature abort of the loop, and fixes a minory style(9) bug. PR: 255430 Submitted by: Dancho Penev Tested by: Dancho Penev Differential Revision: https://reviews.freebsd.org/D30008 (cherry picked from commit a56e5ad6903037861457da754574b4903dcb0e7e) sys/netgraph/ng_bridge.c | 57 ++++++++++++++++++++++++++------------------= ---- 1 file changed, 31 insertions(+), 26 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu May 20 06:25:15 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6B90C8BD598 for ; Thu, 20 May 2021 06:25:16 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fm08r2VK7z4TFp for ; Thu, 20 May 2021 06:25: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3EE6E211AB for ; Thu, 20 May 2021 06:25: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 14K6PGig058998 for ; Thu, 20 May 2021 06:25:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14K6PGUK058997 for net@FreeBSD.org; Thu, 20 May 2021 06:25: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 255430] ng_bridge don't sends broadcast packet to first found link in case of error in other links Date: Thu, 20 May 2021 06:25:15 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: donner@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: donner@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255430 Lutz Donnerhacke changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu May 20 17:53:14 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6F4138C02EC for ; Thu, 20 May 2021 17:53:14 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FmHQf2g6Xz3C5Y for ; Thu, 20 May 2021 17:53:14 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 43A702A543 for ; Thu, 20 May 2021 17:53:14 +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 14KHrEJo009960 for ; Thu, 20 May 2021 17:53:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14KHrETa009959 for net@FreeBSD.org; Thu, 20 May 2021 17:53:14 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 254147] No buffer space available error on NIC Intel 10G X550T Date: Thu, 20 May 2021 17:53:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: erj@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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254147 --- Comment #1 from Eric Joyner --- Can you describe the sequence of events around the "loss of connection" mor= e? Does it happen with no messages, and then you get the "No buffer space available error"? Does that buffer space message happen even though ifconfig says link is active? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri May 21 13:10:37 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7C4258BDD62 for ; Fri, 21 May 2021 13:10: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fmn6C2V19z4fD3 for ; Fri, 21 May 2021 13:10: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2EFA511ECA for ; Fri, 21 May 2021 13:10: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 14LDAhcg098009 for ; Fri, 21 May 2021 13:10:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14LDAgRq098008 for net@FreeBSD.org; Fri, 21 May 2021 13:10: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 230465] ixl: not working in netmap mode Date: Fri, 21 May 2021 13:10:37 +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-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: strongswan@Nanoteq.com X-Bugzilla-Status: In Progress 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 strongswan@Nanoteq.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |strongswan@Nanoteq.com --- Comment #45 from strongswan@Nanoteq.com --- (In reply to Vincenzo Maffione from comment #44) I was testing a different application on a box with a ixl card. I also noticed the drop in the tx packets. Setting hw.ixl.enable_head_writeback =3D 0 in /boot/loader.conf seems to ha= ve resolved the issue with the preliminary tests I have done. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri May 21 20:12:27 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5DDBD8C744E for ; Fri, 21 May 2021 20:13:27 +0000 (UTC) (envelope-from velma.casper@oceanwebzone.com) Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4FmyTy12mZz3Bxk for ; Fri, 21 May 2021 20:13:25 +0000 (UTC) (envelope-from velma.casper@oceanwebzone.com) Received: by mail-pg1-x52c.google.com with SMTP id k15so15093956pgb.10 for ; Fri, 21 May 2021 13:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oceanwebzone.com; s=google; h=from:to:subject:date:message-id:mime-version:importance :thread-index:content-language:disposition-notification-to; bh=ZEEQhv7QfRtM9ix6b1fjulY6OfeZHZbR6UCvrl/giLU=; b=SZ4lpy9EfrY9KQAgz5avKkr5UJLECI8m9Q2jDlzNPUqKAwFQwMUTRr82zGx0+kIGzt qfFjImgHdmHnrJNGIlldm+sZKM57nSi3tvzPTb1aPaGOK9UKS7Z3HXpZmh5H5iFRNOcH FYCr3AbGQbJYE2wqDFj/UjzAH1paAev3jYjUuAbN3n/Z4Ycrs9Y14JmORVfmW7jRuxIw 5v0/B8ETN3E+9HW3ZeiBflmjhX8SRVE0cXAhNAxr8R81LI6uCO501O+a2YasbSb8EGVq RN/rPNZWcimjVJBPH0OaYiA0dTTsr4cNwcSrfDSCxeA6FNFl/d5dOUSHXzi/ti3rmE55 qMCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :importance:thread-index:content-language :disposition-notification-to; bh=ZEEQhv7QfRtM9ix6b1fjulY6OfeZHZbR6UCvrl/giLU=; b=WUKaNgCn9RfqYvg7z5ocss3eGhS4SSBbZ5Jq3WcMab5kY1bZ7+ikamqY2O+ukjrXkb xtyPzNNl+PKcDURtK8+qOwYhmyivngvH5dPGSOcckKMqnV8WHZoBST8X7ExZtx00Av+U 456dUdDryVQ9WzTfb0tGDFrwoxiAozaUfF6mnOl7lEXIR6Qp5vyVsMWwIMn1rHo9xSPB FGt7UJvwxvDBhXcBvUPysfJ2p+qCbR2n1wOJKSjDTvSSKYkYzMPLUpB4pV7HGo3gGTmq psS4hie952GhXEcQHljAY4lCGfUMan+zBMELNKURgh83LcNe+mLuf2JjcGwzUcmNOatd KUdw== X-Gm-Message-State: AOAM533Yb2R7WP4A1sA3WU7nr/vVndugsJxeoZPoRI8sThze2qh/po6u vCu4wohf3uaGNVDiGR6ThjOLZXGiQ5WfHtOl X-Google-Smtp-Source: ABdhPJykYndkjMVJGuHXr5YHqMQanGoFPsaeaPkbmo/8NjeACWppaXKEndqiDCwopX1nzVENMD9WcA== X-Received: by 2002:a63:d80f:: with SMTP id b15mr474206pgh.388.1621628004374; Fri, 21 May 2021 13:13:24 -0700 (PDT) Received: from WS124 ([157.45.112.99]) by smtp.gmail.com with ESMTPSA id y66sm5086849pgb.14.2021.05.21.13.13.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 May 2021 13:13:23 -0700 (PDT) From: "Velma Casper" To: Subject: Dell Users Accounts Date: Sat, 22 May 2021 01:42:27 +0530 Message-ID: List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0688_01D74EAB.B9308D60" X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Importance: High Thread-Index: AddOeBuR+o7nZQTqRmyJEezgXMdXrg== Content-Language: en-us Disposition-Notification-To: "Velma Casper" X-Rspamd-Queue-Id: 4FmyTy12mZz3Bxk X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=oceanwebzone.com header.s=google header.b=SZ4lpy9E; dmarc=none; spf=pass (mx1.freebsd.org: domain of velma.casper@oceanwebzone.com designates 2607:f8b0:4864:20::52c as permitted sender) smtp.mailfrom=velma.casper@oceanwebzone.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[oceanwebzone.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[157.45.112.99:received]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::52c:from]; HAS_X_PRIO_ONE(0.00)[1]; 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)[-1.000]; R_DKIM_ALLOW(-0.20)[oceanwebzone.com:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::52c:from:127.0.2.255]; DMARC_NA(0.00)[oceanwebzone.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::52c:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] This is a multipart message in MIME format. ------=_NextPart_000_0688_01D74EAB.B9308D60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I wanted to check if you'd be interested in acquiring Dell Users List for your sales and marketing initiatives? Note: We have all types of technologies list available with us we can provide you with your specific requirements. Please send me your target geographical location, so that I can send you the available counts and pricing for your review. Regards, Velma Casper Sr. Marketing Manager To stop receiving future emails, please reply with Omit in the Subject Line. ------=_NextPart_000_0688_01D74EAB.B9308D60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

I wanted to check if you’d be interested in = acquiring
Dell Users List for your sales and marketing initiatives?

 

Note: We have all types of technologies list available with us we can = provide you with your specific requirements.

 

Please send me your target geographical location, so that I = can send you the available counts and pricing for your = review.

 

Regards,
Velma Casper

Sr. Marketing Manager

 

To stop receiving future emails, please reply with Omit in the Subject = Line.

 

------=_NextPart_000_0688_01D74EAB.B9308D60-- From nobody Sat May 22 22:03:21 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3D5968DD3CA for ; Sat, 22 May 2021 22:03:21 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FnctK178Cz3mV2 for ; Sat, 22 May 2021 22:03:21 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 10A193C73 for ; Sat, 22 May 2021 22:03:21 +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 14MM3Ljo023115 for ; Sat, 22 May 2021 22:03:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14MM3LD8023114 for net@FreeBSD.org; Sat, 22 May 2021 22:03:21 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 255388] netinet/ip_input.c: Do not forward datagrams original from 169.254.0.0/16 Date: Sat, 22 May 2021 22:03:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255388 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D03b0505b8fe848f33f2f38fe89dd55389= 08c847e commit 03b0505b8fe848f33f2f38fe89dd5538908c847e Author: Zhenlei Huang AuthorDate: 2021-05-22 21:53:52 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-22 22:01:37 +0000 ip_forward: Restore RFC reference Add RFC reference lost in 3d846e48227e2e78c1e7b35145f57353ffda56ba PR: 255388 Reviewed By: rgrimes, donner, karels, marcus, emaste MFC after: 27 days Differential Revision: https://reviews.freebsd.org/D30374 sys/netinet/ip_input.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun May 23 08:07:43 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 21C719FF262 for ; Sun, 23 May 2021 08:07: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FntHg0N54z3nY0 for ; Sun, 23 May 2021 08:07: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E3D1B14195 for ; Sun, 23 May 2021 08:07:42 +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 14N87gTc041301 for ; Sun, 23 May 2021 08:07:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14N87g0W041300 for net@FreeBSD.org; Sun, 23 May 2021 08:07: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 255430] ng_bridge don't sends broadcast packet to first found link in case of error in other links Date: Sun, 23 May 2021 08:07:43 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: donner@FreeBSD.org X-Bugzilla-Flags: mfc-stable13+ mfc-stable12+ X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255430 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable13?, |mfc-stable13+, |mfc-stable12? |mfc-stable12+ --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun May 23 08:08:50 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 575A79FFB85 for ; Sun, 23 May 2021 08:08: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FntJy1lQqz3pFb for ; Sun, 23 May 2021 08:08: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2230713A6C for ; Sun, 23 May 2021 08:08: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 14N88oXa041471 for ; Sun, 23 May 2021 08:08:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14N88o3B041470 for net@FreeBSD.org; Sun, 23 May 2021 08:08: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 255388] netinet/ip_input.c: Do not forward datagrams original from 169.254.0.0/16 Date: Sun, 23 May 2021 08:08: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: CURRENT X-Bugzilla-Keywords: 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: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: bug_status flagtypes.name 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255388 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress Flags| |mfc-stable13?, | |mfc-stable12? Keywords|needs-qa | --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun May 23 12:56:50 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B9A299E15A8 for ; Sun, 23 May 2021 12:56:52 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fp0jH2ylYz3s0t for ; Sun, 23 May 2021 12:56: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B2D5517B75 for ; Sun, 23 May 2021 12:56: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 14NCuocY089831 for ; Sun, 23 May 2021 12:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14NCuoOo089830 for net@FreeBSD.org; Sun, 23 May 2021 12:56:50 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 255874] [PATCH] netgraph: Fix a double free in ng_checksum_rcvdata Date: Sun, 23 May 2021 12:56:50 +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: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: donner@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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-Spam: Yes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255874 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfa670efa25ad960e17a6a9cb4601e5c3f= 19de5da commit fa670efa25ad960e17a6a9cb4601e5c3f19de5da Author: Lutz Donnerhacke AuthorDate: 2021-05-15 09:32:57 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-23 12:55:20 +0000 netgraph/ng_checksum: Fix double free error m_pullup(9) frees the mbuf(9) chain in the case of an allocation error. The mbuf chain must not be freed again in this case. PR: 255874 Submitted by: Approved by: markj Differential Revision: https://reviews.freebsd.org/D30273 (cherry picked from commit 687e510e5ce32fddf46a9dc1d517ccc8a8e25581) sys/netgraph/ng_checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun May 23 12:59:57 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 48C3E9E3306 for ; Sun, 23 May 2021 12:59: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fp0ms68h7z3tKp for ; Sun, 23 May 2021 12:59:57 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B3D91766E for ; Sun, 23 May 2021 12:59:57 +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 14NCxvbF090386 for ; Sun, 23 May 2021 12:59:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14NCxvfm090385 for net@FreeBSD.org; Sun, 23 May 2021 12:59:57 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 255874] [PATCH] netgraph: Fix a double free in ng_checksum_rcvdata Date: Sun, 23 May 2021 12:59:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: donner@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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-Spam: Yes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255874 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D76b96a4ec7fa8cffbfe8e876d622fd4e6= 9f25267 commit 76b96a4ec7fa8cffbfe8e876d622fd4e69f25267 Author: Lutz Donnerhacke AuthorDate: 2021-05-15 09:32:57 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-23 12:59:28 +0000 netgraph/ng_checksum: Fix double free error m_pullup(9) frees the mbuf(9) chain in the case of an allocation error. The mbuf chain must not be freed again in this case. PR: 255874 Submitted by: Approved by: markj Differential Revision: https://reviews.freebsd.org/D30273 (cherry picked from commit 687e510e5ce32fddf46a9dc1d517ccc8a8e25581) sys/netgraph/ng_checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun May 23 13:02:59 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1108B9E4D6F for ; Sun, 23 May 2021 13:03: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fp0rM2ZJgz4Qtv for ; Sun, 23 May 2021 13:02: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D69D017AE5 for ; Sun, 23 May 2021 13:02: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 14ND2wg9093791 for ; Sun, 23 May 2021 13:02:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14ND2waJ093790 for net@FreeBSD.org; Sun, 23 May 2021 13:02:58 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 255874] [PATCH] netgraph: Fix a double free in ng_checksum_rcvdata Date: Sun, 23 May 2021 13:02: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: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: donner@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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-Spam: Yes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255874 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/11 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6bc3535519f7206f844c3ffd0ee282e88= 75dceb4 commit 6bc3535519f7206f844c3ffd0ee282e8875dceb4 Author: Lutz Donnerhacke AuthorDate: 2021-05-15 09:32:57 +0000 Commit: Lutz Donnerhacke CommitDate: 2021-05-23 13:01:34 +0000 netgraph/ng_checksum: Fix double free error m_pullup(9) frees the mbuf(9) chain in the case of an allocation error. The mbuf chain must not be freed again in this case. PR: 255874 Submitted by: Approved by: markj Differential Revision: https://reviews.freebsd.org/D30273 (cherry picked from commit 687e510e5ce32fddf46a9dc1d517ccc8a8e25581) sys/netgraph/ng_checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun May 23 21:00:37 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 173159E484F for ; Sun, 23 May 2021 21:00:42 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FpCRY0mz8z3rdG for ; Sun, 23 May 2021 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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CE5B01DE44 for ; Sun, 23 May 2021 21:00: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 14NL0b6Q038487 for ; Sun, 23 May 2021 21:00:37 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14NL0bZ0038486 for net@FreeBSD.org; Sun, 23 May 2021 21:00:37 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202105232100.14NL0bZ0038486@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, 23 May 2021 21:00:37 +0000 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16218036377.a6Ef9F62.37373" Content-Transfer-Encoding: 7bit --16218036377.a6Ef9F62.37373 Date: Sun, 23 May 2021 21:00:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 166724 | if_re(4): watchdog timeout 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 | 217978 | dhclient: Support supersede statement for option Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki 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 | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 238707 | Lock order reversal: rtentry vs "nd6 list" Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile 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 Open | 244066 | divert: Add sysctls for divert socket send and re Open | 118111 | rc: network.subr Add MAC address based interface 28 problems total for which you should take action. --16218036377.a6Ef9F62.37373 Date: Sun, 23 May 2021 21:00:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
In Progress |    221146 | [ixgbe] Problem with second laggport
New         |    204438 | setsockopt() handling of kern.ipc.maxsockbuf limi
New         |    213410 | [carp] service netif restart causes hang only whe
Open        |      7556 | ppp: sl_compress_init() will fail if called anyth
Open        |    166724 | if_re(4): watchdog timeout
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        |    217978 | dhclient: Support supersede statement for option 
Open        |    222273 | igb(4): Kernel panic (fatal trap 12) due to netwo
Open        |    225438 | panic in6_unlink_ifa() due to race
Open        |    227720 | Kernel panic in ppp server
Open        |    230807 | if_alc(4): Driver not working for Killer Networki
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        |    237840 | Removed dummynet dependency on ipfw
Open        |    238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver
Open        |    238707 | Lock order reversal: rtentry vs "nd6 list"
Open        |    240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile
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
Open        |    244066 | divert: Add sysctls for divert socket send and re
Open        |    118111 | rc: network.subr Add MAC address based interface 

28 problems total for which you should take action.
--16218036377.a6Ef9F62.37373--