From owner-freebsd-net@freebsd.org Sun Jun 28 08:52:01 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBBDC98F531 for ; Sun, 28 Jun 2015 08:52:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A8B531067 for ; Sun, 28 Jun 2015 08:52:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5S8q1xR095650 for ; Sun, 28 Jun 2015 08:52:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Sun, 28 Jun 2015 08:52: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: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 28 Jun 2015 08:52:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 --- Comment #15 from Franco Fichtner --- MFC still pending. Having this in 10.2 would be awesome. :) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jun 28 10:18:46 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93FC398C4FE for ; Sun, 28 Jun 2015 10:18:46 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B9201A16 for ; Sun, 28 Jun 2015 10:18:46 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: by wiga1 with SMTP id a1so48637217wig.0 for ; Sun, 28 Jun 2015 03:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ReYQFG1Hp+hg2YwW02w3iNoNyQ8u60X6NkCRArf7VFk=; b=IGSLoYPzDpp/Pm8XTjDjgHi5tF0jCiB7ZlT8x0ihbE/RQLPVdBDxWlD3huIDFZIGdp sDyMi5XWfGPwf7+VzHhzea58RrNiA/KXfMibWS3B+scbVGrw1C9RDD2wP5jevtmB4Tb/ Wb9+nCW7KXjUNiigetf+1O9gpFOboPhVVtvq+SHMKqnuAROT+yORzY0Fxv8JIu8o/nJd zSX2NZqatpxBBVHTMlZX7go+dhmNPaImTu9g7iG4C+DEQTx83A/WVaBZMUwE24xvca93 I1+oiDgYb6e6ymz4DNAq3QtFRJpfClf2osxd0u3mJo2PigoczNDJ6lArJ/tWWZklhjhz 7wWA== MIME-Version: 1.0 X-Received: by 10.180.198.10 with SMTP id iy10mr12735848wic.46.1435486724753; Sun, 28 Jun 2015 03:18:44 -0700 (PDT) Received: by 10.27.178.129 with HTTP; Sun, 28 Jun 2015 03:18:44 -0700 (PDT) Date: Sun, 28 Jun 2015 13:18:44 +0300 Message-ID: Subject: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Pavel Odintsov To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 10:18:46 -0000 Hello, folks! I'm looking for solution which could do wire speed (56 mpps with 64byte packets) for 40GE. We have tested PF_RING/DPDK on Linux and could not achieve more than ~42 mpps and it's not enough for us. Could anybody share experience regarding performance estimations with netmap and this NIC on best-ever-and-ever FreeBSD? Thank you! -- Sincerely yours, Pavel Odintsov From owner-freebsd-net@freebsd.org Sun Jun 28 11:19:38 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 397B598E07B for ; Sun, 28 Jun 2015 11:19:38 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE8281259 for ; Sun, 28 Jun 2015 11:19:37 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by lagh6 with SMTP id h6so25428821lag.2 for ; Sun, 28 Jun 2015 04:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=1i1PJq9S0y6wSrk/n6lvYtYhie4zOqPbpfYEqIEsBR4=; b=znYoP5RaND0PaLNmi/QnoBHMTKN9o3+OPtsUrGO/wF03G2FW5iH2YbzXmFf5EkLYcm uUfeoSdcaW7gn73OAZ5eUNYQRBAtBSpCpC6u0qd0QSPEEpBYNzawAH9wjhqH5D2R9KD2 m9JQ6xvx6BfPFDpl2ccPtamSexRbCzUqzodQltA30+tpHe9A8U0g5v+8pWGrsp7N031r shYoYPZOz5Eb1PacgGKOkdTqkiCKogO9uKNcF0hAZ+CPRo29SHvpJt25AeZEV85wAP9a +tcT2qtOKOAlSXm3O9s1eGDMfJnu+TIEDisbqpzHGssJadzJNqBf/UsTWP2AKD+Dnxk9 VzaA== MIME-Version: 1.0 X-Received: by 10.152.238.39 with SMTP id vh7mr9420968lac.71.1435490375592; Sun, 28 Jun 2015 04:19:35 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.230.103 with HTTP; Sun, 28 Jun 2015 04:19:35 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Jun 2015 13:19:35 +0200 X-Google-Sender-Auth: pCHd6QOTfotfgMz7Qay84LbKwRo Message-ID: Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Luigi Rizzo To: Pavel Odintsov Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 11:19:38 -0000 Those 42mpps are probably close to the best you can get, take or leave a few MPPs. I do not know of any pcie nic that can do 40g at 64byte frames. On freebsd, Chelsio with netmap is in the 40-45mpps range too, and from what I can tell those are HW limited, not CPU bound numbers. I40e with netmap is between 32 and 36 mpps on TX (did not bother to optimize it), 28 mpps on RX, and surely I won't be able to beat dpdk which is highly optimized for the CPU and nic. Cheers Luigi On Sunday, June 28, 2015, Pavel Odintsov wrote: > Hello, folks! > > I'm looking for solution which could do wire speed (56 mpps with > 64byte packets) for 40GE. > > We have tested PF_RING/DPDK on Linux and could not achieve more than > ~42 mpps and it's not enough for us. > > Could anybody share experience regarding performance estimations with > netmap and this NIC on best-ever-and-ever FreeBSD? > > Thank you! > > -- > Sincerely yours, Pavel Odintsov > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org > " > -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Sun Jun 28 11:42:34 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EB6198E54C for ; Sun, 28 Jun 2015 11:42:34 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE36B1DA7 for ; Sun, 28 Jun 2015 11:42:33 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: by wgjx7 with SMTP id x7so46869031wgj.2 for ; Sun, 28 Jun 2015 04:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Aqgoxj/aGZ4FbjusUyNyYbW7kn5qgsayDy7M0l/ygMU=; b=XQz0M7rD+57zudIxycDkHo+rEo1Yocfpc+YjQdKLVaG9M3p2BQkbPGnH2i+7y+p00o Z9xA9o4M+q5tvGTdWmhDgtqENPA2lLRK+EPnQoVTuWzEP10Km4IJ/zsWg953p0tc8E6R dZfvNIQBdCercUdwIPPDzjM6cEwM/Z/au7VZb4IDovagNBz70MxrTv7qR9goh/Zz/Wkc U4thw7yGG71KqUN/3iFxjNKZi1q85qHHeiez1bjt6JPSlOOuZCsLFFemQsTZ4XAtuNrE C8zLtlCIRutkU4oZatvfTIrjoYv0N5wbV3Jn8RH3+Q8MeCcMjsg//D1pnmKQdFylYhUu r20w== MIME-Version: 1.0 X-Received: by 10.180.106.195 with SMTP id gw3mr13291667wib.25.1435491752270; Sun, 28 Jun 2015 04:42:32 -0700 (PDT) Received: by 10.27.178.129 with HTTP; Sun, 28 Jun 2015 04:42:32 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Jun 2015 14:42:32 +0300 Message-ID: Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Pavel Odintsov To: Luigi Rizzo Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 11:42:34 -0000 Hello, Luigi! Thank you for detailed answer! Well, this issue related to NIC itself.... not so good to hear this. Thus, Intel / Chelsio is out of the game :( I just found Mellanox NIC's ConnectX 4 Lx which offer 75 mpps for 50 GE in data sheet: http://www.mellanox.com/related-docs/prod_adapter_cards/PB_ConnectX-4_Lx-EN_Card.pdf ConnectX-4 Lx EN provides an unmatched combination of 10, 25, 40, and 50GbE bandwidth, sub microsecond latency and a 75 million packets per second message rate. Do you have experience with this cards? On Sun, Jun 28, 2015 at 2:19 PM, Luigi Rizzo wrote: > Those 42mpps are probably close to the best you can get, take or leave a few > MPPs. I do not know of any pcie nic that can do 40g at 64byte frames. On > freebsd, Chelsio with netmap is in the 40-45mpps range too, and from what I > can tell those are HW limited, not CPU bound numbers. I40e with netmap is > between 32 and 36 mpps on TX (did not bother to optimize it), 28 mpps on RX, > and surely I won't be able to beat dpdk which is highly optimized for the > CPU and nic. > > Cheers > Luigi > > On Sunday, June 28, 2015, Pavel Odintsov wrote: >> >> Hello, folks! >> >> I'm looking for solution which could do wire speed (56 mpps with >> 64byte packets) for 40GE. >> >> We have tested PF_RING/DPDK on Linux and could not achieve more than >> ~42 mpps and it's not enough for us. >> >> Could anybody share experience regarding performance estimations with >> netmap and this NIC on best-ever-and-ever FreeBSD? >> >> Thank you! >> >> -- >> Sincerely yours, Pavel Odintsov >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > -- > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL +39-050-2217533 . via Diotisalvi 2 > Mobile +39-338-6809875 . 56122 PISA (Italy) > -----------------------------------------+------------------------------- > -- Sincerely yours, Pavel Odintsov From owner-freebsd-net@freebsd.org Sun Jun 28 11:57:08 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 719B098E6AB for ; Sun, 28 Jun 2015 11:57:08 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7C5B10DE for ; Sun, 28 Jun 2015 11:57:07 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by lacny3 with SMTP id ny3so97431385lac.3 for ; Sun, 28 Jun 2015 04:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=oO/lGvryWBmaZF3PL3XxnYiJ5FacvCuBK1Sqaor0lZ0=; b=f1Zh0Rcah0UayqlezStkavIfU3WtOLz7THJufvAJz+sQOxsb3NCzRvT62FzTT3fX67 VxjyeTLRVhLqaJkqd9p3ARMfUg6A4nhzrCi8EXls3APp769q5cEfc1BqnCJ3A0cRYOvC QEaiK04NCyBx3ZApibaKvAb5wt/pC4VIjQc8SPdCeSX/akyk21GA0s5Ww78sE0CAVKi3 U2ZhAo+ksp0K7j7kA7VsRfTplb2F1WOcCTdJxsXtB3gnnnQ1KDLHBSGG6xd20QfopCqD UP7u6dh+U/oS+Kzi8pFN8jPZ/DTM8gtaq1Lt6vJP3M4/sC8WWBmW+HJ4IJlRzTaoy+yY hWaw== MIME-Version: 1.0 X-Received: by 10.152.88.98 with SMTP id bf2mr732391lab.23.1435492625965; Sun, 28 Jun 2015 04:57:05 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.230.103 with HTTP; Sun, 28 Jun 2015 04:57:05 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Jun 2015 13:57:05 +0200 X-Google-Sender-Auth: V_Lp1X0-sTnEFZku3SNGZIEze5Y Message-ID: Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Luigi Rizzo To: Pavel Odintsov Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 11:57:08 -0000 On Sunday, June 28, 2015, Pavel Odintsov wrote: > Hello, Luigi! > > Thank you for detailed answer! Well, this issue related to NIC > itself.... not so good to hear this. Thus, Intel / Chelsio is out of > the game :( > > Well before throwing them out kewp in mind that from my (albeit limited) experience Intel and chelsio are the most performing NICs you can find; all others I have tried (including mellanox 10 and 40g) were way slower. I am happy to be proven wrong and hear actual experimental data from vendors, but figures in data sheets often do not reflect reality, or if they do, there are lots of strings attached. This is a general consideration. Cheers Luigi I just found Mellanox NIC's ConnectX 4 Lx which offer 75 mpps for 50 > GE in data sheet: > > http://www.mellanox.com/related-docs/prod_adapter_cards/PB_ConnectX-4_Lx-EN_Card.pdf > > ConnectX-4 Lx EN provides an unmatched combination of 10, 25, 40, and > 50GbE bandwidth, sub microsecond latency and a 75 million packets per > second message rate. > > Do you have experience with this cards > > On Sun, Jun 28, 2015 at 2:19 PM, Luigi Rizzo > wrote: > > Those 42mpps are probably close to the best you can get, take or leave a > few > > MPPs. I do not know of any pcie nic that can do 40g at 64byte frames. On > > freebsd, Chelsio with netmap is in the 40-45mpps range too, and from > what I > > can tell those are HW limited, not CPU bound numbers. I40e with netmap is > > between 32 and 36 mpps on TX (did not bother to optimize it), 28 mpps on > RX, > > and surely I won't be able to beat dpdk which is highly optimized for the > > CPU and nic. > > > > Cheers > > Luigi > > > > On Sunday, June 28, 2015, Pavel Odintsov > wrote: > >> > >> Hello, folks! > >> > >> I'm looking for solution which could do wire speed (56 mpps with > >> 64byte packets) for 40GE. > >> > >> We have tested PF_RING/DPDK on Linux and could not achieve more than > >> ~42 mpps and it's not enough for us. > >> > >> Could anybody share experience regarding performance estimations with > >> netmap and this NIC on best-ever-and-ever FreeBSD? > >> > >> Thank you! > >> > >> -- > >> Sincerely yours, Pavel Odintsov > >> _______________________________________________ > >> freebsd-net@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-net > >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org > " > > > > > > > > -- > > -----------------------------------------+------------------------------- > > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. > dell'Informazione > > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > > TEL +39-050-2217533 . via Diotisalvi 2 > > Mobile +39-338-6809875 . 56122 PISA (Italy) > > -----------------------------------------+------------------------------- > > > > > > -- > Sincerely yours, Pavel Odintsov > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org > " > -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Sun Jun 28 13:36:27 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 361F098F9B2; Sun, 28 Jun 2015 13:36:27 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0068.outbound.protection.outlook.com [157.55.234.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72EB11A4F; Sun, 28 Jun 2015 13:36:25 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from AM3PR05MB529.eurprd05.prod.outlook.com (10.242.243.155) by AM3PR05MB433.eurprd05.prod.outlook.com (10.242.246.146) with Microsoft SMTP Server (TLS) id 15.1.201.16; Sun, 28 Jun 2015 13:36:16 +0000 Received: from AM3PR05MB529.eurprd05.prod.outlook.com ([10.242.243.155]) by AM3PR05MB529.eurprd05.prod.outlook.com ([10.242.243.155]) with mapi id 15.01.0195.005; Sun, 28 Jun 2015 13:36:17 +0000 From: Alex Liptsin To: "'freebsd-net@freebsd.org'" , "'freebsd-questions@freebsd.org'" CC: Oded Shanoon , Meny Yossefi , Talat Batheesh , Eldad Zarka Subject: Is it possible to set VLAN-QOS/Priority? Thread-Topic: Is it possible to set VLAN-QOS/Priority? Thread-Index: AdCxpx0vEk81hBdzTZeE20TeXqZ8KQ== Date: Sun, 28 Jun 2015 13:36:17 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none; x-originating-ip: [193.47.165.251] x-microsoft-exchange-diagnostics: 1; AM3PR05MB433; 5:Gh6NEbv3eXLSpidvSmCxuVPF20ON6D9m3SDg3QsU8n8B2cJwrs+GLYrybI4RrYtmJsYNGIf+WWonk5hF/AqM1x1pGUxn1vccTllONGxYvdLlURV1aBSMjtW0IDYdysBef0qR6b+IW2+zk+tgoGlBkg==; 24:HKo83F+woM8RAAfb+GJpBvMmlbw/IUAw/bP7HmaLMalgEYdS1whhi2lmHTKO4zzTjAxZC7GPlU7HF/DteErytlIwvNe8P1aIq+G7af3OXME=; 20:W42X8dC4cYbzdhbbaxpW1vy5/lKDG6bfXDAqqmjoAjgIGQgbQUidVf4sRCKYnDUgql/1w0+QbdPkxzKZ7bDuGw== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR05MB433; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:AM3PR05MB433; BCL:0; PCL:0; RULEID:; SRVR:AM3PR05MB433; x-forefront-prvs: 0621E7E436 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(5001960100002)(189998001)(5003600100002)(77156002)(62966003)(450100001)(5001770100001)(107886002)(229853001)(54356999)(50986999)(5002640100001)(76576001)(19580395003)(87936001)(46102003)(15975445007)(102836002)(66066001)(92566002)(19300405004)(558084003)(2656002)(19625215002)(33656002)(74316001)(40100003)(2900100001)(122556002)(16236675004)(77096005)(86362001)(491001)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR05MB433; H:AM3PR05MB529.eurprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2015 13:36:17.0605 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR05MB433 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 13:36:27 -0000 Hi. Is it possible to configure VLAN priority on FreeBSD10-STABLE or FreeBSD11= -CURRENT? Thanks. Alex Liptsin From owner-freebsd-net@freebsd.org Sun Jun 28 15:12:57 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31AE998F829 for ; Sun, 28 Jun 2015 15:12:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F05FD1C63 for ; Sun, 28 Jun 2015 15:12:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igrv9 with SMTP id v9so15203844igr.1 for ; Sun, 28 Jun 2015 08:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RwYuch//dEe/G+6s0qIx+YEx45HiAf5WzwE3+9NX1Oo=; b=Z3qQY10iSgTob9b/3uwR6ISNWJjOT/tpep/r8BbbFRUy9P8HzZuAGumqN5mGvj9GjW /YJ7w0k3wKksjzo93rpTTGUg22yY28Zu9+4+oQPO5YiiyYjFm5Y1sJfiET+stLKPW5Tn oq82yPLo6VxHCspBQVureOiJx0LTUC2Kj9RSaACJdNQCckTHfa3dkLsxuPJ0o13g1pXn 0VfXliR6Ol9y/Rg8evpAwLu05/rMpyEv9KCks5bN1Gm0MuGqRigab0aZEl5fJ2zkpOs9 MUT8N1Y3Bne/KSzf7B8BLzBJ/QdLKle7Jjb+urwMQCPbNbqKshOvP5R24ZYSVPdfgs/H VU1A== MIME-Version: 1.0 X-Received: by 10.50.111.167 with SMTP id ij7mr9551240igb.49.1435504376440; Sun, 28 Jun 2015 08:12:56 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Sun, 28 Jun 2015 08:12:56 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Jun 2015 08:12:56 -0700 Message-ID: Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Adrian Chadd To: Luigi Rizzo Cc: Pavel Odintsov , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 15:12:57 -0000 Hi, I've hit 40mpps TX/RX on the chelsio T5 hardware, but only on one queue. It's around 30-36mpps when RXing across multiple queues (for work distribution.) Yes, I keep being told the intel NIC will do higher full-duplex pps. I'll try it out at some point. -adrian From owner-freebsd-net@freebsd.org Sun Jun 28 15:27:09 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A13C298FB9D for ; Sun, 28 Jun 2015 15:27:09 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A93F1C2B for ; Sun, 28 Jun 2015 15:27:09 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: by wicnd19 with SMTP id nd19so79597228wic.1 for ; Sun, 28 Jun 2015 08:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DJawNNvsB7z6l5AgGimBvSo4MO+e8lUOK8T4MjvoiZE=; b=a1X3oJzjqiRBBPYQ1cc3X0+y7Fy4dasKzUQWr3XeRWx/GwSh74KTPAX2RPJLN5gfUM AtxxqExiMQlMnFFy1w4Qwf5FsnQ2AvYTohpu68oNDY+DAU/wZnXwQut9tE70ZAjvob6S +y4U6T2GUmTug8mGT3yyaVVxa0ARrgqmHS/Gt9wOyNpdskYu6YkNIuEJMkfD1zr5IJhz GjbZuQ4iVlhxrwcrpGmYn4wb5fS0IOOJL2myJooYcehos7IeGQY/3QMeGTejhHIpiK2r /Nk7uheUrCwb2BFaIEvIAWO/F9e5I/rDfkRw5qlM548FB+SbClenlXvNHbQ5+13ExG/i vyzA== MIME-Version: 1.0 X-Received: by 10.181.13.172 with SMTP id ez12mr14244111wid.91.1435505227769; Sun, 28 Jun 2015 08:27:07 -0700 (PDT) Received: by 10.27.178.129 with HTTP; Sun, 28 Jun 2015 08:27:07 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Jun 2015 18:27:07 +0300 Message-ID: Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Pavel Odintsov To: Adrian Chadd Cc: Luigi Rizzo , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 15:27:09 -0000 Hello, Adrian! How much mpps have you achieved with T5? On Sun, Jun 28, 2015 at 6:12 PM, Adrian Chadd wrote: > Hi, > > I've hit 40mpps TX/RX on the chelsio T5 hardware, but only on one > queue. It's around 30-36mpps when RXing across multiple queues (for > work distribution.) > > Yes, I keep being told the intel NIC will do higher full-duplex pps. > I'll try it out at some point. > > > > -adrian -- Sincerely yours, Pavel Odintsov From owner-freebsd-net@freebsd.org Sun Jun 28 15:39:27 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F34298FE83 for ; Sun, 28 Jun 2015 15:39:27 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D596715C2 for ; Sun, 28 Jun 2015 15:39:26 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by pactm7 with SMTP id tm7so92069644pac.2 for ; Sun, 28 Jun 2015 08:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=h1DNrefFlWh8uw+/oMSCLbTmVxB+gi5L/vwqhHOIJBE=; b=ApHLNllUTt5Ev25gCw/8VzkXUPK/Neho7zWeZXC3uGAodVO2gV0+drISq+HHnVMkrY 6uZYkagdzg7yrgnyrr0rdfIaq++F1CZ2qlxJoRDWfQL3C3biO4uuVCsgRBvzVf6ppMkL 2NO0c2Bie9xi/rXpKTTUuKGGoRF0gGhhfRSmIr6ylxoK54dyDqr6eKvOxizLMUI7LP2r 7KJHsn/oK9T4XgOnbwCzgWWypqexoir2G40Bdgn47lwuOk5XFMMD8AvrcbwrJJ+leYIR duip9mlYa5gqpSJdPBXJYpf73T6lBhb0cPOA2AI00/OJR+1MKmiPXxbzPgNvARkAejYY hthQ== X-Received: by 10.70.94.35 with SMTP id cz3mr23497997pdb.39.1435505966474; Sun, 28 Jun 2015 08:39:26 -0700 (PDT) Received: from ox (c-24-6-44-228.hsd1.ca.comcast.net. [24.6.44.228]) by mx.google.com with ESMTPSA id ci12sm7768778pdb.41.2015.06.28.08.39.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jun 2015 08:39:25 -0700 (PDT) Date: Sun, 28 Jun 2015 08:39:22 -0700 From: Navdeep Parhar To: Pavel Odintsov Cc: freebsd-net@freebsd.org Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap Message-ID: <20150628153922.GB6407@ox> Mail-Followup-To: Pavel Odintsov , freebsd-net@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 15:39:27 -0000 On Sun, Jun 28, 2015 at 01:18:44PM +0300, Pavel Odintsov wrote: > Hello, folks! > > I'm looking for solution which could do wire speed (56 mpps with > 64byte packets) for 40GE. > > We have tested PF_RING/DPDK on Linux and could not achieve more than > ~42 mpps and it's not enough for us. Is this transmit-only, receive-only, or a mix of the two (in which case, is this an aggregate number or total/2)? Regards, Navdeep From owner-freebsd-net@freebsd.org Sun Jun 28 16:16:00 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E06BC98F335 for ; Sun, 28 Jun 2015 16:16:00 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72FA61948 for ; Sun, 28 Jun 2015 16:16:00 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: by wiwl6 with SMTP id l6so80343943wiw.0 for ; Sun, 28 Jun 2015 09:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8ZQniegRWtIdH3/GGnyJZ+w6jLy/HKDkLUZLe9p9rlA=; b=pvS2Bg1fN/ufMYH8+vyEv43/JvYja2gRcRacgETd9n3biubVKjVT4e4QAKMZD8IliK L9Q302MPyeqtQceEsUuNowQbkTophpri7G8H9torfMnV/VWPSXLy23WJOdgruHOsAywf tKptVUC5RCy+O7zMIKoEhqmxFe6j/zV4d7lx1OdNKEz3knMgJRH4eKNtU+KCJYZfhiq5 UZJNqH+yUi3Xsaa0pC0Deuh+0vj3L2uqSSC8DVmrHkhGSmiAkbx2q6GdOZnCLxHItIXh JV3alNuUvYpQ13nGw2S9SaR5A5FlXfvT2G90KytAFSgHpcwucRdMWZLzUIQzy09ZGRcF hv9g== MIME-Version: 1.0 X-Received: by 10.194.110.100 with SMTP id hz4mr21372035wjb.6.1435508158964; Sun, 28 Jun 2015 09:15:58 -0700 (PDT) Received: by 10.27.178.129 with HTTP; Sun, 28 Jun 2015 09:15:58 -0700 (PDT) In-Reply-To: <20150628153922.GB6407@ox> References: <20150628153922.GB6407@ox> Date: Sun, 28 Jun 2015 19:15:58 +0300 Message-ID: Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Pavel Odintsov To: Pavel Odintsov , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 16:16:01 -0000 Hello! Its receive only mode. On Sunday, June 28, 2015, Navdeep Parhar wrote: > On Sun, Jun 28, 2015 at 01:18:44PM +0300, Pavel Odintsov wrote: > > Hello, folks! > > > > I'm looking for solution which could do wire speed (56 mpps with > > 64byte packets) for 40GE. > > > > We have tested PF_RING/DPDK on Linux and could not achieve more than > > ~42 mpps and it's not enough for us. > > Is this transmit-only, receive-only, or a mix of the two (in which case, > is this an aggregate number or total/2)? > > Regards, > Navdeep > -- Sincerely yours, Pavel Odintsov From owner-freebsd-net@freebsd.org Sun Jun 28 16:21:10 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38DBB98F3D9 for ; Sun, 28 Jun 2015 16:21:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 261D61C9D for ; Sun, 28 Jun 2015 16:21:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5SGLApP038444 for ; Sun, 28 Jun 2015 16:21:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Sun, 28 Jun 2015 16:21:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: op@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 28 Jun 2015 16:21:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 --- Comment #16 from Oliver Pinter --- This is already done in 10-STABLE: https://github.com/freebsd/freebsd/commit/5d11dcc72032e3027520c3aa2ffb5905115760e7 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jun 28 16:23:03 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF15498F4D1 for ; Sun, 28 Jun 2015 16:23:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9BE671F71 for ; Sun, 28 Jun 2015 16:23:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5SGN3ZH040990 for ; Sun, 28 Jun 2015 16:23:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Sun, 28 Jun 2015 16:23:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 28 Jun 2015 16:23:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 --- Comment #17 from Franco Fichtner --- Ah, wasn't picked up by "PR:" in commit message, I see. My bad. Close this ticket then? :) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jun 28 16:24:05 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A37D598F4F6 for ; Sun, 28 Jun 2015 16:24:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 901FA1018 for ; Sun, 28 Jun 2015 16:24:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5SGO55F041585 for ; Sun, 28 Jun 2015 16:24:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Sun, 28 Jun 2015 16:24:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: op@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10+ X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 28 Jun 2015 16:24:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 Oliver Pinter changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable10+ --- Comment #18 from Oliver Pinter --- @eri: could you / we close this ticket? Or this patch is still needs on older branches too? @franco: see the previous comment from me -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jun 28 21:00:28 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D79C98FA47 for ; Sun, 28 Jun 2015 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1895F1F0F for ; Sun, 28 Jun 2015 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5SL0RNt014562 for ; Sun, 28 Jun 2015 21:00:27 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201506282100.t5SL0RNt014562@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 28 Jun 2015 21:00:27 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 28 Jun 2015 21:00:28 -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 ------------+-----------+--------------------------------------------------- New | 197535 | [re] [panic] if_re (Realtek 8168) causes memory w Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t 3 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Jun 29 07:20:19 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 086E298EE8D for ; Mon, 29 Jun 2015 07:20:19 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from umail.aei.mpg.de (umail.aei.mpg.de [194.94.224.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9D811262 for ; Mon, 29 Jun 2015 07:20:18 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from mailgate.aei.mpg.de (mailgate.aei.mpg.de [194.94.224.5]) by umail.aei.mpg.de (Postfix) with ESMTP id 8C27B2001C4; Mon, 29 Jun 2015 09:20:09 +0200 (CEST) Received: from mailgate.aei.mpg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7C1DA405882; Mon, 29 Jun 2015 09:20:09 +0200 (CEST) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) by mailgate.aei.mpg.de (Postfix) with ESMTP id 41438405881; Mon, 29 Jun 2015 09:20:09 +0200 (CEST) Received: from arc.aei.uni-hannover.de ([10.117.15.110]) by intranet.aei.uni-hannover.de (Lotus Domino Release 8.5.3FP6HF1691) with ESMTP id 2015062909195859-67991 ; Mon, 29 Jun 2015 09:19:58 +0200 Date: Mon, 29 Jun 2015 09:19:58 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Rick Macklem Cc: Scott Larson , freebsd-net@freebsd.org, carsten aulbert Subject: Re: NFS on 10G interface terribly slow Message-Id: <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> In-Reply-To: <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> Organization: Max Planck Gesellschaft X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 8.5.3FP6HF1691 | May 7, 2015) at 29.06.2015 09:19:58, Serialize by Router on intranet/aei-hannover(Release 8.5.3FP6HF1691 | May 7, 2015) at 29.06.2015 09:20:08, Serialize complete at 29.06.2015 09:20:08 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-PMX-Version: 6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.6.29.70916 X-PerlMx-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MIME_LOWER_CASE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_1099 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, ECARD_WORD 0, NO_URI_HTTPS 0, REFERENCES 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS ' X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 07:20:19 -0000 On Fri, 26 Jun 2015 20:42:08 -0400 (EDT) Rick Macklem wrote about Re: NFS on 10G interface terribly slow: RM> Btw, can you tell us what Intel chip(s) you're using? I have ix0@pci0:5:0:0: class=0x020000 card=0x00028086 chip=0x15288086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Controller 10-Gigabit X540-AT2' class = network subclass = ethernet RM> For example, from the "ix" driver: RM> #define IXGBE_82598_SCATTER 100 RM> #define IXGBE_82599_SCATTER 32 Hm, I cannot find out into which chipset number this translates for my device... RM> Btw, it appears that the driver in head/current now sets RM> if_hw_tsomaxsegcount, but the driver in stable/10 does not. This means RM> that the 82599 chip will end up doing the m_defrag() calls for 10.x. So the next step could even be updating to -current... OTOH, I get the same (bad) resulsts, no matter if TSO is enabled or disabled on the interface. cu Gerrit From owner-freebsd-net@freebsd.org Mon Jun 29 07:35:43 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBA2B98F258 for ; Mon, 29 Jun 2015 07:35:43 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from umail.aei.mpg.de (umail.aei.mpg.de [194.94.224.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4996B1E22 for ; Mon, 29 Jun 2015 07:35:42 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from mailgate.aei.mpg.de (mailgate.aei.mpg.de [194.94.224.5]) by umail.aei.mpg.de (Postfix) with ESMTP id D42A62001C4; Mon, 29 Jun 2015 09:35:40 +0200 (CEST) Received: from mailgate.aei.mpg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id BD8B4405882; Mon, 29 Jun 2015 09:35:40 +0200 (CEST) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) by mailgate.aei.mpg.de (Postfix) with ESMTP id 9C8AF405881; Mon, 29 Jun 2015 09:35:40 +0200 (CEST) Received: from arc.aei.uni-hannover.de ([10.117.15.110]) by intranet.aei.uni-hannover.de (Lotus Domino Release 8.5.3FP6HF1691) with ESMTP id 2015062909353039-68019 ; Mon, 29 Jun 2015 09:35:30 +0200 Date: Mon, 29 Jun 2015 09:35:30 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Rick Macklem Cc: freebsd-net@freebsd.org, carsten aulbert Subject: Re: NFS on 10G interface terribly slow Message-Id: <20150629093530.405ae6472b2ab50cba79513f@aei.mpg.de> In-Reply-To: <570481533.408618.1435363122433.JavaMail.zimbra@uoguelph.ca> References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <623856025.328424.1435279751389.JavaMail.zimbra@uoguelph.ca> <20150626115943.7d0b441cda2c6cc5b817b181@aei.mpg.de> <570481533.408618.1435363122433.JavaMail.zimbra@uoguelph.ca> Organization: Max Planck Gesellschaft X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 8.5.3FP6HF1691 | May 7, 2015) at 29.06.2015 09:35:30, Serialize by Router on intranet/aei-hannover(Release 8.5.3FP6HF1691 | May 7, 2015) at 29.06.2015 09:35:40, Serialize complete at 29.06.2015 09:35:40 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-PMX-Version: 6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.6.29.72117 X-PerlMx-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MIME_LOWER_CASE 0.05, SUPERLONG_LINE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1300_1399 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, NO_URI_HTTPS 0, REFERENCES 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __C230066_P5 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS ' X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 07:35:44 -0000 On Fri, 26 Jun 2015 19:58:42 -0400 (EDT) Rick Macklem wrote about Re: NFS on 10G interface terribly slow: RM> The default (auto tuned) value is reported by "nfsstat -m". RM> It can be set with a mount option (should be something in "man RM> mount_nfs"). If you are doing a test with 1 megabyte writes, I'd set RM> it to at least 1 megabyte. (Basically, writing will be slower for write RM> (2) syscalls that are larger than wcommitsize. After mav@'s patch, the RM> difference isn't nearly as noticable. His other commit makes the auto RM> tuned value more reasonable). RM> RM> If you set it large enough with the "wcommitsize=" mount option, you RM> don't need the updates stable/10. Ok, I set it way over 1MB now: hellpool:/samqfs/K1/Gerrit on /net/hellpool nfsv3,tcp,resvport,hard,cto,lockd,rdirplus,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=8192,readahead=1,wcommitsize=2048576,timeout=120,retrans=2 However, this still gives me the same bad write performance: root@crest: # dd if=/dev/zero of=/net/hellpool/Z bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 22.939049 secs (45711398 bytes/sec) So I guess I can postpone the update for now, and look for some other reason for this instead. cu Gerrit From owner-freebsd-net@freebsd.org Mon Jun 29 08:45:31 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5882198D312 for ; Mon, 29 Jun 2015 08:45:31 +0000 (UTC) (envelope-from noname.esst@yahoo.com) Received: from nm40-vm8.bullet.mail.ne1.yahoo.com (nm40-vm8.bullet.mail.ne1.yahoo.com [98.138.229.184]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BF6312D2 for ; Mon, 29 Jun 2015 08:45:31 +0000 (UTC) (envelope-from noname.esst@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1435567524; bh=9d5mOyPoAw8RMoZYCc/QytfpwY/nf3O5G0X+YP/SKQE=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=ePCIB/wzOfm6eVYScrqbpu6SSu9lfEE24q+i+mjjqRk/IyvLbzvZDzpmf7teq5iw9nvzD6huX9jk1Sb0f9GZE2IID37P/44S2JLyPZRoKKj4THBbYpfjMakF7bimCX/RAeZb8F6NPHjIK1VDIzlSw7uM4BXu8PKz9bHC8rauH7Pn0CeM5kOHxLKm74D4SYiwLsRzMaAWlQ2OnV0PA32Yv0mqLaZbYgWO+vDAgtzLrzuuH5Yfe6zJzDKj2WoSo30QEOlRRSFlKn8N4D8V5l3YZ5mhWWqK3KF1iUqdf6iD5gSs6dlYW6Gk5/WBlvNc5S3QSqYjiwMvxlsJcu5vBCxZCw== Received: from [127.0.0.1] by nm40.bullet.mail.ne1.yahoo.com with NNFMP; 29 Jun 2015 08:45:24 -0000 Received: from [98.138.100.103] by nm40.bullet.mail.ne1.yahoo.com with NNFMP; 29 Jun 2015 08:42:26 -0000 Received: from [98.138.88.238] by tm102.bullet.mail.ne1.yahoo.com with NNFMP; 29 Jun 2015 08:42:26 -0000 Received: from [127.0.0.1] by omp1038.mail.ne1.yahoo.com with NNFMP; 29 Jun 2015 08:42:25 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 989802.38029.bm@omp1038.mail.ne1.yahoo.com X-YMail-OSG: JxjEHiEVM1kixw5f7bzoXxfpWxS4vXYfGn77v8EVSaUe6gP0k9S547eXHDxAkIp yRWJSECrEDu8NdF.B.txbvQC4J7NQUcln1Zg9ze8p.WCVRE_LhAN29VsHVnaTsbhVwxTcBsLCTZA 6zDD_D7GmBIVdUN8GjA9HLwixj25sIgylDs02jH3hO4B1d0rY0JiYGkt1Ov4.bzgyPncYoHJz.CI WvSHYvyQKKjC3jGrxfqGc1yYlhaK9DbZOPQgxySFmQsP7XB1v.PbJXxcgWhLCI521.t1K0XhH2Ox VbcDx73_PY2nUcjdpQOLctQgPjQfzOTNshyNbjXkASYBSg8E3cR3zBUnSEQyoe.t41VWBSv1hzK6 5_i9eHmcrEDY.2SW3hQZ6BZMlD7Fe.IOmeM8Dih8Jm5z10UIXa4E2TyeQ281Lvs3VhtT3ey3pvUY mQa.PkiFNs0MwQlGKDh0xhGUW8aFSeV06EyAJCt8FShiXANbNlaxf7SjO7FZpU.ETkyl6GagOhVy aImczPDde3vultNiTuiQmYO5kvw-- Received: by 98.138.105.224; Mon, 29 Jun 2015 08:42:25 +0000 Date: Mon, 29 Jun 2015 08:42:25 +0000 (UTC) From: Nomad Esst Reply-To: Nomad Esst To: "sbruno@freebsd.org" , "freebsd-net@freebsd.org" Message-ID: <1350120567.1525801.1435567345022.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <558D7475.7050208@ignoranthack.me> References: <558D7475.7050208@ignoranthack.me> Subject: Re: patm device on FreeBSD 9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 08:45:31 -0000 Yes, FreeBSD detects my card. When I ping the FreeBSD side from Linux side,= netstat -s -p ip shows that arrived packets are incorrect version number. = When both sides are FreeBSD packets are not received by the other side, I m= ean even netstat does not show the received packets! =C2=A0 From owner-freebsd-net@freebsd.org Mon Jun 29 08:56:50 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F10398D62E for ; Mon, 29 Jun 2015 08:56:50 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0140.outbound.protection.outlook.com [157.56.111.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D703E1CD8 for ; Mon, 29 Jun 2015 08:56:49 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) by BY1PR03MB1435.namprd03.prod.outlook.com (10.162.127.153) with Microsoft SMTP Server (TLS) id 15.1.201.16; Mon, 29 Jun 2015 07:23:21 +0000 Received: from BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) by BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) with mapi id 15.01.0201.000; Mon, 29 Jun 2015 07:23:21 +0000 From: Wei Hu To: "freebsd-net@freebsd.org" Subject: Same NIC name to MAC mapping on FreeBSD Thread-Topic: Same NIC name to MAC mapping on FreeBSD Thread-Index: AdCyPHakiDAz9QSeSiWXpzUhT/R8GA== Date: Mon, 29 Jun 2015 07:23:21 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none; x-originating-ip: [167.220.232.8] x-microsoft-exchange-diagnostics: 1; BY1PR03MB1435; 5:stQt0j95S+7Rouo50DSZTOiUkDrJH0f7WTDMHEkgiciXSqMu/pU+hTcXvhxTICNF/FvobEfwGbdxvQSxd3Qjx9g6EPD5uwq40abXhji/CbIVvMvsPvhzAusZGvphn9XX94R6C0f0mewyo2I9QV6yKg==; 24:/fBz0eAq6VnKTQVR/AhePoRrjh0fKztmdXHMUMFni4vsddr41tEjHbivtb89NYVnWK7C02detCMPJVTPB4DDycA8nhZJstUv7v7uX5ZCpLw=; 20:bt1mJvvXCZL0vBLo83Dg8v4AxK5ZgaTiLMJQ40bEkNVQlG7h/v40g3Kb4NkB8O5vdHQQGyxp0gf+BO5EcwZ8HA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1435; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY1PR03MB1435; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1435; x-forefront-prvs: 0622A98CD5 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(164054003)(107886002)(5001960100002)(110136002)(5002640100001)(229853001)(189998001)(2501003)(99286002)(76576001)(50986999)(54356999)(74316001)(2351001)(5003600100002)(87936001)(77156002)(450100001)(62966003)(46102003)(15975445007)(102836002)(66066001)(92566002)(558084003)(19300405004)(2656002)(19580395003)(33656002)(86612001)(19625215002)(122556002)(16236675004)(2900100001)(77096005)(40100003)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1435; H:BY1PR03MB1434.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2015 07:23:21.4488 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1435 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 08:56:50 -0000 Hi, On a FreeBSD system with multiple NICs, ie, multiple MAC addresses, is ther= e a way to keep the same network interface name to MAC address mapping acro= ss reboot? It seems on Linux udev rule can help achieve this. Anything simi= lar on FreeBSD? Thanks, Wei From owner-freebsd-net@freebsd.org Mon Jun 29 09:12:46 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA77198C7DF for ; Mon, 29 Jun 2015 09:12:46 +0000 (UTC) (envelope-from bimmer@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 793F31ABF; Mon, 29 Jun 2015 09:12:45 +0000 (UTC) (envelope-from bimmer@field.hu) Received: from green.field.hu (localhost [127.0.0.1]) by green.field.hu (Postfix) with ESMTP id 783E1250AC0; Mon, 29 Jun 2015 11:03:13 +0200 (CEST) X-Virus-Scanned: by Amavisd-new at field.hu Received: from green.field.hu ([127.0.0.1]) by green.field.hu (green.field.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dq3zkq8AL1Kv; Mon, 29 Jun 2015 11:03:10 +0200 (CEST) Received: from [10.10.10.153] (unknown [188.227.229.50]) by green.field.hu (Postfix) with ESMTPA id 8C3A4250ACE; Mon, 29 Jun 2015 11:03:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=field.hu; s=mail; t=1435568590; bh=cRwSKxyfgBv5gvV/dpQonJvxA/tCHGscgeQ2UItthXE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=OgVNvkCO0okU3+XGAJjXI/qjl7Vdo2ugU+AUV+j4OA39AW4bA+lXjSGI8uR2QhBBz CdqdY3ubeC8lBF+/U0aO9jxCut2Cn1j+Im67HdzGL6D/X5YmwRVn9aqsL4SwzlGTJ7 2QfFHU+bInQoNHx1QTYVPbVMKKzIitLgvUDDUM/E= Message-ID: <559109C3.7070900@field.hu> Date: Mon, 29 Jun 2015 11:02:59 +0200 From: Csaba Banhalmi User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Adrian Chadd , Christopher Forgeron CC: FreeBSD Net Subject: Re: FreeBSD 10.1-REL - network unaccessible after high traffic References: <374339249.53058039.1433681874571.JavaMail.root@uoguelph.ca> <55744F28.5000402@field.hu> <557AB1BB.60502@field.hu> <557AD10D.5070205@field.hu> <557AD2FA.103@field.hu> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 09:12:46 -0000 Hi All, "vmstat 5" output when system freezes: procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id 0 0 0 8752M 126M 5663 0 0 0 4042 445 66 0 1219 7148 4870 3 2 95 0 0 0 8650M 145M 2167 0 0 0 3501 447 79 0 974 4042 3578 1 1 98 0 0 0 8374M 201M 3113 0 0 0 6790 441 5 0 1130 6670 3729 3 1 96 0 0 0 8252M 220M 2632 0 0 0 4014 435 4 0 726 11653 2401 2 1 97 0 0 0 8188M 224M 1625 0 0 0 2189 434 5 0 713 6714 2376 1 1 98 0 0 0 7992M 233M 1504 0 0 0 2254 433 2 0 867 2890 2868 1 1 98 4 0 0 8032M 216M 2145 0 0 0 1995 435 18 0 526 3769 2048 1 1 98 0 0 0 8180M 195M 1949 0 0 0 1741 435 50 0 593 3441 2363 1 1 98 0 0 0 8186M 178M 2859 0 0 0 2525 436 6 0 499 3313 1733 2 1 97 1 0 0 8410M 146M 2521 0 0 0 1764 440 11 0 736 67271 2121 4 2 94 0 0 0 8182M 205M 2910 0 0 0 6378 927 8 0 495 16043 1775 1 1 98 1 1 0 7944M 210M 3009 0 0 0 3696 438 8 0 522 4247 1963 2 1 97 0 0 0 8091M 169M 7529 0 0 0 3601 436 105 0 1359 75290 4400 9 3 88 0 0 0 8121M 141M 4607 0 0 0 3288 444 62 0 949 12169 3268 5 1 94 0 0 0 8044M 201M 1782 0 0 0 4954 1795 9 0 446 3025 1927 1 1 99 0 0 0 7916M 222M 1296 0 0 0 2671 438 5 0 525 2984 1920 1 1 98 1 0 0 7870M 230M 888 0 0 0 1677 432 8 0 473 6424 2126 1 1 99 0 0 0 7968M 228M 3375 0 0 0 2625 433 51 0 768 4100 2852 3 1 96 0 0 0 8238M 194M 7586 0 0 0 4758 436 88 0 1026 9631 3908 4 2 94 0 0 0 8293M 185M 3253 0 0 0 2362 437 52 0 747 4475 3105 2 1 97 I increased the vm.v_free_min, but did not help. It was a different froze, the system was unreacheable even through IPMI, needed a hard reset. Regards, Csaba 2015.06.12. 20:17 keltezéssel, Adrian Chadd írta: > On 12 June 2015 at 10:57, Christopher Forgeron wrote: >> I agree it shouldn't run out of memory. Here's what mine does under network >> load, or rsync load: >> >> 2 0 9 1822M 1834M 0 0 0 0 14 8 0 0 22750 724 136119 >> 0 23 77 >> >> 0 0 9 1822M 1823M 0 0 0 0 0 8 0 0 44317 347 138151 >> 0 16 84 >> >> 0 0 9 1822M 1761M 0 0 0 0 17 8 0 0 23818 820 92198 0 >> 12 88 >> >> 0 0 9 1822M 1727M 0 0 0 0 14 8 0 0 40768 634 126688 >> 0 17 83 >> >> 0 0 9 1822M 8192B 0 8 0 0 15 3 3 0 9236 305 57149 0 >> 33 67 >> >> >> That's with a 5 second vmstat output. After the 8KiB, the system is nearly >> completely brain-dead and needs a hard power-off. >> >> >> I've seen it go from 6 GiB free to 8KiB in 5 sec as well. Currently my large >> machines are set to 12 GiB free to keep them from crashing, from what I >> presume is just network load due to lots of iSCSI / NFS traffic on my 10GiB >> network. >> >> >> I haven't had time to type this up for the list yet, but I'm putting it here >> just to make sure people know it's real. >> > Hi, > > Then something is leaking or holding onto memory when it shouldn't be. > > Try doing vmstat -z and vmstat -m in a one second loop, post the data > just before it falls over. > > > -adrian From owner-freebsd-net@freebsd.org Mon Jun 29 09:33:59 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDCB798CC61 for ; Mon, 29 Jun 2015 09:33:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A241326B0 for ; Mon, 29 Jun 2015 09:33:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5T9XxUR004169 for ; Mon, 29 Jun 2015 09:33:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Date: Mon, 29 Jun 2015 09:33:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eri@pfsense.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10+ 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.20 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, 29 Jun 2015 09:33:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200323 Ermal Lu=C3=A7i changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Open |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 29 11:53:29 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3C7098E32D for ; Mon, 29 Jun 2015 11:53:28 +0000 (UTC) (envelope-from contact@winterei.se) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7EDA19DE for ; Mon, 29 Jun 2015 11:53:27 +0000 (UTC) (envelope-from contact@winterei.se) Received: by pdcu2 with SMTP id u2so115812855pdc.3 for ; Mon, 29 Jun 2015 04:53:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=xi/L817VAXJ+07r7HrH0X0W0We5eUKKfv83iJce4kzU=; b=K4gyzdXcjDJWlk5GuhD34JX2aP0ZxxqgsKUkaiWOTHk+ykif4bsdm8/5PsCUdTb8D/ Kz38zQn/sO9LO4IUBQpqbwDH/5rXX3wQKufW10jigU7RnQyCCLxx/pPsWA6UMckKlyKy bN1fziVwki2vV3Il6KusdO6iJDIoBY5Mw92ORWq6H2GdRTKJ3fEIETcfLJ6cG1Eu2/lk jkhYgKEvAEpLZJtln0BZBGXHM2rCKJClFP5f3Os19PqyA4lJnL6yGcrBmuUZBtu9p2iu RXFP23Q/Ml8DGv0M/NUs/QPP6J2OiXGHRWYNjyRxWdHtpsc8LfPY5T7J9nXTMnfdtNxm s7Uw== X-Gm-Message-State: ALoCoQm102SsN6pqOQUkN4s4GQmXghY2IhMwz+daOn39z8asxkvfmhw/u3ktdONVFNgZAakd114e X-Received: by 10.68.219.1 with SMTP id pk1mr31055235pbc.18.1435578801111; Mon, 29 Jun 2015 04:53:21 -0700 (PDT) Received: from [128.199.254.70] (sgp.sin.winterei.se. [128.199.254.70]) by mx.google.com with ESMTPSA id ko1sm42093497pdb.58.2015.06.29.04.53.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 04:53:20 -0700 (PDT) Message-ID: <559131AC.6010304@winterei.se> Date: Mon, 29 Jun 2015 20:53:16 +0900 From: "Paul S." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: Same NIC name to MAC mapping on FreeBSD References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 11:53:29 -0000 On my production systems, I've never seen it deviate without hardware changes. Are you seeing otherwise? On 6/29/2015 午後 04:23, Wei Hu wrote: > Hi, > > On a FreeBSD system with multiple NICs, ie, multiple MAC addresses, is there a way to keep the same network interface name to MAC address mapping across reboot? It seems on Linux udev rule can help achieve this. Anything similar on FreeBSD? > > Thanks, > Wei > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Mon Jun 29 12:20:20 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECF1C98ECD3 for ; Mon, 29 Jun 2015 12:20:19 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 97FB62879 for ; Mon, 29 Jun 2015 12:20:19 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CdBACUNpFV/61jaINbhEQGxH8CgW4QAQEBAQEBAYEKhCIBAQEDASNWEAIBCBgCAg0ZAgJXAgQTiCcIsG+WCgEBAQEBAQEDAQEBAQEBARuBIYophDsCFTQHgmiBQwWMHIdopA4CJmODMyIxgQRCgQIBAQE X-IronPort-AV: E=Sophos;i="5.13,698,1427774400"; d="scan'208";a="220751015" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 29 Jun 2015 08:20:13 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id EB19D15F533; Mon, 29 Jun 2015 08:20:12 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8WNhVAubLZOO; Mon, 29 Jun 2015 08:20:12 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 6781115F538; Mon, 29 Jun 2015 08:20:12 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gwu2KzuRTP-G; Mon, 29 Jun 2015 08:20:12 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 486FB15F533; Mon, 29 Jun 2015 08:20:12 -0400 (EDT) Date: Mon, 29 Jun 2015 08:20:12 -0400 (EDT) From: Rick Macklem To: Gerrit =?utf-8?B?S8O8aG4=?= Cc: Scott Larson , freebsd-net@freebsd.org, carsten aulbert Message-ID: <1467277373.898391.1435580412070.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> Subject: Re: NFS on 10G interface terribly slow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.12] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: NFS on 10G interface terribly slow Thread-Index: n557BLWTv+gy3b98Cnbfy5ol11/2YQ== X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 12:20:20 -0000 Gerrit Kuhn wrote: > On Fri, 26 Jun 2015 20:42:08 -0400 (EDT) Rick Macklem > wrote about Re: NFS on 10G interface terribly slow: > > RM> Btw, can you tell us what Intel chip(s) you're using? > > I have > > ix0@pci0:5:0:0: class=0x020000 card=0x00028086 chip=0x15288086 rev=0x01 > hdr=0x00 vendor = 'Intel Corporation' > device = 'Ethernet Controller 10-Gigabit X540-AT2' > class = network > subclass = ethernet > > RM> For example, from the "ix" driver: > RM> #define IXGBE_82598_SCATTER 100 > RM> #define IXGBE_82599_SCATTER 32 > > Hm, I cannot find out into which chipset number this translates for my > device... > > RM> Btw, it appears that the driver in head/current now sets > RM> if_hw_tsomaxsegcount, but the driver in stable/10 does not. This means > RM> that the 82599 chip will end up doing the m_defrag() calls for 10.x. > > So the next step could even be updating to -current... > OTOH, I get the same (bad) resulsts, no matter if TSO is enabled or > disabled on the interface. > Since disabling TSO had no effect, I don't think updating would matter. If you can test against a different NFS server, that might indicate whether or not the Solaris server is the bottleneck. If the Solaris server is using ZFS, setting sync=disabled might help w.r.t. write performance. It is, however, somewhat dangerous w.r.t. loss of recently written data when the server crashes. (Server has told client data is safely on stable storage so client will not re-write the block(s) although data wasn't on stable storage and is lost.) (I'm not a ZFS guy, so I can't suggest more w.r.t. ZFS.) rick > > cu > Gerrit > From owner-freebsd-net@freebsd.org Mon Jun 29 12:22:30 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8DA698EDDD for ; Mon, 29 Jun 2015 12:22:29 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id A82992AF9 for ; Mon, 29 Jun 2015 12:22:29 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CiBADBN5FV/61jaINbg2VfBr59CoUuSgKBbhABAQEBAQEBgQqEIgEBAQMBAQEBICsgCwULAgEIGAICDRkCAicBCSYCBAgHBAEcBIgGCA2wZJYKAQEBAQEBAQMBAQEBAQEBG4EhiimENAEBHDQHgmiBQwWHBIUYh2iEWYQxhEeWPQImY4MzIjEHgQU6gQIBAQE X-IronPort-AV: E=Sophos;i="5.13,698,1427774400"; d="scan'208";a="220751465" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 29 Jun 2015 08:22:28 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 1ECF215F533; Mon, 29 Jun 2015 08:22:28 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id omDlAqaVOSR5; Mon, 29 Jun 2015 08:22:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 8EFEF15F538; Mon, 29 Jun 2015 08:22:27 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dYKXnfaTIAAC; Mon, 29 Jun 2015 08:22:27 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 6FB3915F533; Mon, 29 Jun 2015 08:22:27 -0400 (EDT) Date: Mon, 29 Jun 2015 08:22:27 -0400 (EDT) From: Rick Macklem To: Gerrit =?utf-8?B?S8O8aG4=?= Cc: freebsd-net@freebsd.org, Scott Larson , carsten aulbert Message-ID: <1542755683.900028.1435580547450.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> Subject: Re: NFS on 10G interface terribly slow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.10] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: NFS on 10G interface terribly slow Thread-Index: HnBAz0huaZkDwiWq8+/pb3yRQP3HJg== X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 12:22:30 -0000 Gerrit Kuhn wrote: > On Fri, 26 Jun 2015 20:42:08 -0400 (EDT) Rick Macklem > wrote about Re: NFS on 10G interface terribly slow: > > RM> Btw, can you tell us what Intel chip(s) you're using? > > I have > > ix0@pci0:5:0:0: class=0x020000 card=0x00028086 chip=0x15288086 rev=0x01 > hdr=0x00 vendor = 'Intel Corporation' > device = 'Ethernet Controller 10-Gigabit X540-AT2' > class = network > subclass = ethernet > Yea, I don't know how to decode this either. I was actually interested in what chip Scott was using and getting wire speed. As noted in the other reply, since disabling TSO didn't help, you probably aren't affected by this issue. rick > RM> For example, from the "ix" driver: > RM> #define IXGBE_82598_SCATTER 100 > RM> #define IXGBE_82599_SCATTER 32 > > Hm, I cannot find out into which chipset number this translates for my > device... > > RM> Btw, it appears that the driver in head/current now sets > RM> if_hw_tsomaxsegcount, but the driver in stable/10 does not. This means > RM> that the 82599 chip will end up doing the m_defrag() calls for 10.x. > > So the next step could even be updating to -current... > OTOH, I get the same (bad) resulsts, no matter if TSO is enabled or > disabled on the interface. > > > cu > Gerrit > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Mon Jun 29 12:47:37 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75D0098F171 for ; Mon, 29 Jun 2015 12:47:37 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.net.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 26320191F for ; Mon, 29 Jun 2015 12:47:36 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CxBACbPZFV/61jaINbg2VfBoMYu2UKhS5KAoFuEAEBAQEBAQGBCoQiAQEBAwEBAQEgKyALBQsCAQgYAgINGQICJwEJJgIECAcEARwEiAYIDbB1lgwBAQEBAQEBAwEBAQEBAQEbgSGKKYQ0AQEcNAeCaIFDBYcEhRiHaIRZhDGEBUKGXI9hAiZjgzMiMQeBBTqBAgEBAQ X-IronPort-AV: E=Sophos;i="5.13,698,1427774400"; d="scan'208";a="222625063" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-annu.net.uoguelph.ca with ESMTP; 29 Jun 2015 08:47:29 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id D1B2E15F533; Mon, 29 Jun 2015 08:47:29 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tOkWMybJTlVI; Mon, 29 Jun 2015 08:47:29 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 35CEA15F538; Mon, 29 Jun 2015 08:47:29 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id c5MsQwnhzprp; Mon, 29 Jun 2015 08:47:29 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 1913315F533; Mon, 29 Jun 2015 08:47:29 -0400 (EDT) Date: Mon, 29 Jun 2015 08:47:29 -0400 (EDT) From: Rick Macklem To: Gerrit =?utf-8?B?S8O8aG4=?= Cc: freebsd-net@freebsd.org, Scott Larson , carsten aulbert Message-ID: <1713078020.915257.1435582049079.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <1542755683.900028.1435580547450.JavaMail.zimbra@uoguelph.ca> References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> <1542755683.900028.1435580547450.JavaMail.zimbra@uoguelph.ca> Subject: Re: NFS on 10G interface terribly slow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.11] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: NFS on 10G interface terribly slow Thread-Index: HnBAz0huaZkDwiWq8+/pb3yRQP3HJtOfKSxL X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 12:47:37 -0000 I wrote: > Gerrit Kuhn wrote: > > On Fri, 26 Jun 2015 20:42:08 -0400 (EDT) Rick Macklem > > wrote about Re: NFS on 10G interface terribly slow: > > > > RM> Btw, can you tell us what Intel chip(s) you're using? > > > > I have > > > > ix0@pci0:5:0:0: class=0x020000 card=0x00028086 chip=0x15288086 rev=0x01 > > hdr=0x00 vendor = 'Intel Corporation' > > device = 'Ethernet Controller 10-Gigabit X540-AT2' > > class = network > > subclass = ethernet > > > Yea, I don't know how to decode this either. I took a look at the driver and, if I read it correctly, most chips (including all the X540 ones) use IXGBE_82599_SCATTER. As such, you will be doing lots of m_defrag() calls, but since disabling TSO didn't help, that doesn't seem to be the bottleneck. rick > I was actually interested in > what chip Scott was using and getting wire speed. > As noted in the other reply, since disabling TSO didn't help, you probably > aren't affected by this issue. > > rick > > > RM> For example, from the "ix" driver: > > RM> #define IXGBE_82598_SCATTER 100 > > RM> #define IXGBE_82599_SCATTER 32 > > > > Hm, I cannot find out into which chipset number this translates for my > > device... > > > > RM> Btw, it appears that the driver in head/current now sets > > RM> if_hw_tsomaxsegcount, but the driver in stable/10 does not. This means > > RM> that the 82599 chip will end up doing the m_defrag() calls for 10.x. > > > > So the next step could even be updating to -current... > > OTOH, I get the same (bad) resulsts, no matter if TSO is enabled or > > disabled on the interface. > > > > > > cu > > Gerrit > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Mon Jun 29 12:55:51 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5104A98F2EB for ; Mon, 29 Jun 2015 12:55:51 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0E1F1D45 for ; Mon, 29 Jun 2015 12:55:50 +0000 (UTC) (envelope-from cochard@gmail.com) Received: by lagc2 with SMTP id c2so8624648lag.3 for ; Mon, 29 Jun 2015 05:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=qlsJNuQ/p57O+iFyWRqAFVKFMyP1QZ8tB+7OReWnUwM=; b=BkR7iUFNth/yGxgUVXgZqiA0oXsdLtTtUzgnQFJHshz7pVCWiBpYbaSiINuEDoFZrn 7VvXMnJVwi/DLjz6J+QkjZakBni/JjYeZsRw3B2vAtbM7LcRNM4NbomUwRIIMAFy6eHm YTXVqP2GiZFHS9b8UgEK/ATLMsE65N8l/2QQwi4xtjDTQeVmxMJTfUJqYcqz4cdcRSrp piEy/tA2ximF14apVv5k6ZQkSiNUn453MIQHsaT/nirP5Dn8v23QixnYBVZfh/nqEb5V oYkNvorVYlUmLMtJUA6AV9hApuov7nrJq+0G9k5NCvUEe9x9SheYkIHNDEgLjIl8wPRT lF0g== X-Received: by 10.112.155.103 with SMTP id vv7mr13824641lbb.75.1435582548595; Mon, 29 Jun 2015 05:55:48 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.152.135.173 with HTTP; Mon, 29 Jun 2015 05:55:29 -0700 (PDT) In-Reply-To: <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Mon, 29 Jun 2015 14:55:29 +0200 X-Google-Sender-Auth: l7n6lKyGu__Kw9MAFtUqgUx0MR0 Message-ID: Subject: Re: NFS on 10G interface terribly slow To: =?UTF-8?B?R2Vycml0IEvDvGhu?= Cc: Rick Macklem , "freebsd-net@freebsd.org" , Scott Larson , carsten aulbert Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 12:55:51 -0000 On Mon, Jun 29, 2015 at 9:19 AM, Gerrit K=C3=BChn wrote: > On Fri, 26 Jun 2015 20:42:08 -0400 (EDT) Rick Macklem > wrote about Re: NFS on 10G interface terribly slow= : > > RM> Btw, can you tell us what Intel chip(s) you're using? > > I have > > ix0@pci0:5:0:0: class=3D0x020000 card=3D0x00028086 chip=3D0x15288086 rev= =3D0x01 > hdr=3D0x00 vendor =3D 'Intel Corporation' > device =3D 'Ethernet Controller 10-Gigabit X540-AT2' > class =3D network > subclass =3D ethernet > > RM> For example, from the "ix" driver: > RM> #define IXGBE_82598_SCATTER 100 > RM> #define IXGBE_82599_SCATTER 32 > > Hm, I cannot find out into which chipset number this translates for my > device... > > =E2=80=8Bextract first 4 numbers of "chip", then try a grep:=E2=80=8B =E2=80=8Bgrep 1528 /usr/src/sys/dev/ixgbe/* /usr/src/sys/dev/ixgbe/ixgbe_type.h:#define IXGBE_DEV_ID_X540T 0x1528 =3D> Then your chipset is X540 From owner-freebsd-net@freebsd.org Mon Jun 29 13:09:04 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FFF098F4E3 for ; Mon, 29 Jun 2015 13:09:04 +0000 (UTC) (envelope-from Carsten.Aulbert@aei.mpg.de) Received: from smtp.welcomes-you.com (welcomes-you.com [144.76.218.113]) (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 0B52812D7 for ; Mon, 29 Jun 2015 13:09:03 +0000 (UTC) (envelope-from Carsten.Aulbert@aei.mpg.de) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.welcomes-you.com (Postfix) with ESMTP id 5D44831A2E29; Mon, 29 Jun 2015 15:00:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at welcomes-you.com Received: from smtp.welcomes-you.com ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.welcomes-you.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id USrfTyZAk8Yo; Mon, 29 Jun 2015 15:00:04 +0200 (CEST) Received: from [10.117.11.97] (ahgate1.aei.uni-hannover.de [130.75.117.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.welcomes-you.com (Postfix) with ESMTPSA id AB2D831A2C4D; Mon, 29 Jun 2015 15:00:04 +0200 (CEST) Message-ID: <55914154.9000401@aei.mpg.de> Date: Mon, 29 Jun 2015 15:00:04 +0200 From: Carsten Aulbert Organization: Max Planck Institute for Gravitational Physics - Albert Einstein Institute (AEI) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Rick Macklem , =?UTF-8?B?R2Vycml0IEvDvGhu?= CC: Scott Larson , freebsd-net@freebsd.org Subject: Re: NFS on 10G interface terribly slow References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> <1467277373.898391.1435580412070.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <1467277373.898391.1435580412070.JavaMail.zimbra@uoguelph.ca> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 13:09:04 -0000 Hi Rick On 06/29/2015 02:20 PM, Rick Macklem wrote: > If the Solaris server is using ZFS, setting sync=disabled might help w.r.t. > write performance. It is, however, somewhat dangerous w.r.t. loss of recently > written data when the server crashes. (Server has told client data is safely > on stable storage so client will not re-write the block(s) although data wasn't > on stable storage and is lost.) > (I'm not a ZFS guy, so I can't suggest more w.r.t. ZFS.) > The system on the other side uses SAM/QFS, i.e. there is no such option for the file system per se (only the file system metadata is in a zvol thus not a full featured zfs). In parallel we are working also with Oracle to see where there may be a matching knob to turn as we see about the same performance issues from a Linux host (NFS client, Debian Jessie) with a Mellanox Technologies MT27500 Family [ConnectX-3] controller. Cheers Carsten -- Dr. Carsten Aulbert, Atlas cluster administration Max Planck Institute for Gravitational Physics (Albert Einstein Institute) Callinstraße 38, 30167 Hannover, Germany Tel: +49 511 762 17185, Fax: +49 511 762 17193 From owner-freebsd-net@freebsd.org Mon Jun 29 13:25:05 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A326E98F7F3 for ; Mon, 29 Jun 2015 13:25:05 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 622F31BDC for ; Mon, 29 Jun 2015 13:25:05 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id t5TDP0hM002076; Mon, 29 Jun 2015 09:25:00 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <55914715.5090001@sentex.net> Date: Mon, 29 Jun 2015 09:24:37 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Rick Macklem , =?windows-1252?Q?Gerrit_K=FChn?= CC: freebsd-net@freebsd.org, Scott Larson , carsten aulbert Subject: Re: NFS on 10G interface terribly slow References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> <1467277373.898391.1435580412070.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <1467277373.898391.1435580412070.JavaMail.zimbra@uoguelph.ca> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.75 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 13:25:05 -0000 On 6/29/2015 8:20 AM, Rick Macklem wrote: > If the Solaris server is using ZFS, setting sync=disabled might help w.r.t. On my FreeBSD zfs server, this is a must for decent and consistent write throughput. Using FreeBSD as an iSCSI target and a Linux initiator, I can saturate a 1G nic no problem with sync disabled. Its barely usable with the default sync standard as its so bursty ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-net@freebsd.org Mon Jun 29 15:17:59 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2BBF98FE14 for ; Mon, 29 Jun 2015 15:17:59 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 929112FF3 for ; Mon, 29 Jun 2015 15:17:59 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Z9aog-0004b8-Bq for freebsd-net@freebsd.org; Mon, 29 Jun 2015 18:17:50 +0300 Date: Mon, 29 Jun 2015 18:17:50 +0300 From: Slawa Olhovchenkov To: freebsd-net@freebsd.org Subject: netmap custom RSS and custom packet info Message-ID: <20150629151750.GD1647@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 15:17:59 -0000 Working with netmap and modern hardware I am lacking some features: a) some spare space before packet (64/128/192/256 bytes) for application data. For example: application do some pre-analysig packet, filled structure in this space and routed packet (via NETMAP pipe) to other thread. Received thread got packet and linked inforamtion about this packet for processing w/o additional overhead. b) custom RSS. Modern NIC have RSS poorly interoperable with packet analysing: packets from same flow, but different direction placed in different queue, PPPoE encapsulated packets placed in queue 0, different tunneling don't recognised and etc. May be NETMAP can be used custom RSS hashing from loadable kernel module, provideng by user? Function frm this module can be packet analysing, tunnel removing, custom RSS hashnig with direction-independly maner, filled some structure prepended to buffer (see above) and pass this information to application. This is possible? This is useful not only to me? From owner-freebsd-net@freebsd.org Mon Jun 29 16:05:44 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3325898FAC8 for ; Mon, 29 Jun 2015 16:05:44 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 95FA0198B for ; Mon, 29 Jun 2015 16:05:43 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by lagc2 with SMTP id c2so15748351lag.3 for ; Mon, 29 Jun 2015 09:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=vklNA+UB93MQTSQbHa12G/heaWyioqWWYNi3oZlj9mo=; b=NfEmAT3fOiRmXZjgIYz3C/EWqpAuSngmndkm63ffFXxxUIJ3W1ux2daBAUrzraCw8m f46st35gQoglFAjfyIeOtVfz+a/X4z3B+RblnJvIK9vwIrz8vBnPK4028J61ji1TXHGl NlHY1+Ut5W+hv1/EdEx9dc8UFYXoCbTUqCZWv5ts8zTi4PFu2hnEL21Qyo/gS8I16GH4 t450bZB3NsLBXBAY71Jl1huKB8g56tNiEFYifkV6YM7T/vJ3byshE91Uiw/G5p5wzj1/ e+EUMoT1Ln4gmB0t8yplj8Pncyign5gvQZA6dybJfUF0JNGapWOdqVVG8ZEvawLU7+SS YqhA== MIME-Version: 1.0 X-Received: by 10.112.125.166 with SMTP id mr6mr14782151lbb.83.1435593941620; Mon, 29 Jun 2015 09:05:41 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.230.103 with HTTP; Mon, 29 Jun 2015 09:05:41 -0700 (PDT) In-Reply-To: <20150629151750.GD1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> Date: Mon, 29 Jun 2015 18:05:41 +0200 X-Google-Sender-Auth: aqE__GiLKHVNLQ3QKWPiSzwajBk Message-ID: Subject: Re: netmap custom RSS and custom packet info From: Luigi Rizzo To: Slawa Olhovchenkov Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 16:05:44 -0000 On Mon, Jun 29, 2015 at 5:17 PM, Slawa Olhovchenkov wrote: > Working with netmap and modern hardware I am lacking some features: > > a) some spare space before packet (64/128/192/256 bytes) for > application data. For example: application do some pre-analysig > packet, filled structure in this space and routed packet (via NETMAP > pipe) to other thread. Received thread got packet and linked > inforamtion about this packet for processing w/o additional overhead. > =E2=80=8Bspare space in front of the packet is something we have been considering for a different purpose, namely better support for encapsulation/decapsulation and things like vhost-net header. =E2=80=8BNote though that the annotation is transferred for free only in the case of pipes or ports sharing the same memory region; vale ports would have to explicitly copy the extra=E2=80=8B bytes which is (moderately) expensive. A quick and dirty way to support what you want is the following: - in the kernel code, modify NMB(), PNMB() and the offset between the netmap_ring and the first buffer to add the extra space you want in front of the packet. You can possibly make this offset a sysctl-controlled value - in netmap_vale.c, make a small change to the code that copies buffers so that it includes also the space before the actual packet. That should be all. > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > analysing: packets from same flow, but different direction placed in > different queue, PPPoE encapsulated packets placed in queue 0, > different tunneling don't recognised and etc. May be NETMAP can be > used custom RSS hashing from loadable kernel module, provideng by > user? Function frm this module can be packet analysing, tunnel > removing, custom RSS hashnig with direction-independly maner, filled > some structure prepended to buffer (see above) and pass this > information to application. > =E2=80=8BRSS is completely orthogonal to=E2=80=8B =E2=80=8B netmap and I strongly suggest to keep it this way, using either use the NIC-specific tools to control RSS or some generic mechanism (on linux there is ethtool, and we should implement something similar also on freebsd). =E2=80=8Bcheers luigi =E2=80=8B > This is possible? This is useful not only to me? > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Mon Jun 29 16:22:18 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3640698FD7C for ; Mon, 29 Jun 2015 16:22:18 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 E56D61FCF for ; Mon, 29 Jun 2015 16:22:17 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Z9boz-0005ca-5g; Mon, 29 Jun 2015 19:22:13 +0300 Date: Mon, 29 Jun 2015 19:22:13 +0300 From: Slawa Olhovchenkov To: Luigi Rizzo Cc: "freebsd-net@freebsd.org" Subject: Re: netmap custom RSS and custom packet info Message-ID: <20150629162213.GG1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 16:22:18 -0000 On Mon, Jun 29, 2015 at 06:05:41PM +0200, Luigi Rizzo wrote: > On Mon, Jun 29, 2015 at 5:17 PM, Slawa Olhovchenkov wrote: > > > Working with netmap and modern hardware I am lacking some features: > > > > a) some spare space before packet (64/128/192/256 bytes) for > > application data. For example: application do some pre-analysig > > packet, filled structure in this space and routed packet (via NETMAP > > pipe) to other thread. Received thread got packet and linked > > inforamtion about this packet for processing w/o additional overhead. > > > > ​spare space in front of the packet is something we have > been considering for a different purpose, namely better > support for encapsulation/decapsulation and things like > vhost-net header. Adding more space (sysctl or ioctl controled may be satisfy both: 4-8-20 bytes for encapsulation and rest for application). > ​Note though that the annotation is transferred for free > only in the case of pipes or ports sharing the same memory > region; vale ports would have to explicitly copy the > extra​ bytes which is (moderately) expensive. I think this bytes don't be transfered throw VALE. This is only packet-processing information, like tags, opposite to VALE that is like packet transfered by wire. > A quick and dirty way to support what you want is the following: > - in the kernel code, modify NMB(), PNMB() and the offset between > the netmap_ring and the first buffer to add the extra space > you want in front of the packet. You can possibly make this > offset a sysctl-controlled value > > - in netmap_vale.c, make a small change to the code that copies > buffers so that it includes also the space before the actual packet. > > That should be all. Do you plan to do this? I am don't like have permanenty private branch/patchs. > > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > > analysing: packets from same flow, but different direction placed in > > different queue, PPPoE encapsulated packets placed in queue 0, > > different tunneling don't recognised and etc. May be NETMAP can be > > used custom RSS hashing from loadable kernel module, provideng by > > user? Function frm this module can be packet analysing, tunnel > > removing, custom RSS hashnig with direction-independly maner, filled > > some structure prepended to buffer (see above) and pass this > > information to application. > > > > ​RSS is completely orthogonal to​ > > ​ netmap and I strongly > suggest to keep it this way, using either use the NIC-specific > tools to control RSS or some generic mechanism > (on linux there is ethtool, and we should implement something > similar also on freebsd). This is not true RSS. This is only trick for reassigning RX packets to different netmap rings. All hardware avalable RSS mechanism is fully inacceptable for this: - don't support different encapsulation (PPPoE, GRE, GTP and etc) - give different rings for packet 1.2.3.4->5.6.7.8 and 5.6.7.8->1.2.3.4 Producing unversal hashing/distributing mechanism is too complex. But using user-providing kernel module (syncing to application) may be acceptable? This is like ephemeral permanent NETMAP pipe between real hardware RX rings/driver and application visible rings. From owner-freebsd-net@freebsd.org Mon Jun 29 16:33:33 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B11B198FF23 for ; Mon, 29 Jun 2015 16:33:33 +0000 (UTC) (envelope-from stl@wiredrive.com) Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4156F243D for ; Mon, 29 Jun 2015 16:33:32 +0000 (UTC) (envelope-from stl@wiredrive.com) Received: by wgfk9 with SMTP id k9so1070456wgf.1 for ; Mon, 29 Jun 2015 09:33:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uZ5vODSfKw+OU1dcSbQ9sZq0jIPqwkZS+y/4Y19uVFU=; b=AXq01zGQEEN+afwDEPar4d6RVl2kwpu0aNM0cQSnZZI/IZtbMUOMtnwyE8DZOneqCt 3ir9Hq8FzTROHHZWvaNHtAkdcA0Ue/Zzyq1l60OBh5taNmgdwNdpeKv8wzmru1KRHuFG LRZrlEol2URwQXuTaPbsqIGT+nxzoZAvVC/qAPmV94dumm7DnD/+5Bve+5ym2Cl8oxEy 3h6mXzsDBnGxTiwuRJ/pq0DfYA4jwUNZZkjihwPk0xhCr8pl/8CTyL1OCf8CmZ/SPJHe 2HgkNWKFWrdsuPocFN5xU6T88A9HJXbFiE2qiL7afxCejYgwVUSvY4KWUSQjDPj7WmwN NopQ== X-Gm-Message-State: ALoCoQkJLJjQEXIUupGNWpsf3TqySGhGqQbNSG017Zw/0Awz9Wj6nDV5E+KucpYkmBmi3NxSosPk MIME-Version: 1.0 X-Received: by 10.152.179.234 with SMTP id dj10mr15064875lac.73.1435595604795; Mon, 29 Jun 2015 09:33:24 -0700 (PDT) Received: by 10.25.156.208 with HTTP; Mon, 29 Jun 2015 09:33:24 -0700 (PDT) In-Reply-To: <1542755683.900028.1435580547450.JavaMail.zimbra@uoguelph.ca> References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> <1542755683.900028.1435580547450.JavaMail.zimbra@uoguelph.ca> Date: Mon, 29 Jun 2015 09:33:24 -0700 Message-ID: Subject: Re: NFS on 10G interface terribly slow From: Scott Larson To: Rick Macklem Cc: =?UTF-8?B?R2Vycml0IEvDvGhu?= , freebsd-net@freebsd.org, carsten aulbert Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 16:33:33 -0000 82599 in our case. One problem I do have is the stack likes to blow up on occasion with the right combo of high load and high throughput while TSO is enabled, possibly relating to the 10.x driver issue you've pointed out. But when it comes to the throughput they'll blast 10G with no problem. *[image: userimage]Scott Larson[image: los angeles] Lead Systems Administrator[image: wdlogo] [image: linkedin] [image: facebook] [image: twitter] [image: instagram] T 310 823 8238 x1106 <310%20823%208238%20x1106> | M 310 904 8818 <310%20904%208818>* On Mon, Jun 29, 2015 at 5:22 AM, Rick Macklem wrote: > Gerrit Kuhn wrote: > > On Fri, 26 Jun 2015 20:42:08 -0400 (EDT) Rick Macklem > > wrote about Re: NFS on 10G interface terribly > slow: > > > > RM> Btw, can you tell us what Intel chip(s) you're using? > > > > I have > > > > ix0@pci0:5:0:0: class=0x020000 card=0x00028086 chip=0x15288086 rev=0x01 > > hdr=0x00 vendor = 'Intel Corporation' > > device = 'Ethernet Controller 10-Gigabit X540-AT2' > > class = network > > subclass = ethernet > > > Yea, I don't know how to decode this either. I was actually interested in > what chip Scott was using and getting wire speed. > As noted in the other reply, since disabling TSO didn't help, you probably > aren't affected by this issue. > > rick > > > RM> For example, from the "ix" driver: > > RM> #define IXGBE_82598_SCATTER 100 > > RM> #define IXGBE_82599_SCATTER 32 > > > > Hm, I cannot find out into which chipset number this translates for my > > device... > > > > RM> Btw, it appears that the driver in head/current now sets > > RM> if_hw_tsomaxsegcount, but the driver in stable/10 does not. This > means > > RM> that the 82599 chip will end up doing the m_defrag() calls for 10.x. > > > > So the next step could even be updating to -current... > > OTOH, I get the same (bad) resulsts, no matter if TSO is enabled or > > disabled on the interface. > > > > > > cu > > Gerrit > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > From owner-freebsd-net@freebsd.org Mon Jun 29 17:07:18 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59ABF9904C9 for ; Mon, 29 Jun 2015 17:07:18 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23E7A190B for ; Mon, 29 Jun 2015 17:07:18 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by paceq1 with SMTP id eq1so107720591pac.3 for ; Mon, 29 Jun 2015 10:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=AEzAE+QWoOvde8Qmi7Sf7z3fdPumva+6lDz3zL9gjvA=; b=TFtbh7gPJyYk7NLfLgVALk9nE3r+TynMFhM8LY7w5wZLRebpEZL7GkTxvq5QvYBbCK KGwIEJU1nR2e0VhMdJ5h7riDxB45fHilb+IbXoff+yLUKKxoxhPsKr8fYc4cNhAE67/9 WbL68AlVTbPosqDgQALApl8t3TmvRtBUj/rirKU/AvySvYQvuQgAhbzrESi456LlZDBr QXTGP6vxPwE+d1Qxa5q+GhjBIXcdU6Es2RQSDXV0WKDsApSxp2pIdkMgFGuUshBUe0Jy ZqUJLMl2pGNIBNhX84PRIJZVIHVnFqg3bHG+x8E356TKN9looycFDyGEeyrTtuRId2X3 GGog== X-Received: by 10.70.91.79 with SMTP id cc15mr34269215pdb.10.1435597637713; Mon, 29 Jun 2015 10:07:17 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPSA id eu5sm43149400pac.37.2015.06.29.10.07.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 10:07:16 -0700 (PDT) Sender: Navdeep Parhar Message-ID: <55917B43.70904@FreeBSD.org> Date: Mon, 29 Jun 2015 10:07:15 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Slawa Olhovchenkov , freebsd-net@freebsd.org Subject: Re: netmap custom RSS and custom packet info References: <20150629151750.GD1647@zxy.spb.ru> In-Reply-To: <20150629151750.GD1647@zxy.spb.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:07:18 -0000 On 06/29/2015 08:17, Slawa Olhovchenkov wrote: ... > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > analysing: packets from same flow, but different direction placed in > different queue, ... This is default behavior because the default hash (Toeplitz) is not symmetrical. There are modern NICs that do support other, symmetrical hashes. Regards, Navdeep From owner-freebsd-net@freebsd.org Mon Jun 29 17:19:32 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5B8E990769 for ; Mon, 29 Jun 2015 17:19:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 9EEB51F8A; Mon, 29 Jun 2015 17:19:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Z9ciQ-0006mV-LT; Mon, 29 Jun 2015 20:19:30 +0300 Date: Mon, 29 Jun 2015 20:19:30 +0300 From: Slawa Olhovchenkov To: Navdeep Parhar Cc: freebsd-net@freebsd.org Subject: Re: netmap custom RSS and custom packet info Message-ID: <20150629171930.GH1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55917B43.70904@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:19:33 -0000 On Mon, Jun 29, 2015 at 10:07:15AM -0700, Navdeep Parhar wrote: > On 06/29/2015 08:17, Slawa Olhovchenkov wrote: > ... > > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > > analysing: packets from same flow, but different direction placed in > > different queue, ... > > This is default behavior because the default hash (Toeplitz) is not > symmetrical. There are modern NICs that do support other, symmetrical > hashes. Anyway this is still hardware-depended. I am don't see symmetrical hashes for 1G/10G Intel cards. From owner-freebsd-net@freebsd.org Mon Jun 29 17:27:49 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1766D9908C3 for ; Mon, 29 Jun 2015 17:27:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6E831631 for ; Mon, 29 Jun 2015 17:27:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igblr2 with SMTP id lr2so57613057igb.0 for ; Mon, 29 Jun 2015 10:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=5fyqpj+zZWCXjAu6DzBj2/1mFwKdU2iRecBz0FPZqSM=; b=kXo2aljw5OS198Ut5ej9JMxjkfN82sKcLmMTWF2Z6ftN3mTu6MQvo+Bd9Wtte+HwQZ Xeiw76iWVBts/3Mc/tRvZNf7i2DhbrJb55vxkOL2Be2kM5opmy2UxinzVXf2pnqRpCcQ zxmQA9VX1iSB9rKOQ7DMoAT/eUZELIW03gtXfBUB5b8+XVGt/TrkNjc9sSw3nMEqkiJq 1c7i1lc/zzPGCvwWVW5ADeleRPkqUNwjmfqi3yNctELiOY5CKgBDt0bdhqZEcVXilocx Kg3ef89hC1wjZ3bkqmG/7S3AxxJlbJ1vVkiRYCFHI+SHsUjEF0UCe0RZMoUJQDrlWsjp q7Sw== MIME-Version: 1.0 X-Received: by 10.50.134.196 with SMTP id pm4mr16856132igb.6.1435598868182; Mon, 29 Jun 2015 10:27:48 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Mon, 29 Jun 2015 10:27:48 -0700 (PDT) In-Reply-To: <559109C3.7070900@field.hu> References: <374339249.53058039.1433681874571.JavaMail.root@uoguelph.ca> <55744F28.5000402@field.hu> <557AB1BB.60502@field.hu> <557AD10D.5070205@field.hu> <557AD2FA.103@field.hu> <559109C3.7070900@field.hu> Date: Mon, 29 Jun 2015 10:27:48 -0700 X-Google-Sender-Auth: 6XmcJAzagmuij_mpHvPe6u_amco Message-ID: Subject: Re: FreeBSD 10.1-REL - network unaccessible after high traffic From: Adrian Chadd To: Csaba Banhalmi Cc: Christopher Forgeron , FreeBSD Net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:27:49 -0000 hi, I asked for the output of vmstat -z and vmstat -m in a loop. :) -a On 29 June 2015 at 02:02, Csaba Banhalmi wrote: > Hi All, > > "vmstat 5" output when system freezes: > procs memory page disks faults cpu > r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us= sy > id > 0 0 0 8752M 126M 5663 0 0 0 4042 445 66 0 1219 7148 4870 = 3 > 2 95 > 0 0 0 8650M 145M 2167 0 0 0 3501 447 79 0 974 4042 3578 = 1 > 1 98 > 0 0 0 8374M 201M 3113 0 0 0 6790 441 5 0 1130 6670 3729 = 3 > 1 96 > 0 0 0 8252M 220M 2632 0 0 0 4014 435 4 0 726 11653 2401= 2 > 1 97 > 0 0 0 8188M 224M 1625 0 0 0 2189 434 5 0 713 6714 2376 = 1 > 1 98 > 0 0 0 7992M 233M 1504 0 0 0 2254 433 2 0 867 2890 2868 = 1 > 1 98 > 4 0 0 8032M 216M 2145 0 0 0 1995 435 18 0 526 3769 2048 = 1 > 1 98 > 0 0 0 8180M 195M 1949 0 0 0 1741 435 50 0 593 3441 2363 = 1 > 1 98 > 0 0 0 8186M 178M 2859 0 0 0 2525 436 6 0 499 3313 1733 = 2 > 1 97 > 1 0 0 8410M 146M 2521 0 0 0 1764 440 11 0 736 67271 2121= 4 > 2 94 > 0 0 0 8182M 205M 2910 0 0 0 6378 927 8 0 495 16043 1775= 1 > 1 98 > 1 1 0 7944M 210M 3009 0 0 0 3696 438 8 0 522 4247 1963 = 2 > 1 97 > 0 0 0 8091M 169M 7529 0 0 0 3601 436 105 0 1359 75290 4400= 9 > 3 88 > 0 0 0 8121M 141M 4607 0 0 0 3288 444 62 0 949 12169 3268= 5 > 1 94 > 0 0 0 8044M 201M 1782 0 0 0 4954 1795 9 0 446 3025 1927= 1 > 1 99 > 0 0 0 7916M 222M 1296 0 0 0 2671 438 5 0 525 2984 1920 = 1 > 1 98 > 1 0 0 7870M 230M 888 0 0 0 1677 432 8 0 473 6424 2126 = 1 > 1 99 > 0 0 0 7968M 228M 3375 0 0 0 2625 433 51 0 768 4100 2852 = 3 > 1 96 > 0 0 0 8238M 194M 7586 0 0 0 4758 436 88 0 1026 9631 3908 = 4 > 2 94 > 0 0 0 8293M 185M 3253 0 0 0 2362 437 52 0 747 4475 3105 = 2 > 1 97 > > I increased the vm.v_free_min, but did not help. It was a different froze= , > the system was unreacheable even through IPMI, needed a hard reset. > > Regards, > Csaba > > > > 2015.06.12. 20:17 keltez=C3=A9ssel, Adrian Chadd =C3=ADrta: >> >> On 12 June 2015 at 10:57, Christopher Forgeron >> wrote: >>> >>> I agree it shouldn't run out of memory. Here's what mine does under >>> network >>> load, or rsync load: >>> >>> 2 0 9 1822M 1834M 0 0 0 0 14 8 0 0 22750 724 >>> 136119 >>> 0 23 77 >>> >>> 0 0 9 1822M 1823M 0 0 0 0 0 8 0 0 44317 347 >>> 138151 >>> 0 16 84 >>> >>> 0 0 9 1822M 1761M 0 0 0 0 17 8 0 0 23818 820 921= 98 >>> 0 >>> 12 88 >>> >>> 0 0 9 1822M 1727M 0 0 0 0 14 8 0 0 40768 634 >>> 126688 >>> 0 17 83 >>> >>> 0 0 9 1822M 8192B 0 8 0 0 15 3 3 0 9236 305 5714= 9 >>> 0 >>> 33 67 >>> >>> >>> That's with a 5 second vmstat output. After the 8KiB, the system is >>> nearly >>> completely brain-dead and needs a hard power-off. >>> >>> >>> I've seen it go from 6 GiB free to 8KiB in 5 sec as well. Currently my >>> large >>> machines are set to 12 GiB free to keep them from crashing, from what I >>> presume is just network load due to lots of iSCSI / NFS traffic on my >>> 10GiB >>> network. >>> >>> >>> I haven't had time to type this up for the list yet, but I'm putting it >>> here >>> just to make sure people know it's real. >>> >> Hi, >> >> Then something is leaking or holding onto memory when it shouldn't be. >> >> Try doing vmstat -z and vmstat -m in a one second loop, post the data >> just before it falls over. >> >> >> -adrian > > From owner-freebsd-net@freebsd.org Mon Jun 29 17:29:14 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D67929908EB for ; Mon, 29 Jun 2015 17:29:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4E38186C; Mon, 29 Jun 2015 17:29:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ieqy10 with SMTP id y10so120140169ieq.0; Mon, 29 Jun 2015 10:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4znH3NiWcgaB3REqXwqhoKe2vc8pgqrp3cgQUXSTkp4=; b=oXTczUV2PVToKS/rJD8IwXsH6bXv2IKfIWyUK+t8u9aTxUtqpEK5bAC8kQZBXY4We/ AcbiMx6xVGUnxHuU3tYnOdoy0eFx7SK7lE2ZLk0/bItnaGvnYu/tdfZ9NwgfvP60QSNx sXxsS1L5UZf8aUTt8X4iUg9THfAsV0tyRptZGecPdUodYUpXmYqDtvUPsP1sTUfdFkn9 SrbUqTjke8C/NRpsa1R1flFBbL3DhFsTip0Sh72bYSo8Uu3VLDk5OeZ/l7fka87WHW0i rgyWEdipSN8/mgSpvxMrliTMdBxsSpLhzXyDjFZ2K3z07cxaaQyHhDRBSWTS0W8MTET+ O2zg== MIME-Version: 1.0 X-Received: by 10.107.155.74 with SMTP id d71mr22019123ioe.29.1435598954166; Mon, 29 Jun 2015 10:29:14 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Mon, 29 Jun 2015 10:29:14 -0700 (PDT) In-Reply-To: <20150629171930.GH1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> Date: Mon, 29 Jun 2015 10:29:14 -0700 Message-ID: Subject: Re: netmap custom RSS and custom packet info From: Adrian Chadd To: Slawa Olhovchenkov Cc: Navdeep Parhar , FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:29:14 -0000 Hi, Turns out there are a class of symmetric RSS Toeplitz keys. Use google to find the paper. :) -a On 29 June 2015 at 10:19, Slawa Olhovchenkov wrote: > On Mon, Jun 29, 2015 at 10:07:15AM -0700, Navdeep Parhar wrote: > >> On 06/29/2015 08:17, Slawa Olhovchenkov wrote: >> ... >> > b) custom RSS. Modern NIC have RSS poorly interoperable with packet >> > analysing: packets from same flow, but different direction placed in >> > different queue, ... >> >> This is default behavior because the default hash (Toeplitz) is not >> symmetrical. There are modern NICs that do support other, symmetrical >> hashes. > > Anyway this is still hardware-depended. > I am don't see symmetrical hashes for 1G/10G Intel cards. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Mon Jun 29 17:34:06 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 588C09909F1 for ; Mon, 29 Jun 2015 17:34:06 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 15B421B9D; Mon, 29 Jun 2015 17:34:06 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Z9cwU-000711-SR; Mon, 29 Jun 2015 20:34:02 +0300 Date: Mon, 29 Jun 2015 20:34:02 +0300 From: Slawa Olhovchenkov To: Adrian Chadd Cc: Navdeep Parhar , FreeBSD Net Subject: Re: netmap custom RSS and custom packet info Message-ID: <20150629173402.GI1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:34:06 -0000 On Mon, Jun 29, 2015 at 10:29:14AM -0700, Adrian Chadd wrote: > Hi, > > Turns out there are a class of symmetric RSS Toeplitz keys. Use google > to find the paper. :) How this interopperate with PPPoE encapsulation? With GRE/GTP/MPLS encapsulation? > On 29 June 2015 at 10:19, Slawa Olhovchenkov wrote: > > On Mon, Jun 29, 2015 at 10:07:15AM -0700, Navdeep Parhar wrote: > > > >> On 06/29/2015 08:17, Slawa Olhovchenkov wrote: > >> ... > >> > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > >> > analysing: packets from same flow, but different direction placed in > >> > different queue, ... > >> > >> This is default behavior because the default hash (Toeplitz) is not > >> symmetrical. There are modern NICs that do support other, symmetrical > >> hashes. > > > > Anyway this is still hardware-depended. > > I am don't see symmetrical hashes for 1G/10G Intel cards. > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Mon Jun 29 17:34:52 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69F6F990A0D for ; Mon, 29 Jun 2015 17:34:52 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBE591C4E for ; Mon, 29 Jun 2015 17:34:51 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by lagh6 with SMTP id h6so62488726lag.2 for ; Mon, 29 Jun 2015 10:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=2cCaNudmu4OKonIYU92VqhM+N0T3+JdcaBcVs2Y41Gc=; b=TGfIt9sOdA5wz5/4tjPBf5w4L9bOSLR9+8IvNDWPTs3Gw23d+CM05QK6lB2UxXd6ya VygybgfmQEfiEpxuU1MMPJULA3bJ0St9UBG05Gsm3LcaGFVwcJdShVzDRHU5UvZ+2e/e +QHjUr/Ct7ffqXFX7ZbMYP9bgs/z1l0gvm1LpJaqmTkegWi98siXY8bUdMhUsOQD8wrj o5DBEVj4O7xDyXjosHNAPT5TNApxx3Q2SzYc3AnW5lbI0YTLrXr1X46W8iHjEfPXhdo9 p2a1zPfpC9l01KQjKxC7CPs7p640SNbEN/0WGNkuKNNiI/8KeFOpFUqKodbJP7baEE7I 2rFg== MIME-Version: 1.0 X-Received: by 10.112.126.136 with SMTP id my8mr15164957lbb.18.1435599289820; Mon, 29 Jun 2015 10:34:49 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.230.103 with HTTP; Mon, 29 Jun 2015 10:34:49 -0700 (PDT) In-Reply-To: <20150629162213.GG1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <20150629162213.GG1647@zxy.spb.ru> Date: Mon, 29 Jun 2015 19:34:49 +0200 X-Google-Sender-Auth: oBwQVWOxn7fHmZpbVYv9D18MGzk Message-ID: Subject: Re: netmap custom RSS and custom packet info From: Luigi Rizzo To: Slawa Olhovchenkov Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:34:52 -0000 On Mon, Jun 29, 2015 at 6:22 PM, Slawa Olhovchenkov wrote: > On Mon, Jun 29, 2015 at 06:05:41PM +0200, Luigi Rizzo wrote: > > > On Mon, Jun 29, 2015 at 5:17 PM, Slawa Olhovchenkov > wrote: > > > > > Working with netmap and modern hardware I am lacking some features: > > > > > > a) some spare space before packet (64/128/192/256 bytes) for > > > application data. For example: application do some pre-analysig > > > packet, filled structure in this space and routed packet (via NETMAP > > > pipe) to other thread. Received thread got packet and linked > > > inforamtion about this packet for processing w/o additional overhead. > > > > > > > =E2=80=8Bspare space in front of the packet is something we have > > been considering for a different purpose, namely better > > support for encapsulation/decapsulation and things like > > vhost-net header. > > Adding more space (sysctl or ioctl controled may be satisfy both: > 4-8-20 bytes for encapsulation and rest for application). > > > =E2=80=8BNote though that the annotation is transferred for free > > only in the case of pipes or ports sharing the same memory > > region; vale ports would have to explicitly copy the > > extra=E2=80=8B bytes which is (moderately) expensive. > > I think this bytes don't be transfered throw VALE. > This is only packet-processing information, like tags, opposite to > VALE that is like packet transfered by wire. > =E2=80=8B > > > A quick and dirty way to support what you want is the following: > > - in the kernel code, modify NMB(), PNMB() and the offset between > > the netmap_ring and the first buffer to add the extra space > > you want in front of the packet. You can possibly make this > > offset a sysctl-controlled value > > > > - in netmap_vale.c, make a small change to the code that copies > > buffers so that it includes also the space before the actual packet. > > > > That should be all. > > Do you plan to do this? > I am don't like have permanenty private branch/patchs. > =E2=80=8Bpossibly in the long term yes, but before doing it i want to design it properly so that it does not look like a custom hack. > > > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > > > analysing: packets from same flow, but different direction placed in > > > different queue, PPPoE encapsulated packets placed in queue 0, > > > different tunneling don't recognised and etc. May be NETMAP can be > > > used custom RSS hashing from loadable kernel module, provideng by > > > user? Function frm this module can be packet analysing, tunnel > > > removing, custom RSS hashnig with direction-independly maner, filled > > > some structure prepended to buffer (see above) and pass this > > > information to application. > > > > > > > =E2=80=8BRSS is completely orthogonal to=E2=80=8B > > > > =E2=80=8B netmap and I strongly > > suggest to keep it this way, using either use the NIC-specific > > tools to control RSS or some generic mechanism > > (on linux there is ethtool, and we should implement something > > similar also on freebsd). > > This is not true RSS. This is only trick for reassigning RX packets to > different netmap rings. All hardware avalable RSS mechanism is fully > inacceptable for this: > > - don't support different encapsulation (PPPoE, GRE, GTP and etc) > - give different rings for packet 1.2.3.4->5.6.7.8 and 5.6.7.8->1.2.3.4 > > Producing unversal hashing/distributing mechanism is too complex. But > using user-providing kernel module (syncing to application) may be > acceptable? > > This is like ephemeral permanent NETMAP pipe between real hardware > RX rings/driver and application visible rings. > this particular function =E2=80=8Bwould also need to deal with notifications between the physical NIC and the exported netmap rings, and i would probably leave it to userspace. You should be able to do what you have in mind using the programmable forwarding function =E2=80=8B =E2=80=8B that already exists for VALE ports =E2=80=8B (at the cost of a memory copy, which could be avoided when/if we decide to support VALE ports that share the same memory region hence using zero copy.=E2=80=8B Don't hold your breath though. cheers luigi=E2=80=8B --=20 -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Mon Jun 29 17:41:40 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06B58990B90 for ; Mon, 29 Jun 2015 17:41:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C61E01FF1; Mon, 29 Jun 2015 17:41:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iebmu5 with SMTP id mu5so119877020ieb.1; Mon, 29 Jun 2015 10:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=h9+ycArjuxVsF0oe951GPTl7grMAbpMV2904o7B8cpU=; b=0qZkq4BhFLVe6bm29oI0oJkejHbqlI828RUalldGR91i7BEO5fQwIwj771stmRg3SK h/jS3GK2R6Y4k6iHEfCcPgv87HPeW48wzR4SrhLbnKsZ8PtoemSuwztKiyGrE0ci/4Ss 9so6Y0XsC8bt4gIn8z/IzsAHjt75/n+hR4Q3mUsO6D774RYeXVIKzO2/4NyE66abscE8 u4uMxIUpop+tXSR2+5TAZmsp1dQ1TQjyBHten2Dj5Rp4W1HM6AwBO0+hLdB5PtjKrUWb hy5bNpLF/9pnzdMslCrbRfhx498mIcV/pDF/emDf77HOs1Y63R3yoLmLsyxBtBzdYyUn X9+A== MIME-Version: 1.0 X-Received: by 10.50.79.129 with SMTP id j1mr17224491igx.32.1435599699141; Mon, 29 Jun 2015 10:41:39 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Mon, 29 Jun 2015 10:41:39 -0700 (PDT) In-Reply-To: <20150629173402.GI1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> <20150629173402.GI1647@zxy.spb.ru> Date: Mon, 29 Jun 2015 10:41:39 -0700 Message-ID: Subject: Re: netmap custom RSS and custom packet info From: Adrian Chadd To: Slawa Olhovchenkov Cc: Navdeep Parhar , FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:41:40 -0000 Hi, PPPoE will not be hashed according to RSS on the 1g/10g (igb, ixgbe) intel hardware. you're going to have to figure out some other method for traffic redistribution. If it's inside GRE, then it's IPv4/IPv6 and thus yes, you can do symmetric hashing. But if it's raw pppoe coming in, you're SoL. -a From owner-freebsd-net@freebsd.org Mon Jun 29 17:55:23 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 535E7990D38 for ; Mon, 29 Jun 2015 17:55:23 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 0E35C16A1; Mon, 29 Jun 2015 17:55:23 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Z9dH5-0007M9-NJ; Mon, 29 Jun 2015 20:55:19 +0300 Date: Mon, 29 Jun 2015 20:55:19 +0300 From: Slawa Olhovchenkov To: Adrian Chadd Cc: Navdeep Parhar , FreeBSD Net Subject: Re: netmap custom RSS and custom packet info Message-ID: <20150629175519.GJ1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> <20150629173402.GI1647@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 17:55:23 -0000 On Mon, Jun 29, 2015 at 10:41:39AM -0700, Adrian Chadd wrote: > Hi, > > PPPoE will not be hashed according to RSS on the 1g/10g (igb, ixgbe) > intel hardware. you're going to have to figure out some other method > for traffic redistribution. I propose ephemeral but permanent NETMAP RX pipe with redistribution function from user-loadable kernel module. Hardware RxRing(i) => loadable hash => user-visible RxRing(j). As I perceive overhead is packet-parsing and hash computation + swaping of slot indexes (zero-copying between hardware ring and user-visible ring). In other (Tx) direction user-visible direct mapped to hardware ring. > If it's inside GRE, then it's IPv4/IPv6 and thus yes, you can do > symmetric hashing. But if it's raw pppoe coming in, you're SoL. This is will be only hashed tunnel IPs, yes? Not sessions inside tunnel. From owner-freebsd-net@freebsd.org Mon Jun 29 18:20:56 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9837198F122 for ; Mon, 29 Jun 2015 18:20:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85346196D for ; Mon, 29 Jun 2015 18:20:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5TIKuUb088847 for ; Mon, 29 Jun 2015 18:20:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 175734] no ethernet detected on system with EG20T PCH chipset ATOM E6xx series Date: Mon, 29 Jun 2015 18:20:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 29 Jun 2015 18:20:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=175734 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|IntelNetworking | -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Jun 29 18:33:09 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6971498F300 for ; Mon, 29 Jun 2015 18:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1641F20 for ; Mon, 29 Jun 2015 18:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5TIX9PT002329 for ; Mon, 29 Jun 2015 18:33:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 159294] [em] em watchdog timeouts Date: Mon, 29 Jun 2015 18:33:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 29 Jun 2015 18:33:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=159294 --- Comment #2 from Sean Bruno --- (In reply to pi from comment #0) There has been a lot of changes to em(4) handling in FreeBSD. I have not, however, touched lem(4) which is what is controlling the 82541EI. Does this still happen for you? I can take a look at the watchdog handling and see if it can be fixed with the same code that em(4) has used. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Jun 29 18:45:48 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 133C298F5C2 for ; Mon, 29 Jun 2015 18:45:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 007CA1A4D for ; Mon, 29 Jun 2015 18:45:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5TIjlw6014057 for ; Mon, 29 Jun 2015 18:45:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193620] Problem with igb multiqueue together with pf Date: Mon, 29 Jun 2015 18:45:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 29 Jun 2015 18:45:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193620 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #1 from Sean Bruno --- hw.igb.enable_msix=0 disables MSIX features which *does* disable multiqueue. You can however, set hw.igb.num_queues=1 to use MSIX and only 1 queue. Can you test this with 10.1 release and 10.2 release beta when available? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Jun 29 19:11:14 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE0D498FB77 for ; Mon, 29 Jun 2015 19:11:14 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 7A30C1B3C; Mon, 29 Jun 2015 19:11:14 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Z9eSU-0008Y7-R0; Mon, 29 Jun 2015 22:11:10 +0300 Date: Mon, 29 Jun 2015 22:11:10 +0300 From: Slawa Olhovchenkov To: Adrian Chadd Cc: Navdeep Parhar , FreeBSD Net Subject: Re: netmap custom RSS and custom packet info Message-ID: <20150629191110.GK1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 19:11:14 -0000 On Mon, Jun 29, 2015 at 10:29:14AM -0700, Adrian Chadd wrote: > Hi, > > Turns out there are a class of symmetric RSS Toeplitz keys. Use google > to find the paper. :) Do someone work on using different RSS keys and hash fields (selecting L2/L3/L4 or just L3 hash for example) in FreeBSD? From owner-freebsd-net@freebsd.org Mon Jun 29 19:11:53 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CF9998FBBE for ; Mon, 29 Jun 2015 19:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A9EE1C9E for ; Mon, 29 Jun 2015 19:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5TJBrm5076050 for ; Mon, 29 Jun 2015 19:11:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 159294] [em] em watchdog timeouts Date: Mon, 29 Jun 2015 19:11:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 29 Jun 2015 19:11:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=159294 --- Comment #3 from Kurt Jaeger --- I still have a box with those interfaces, but I have avoided using em4 and em5 on this box. It now says: dev.em.4.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.6 Hmm, if I have to reproduce the problem, this will take some time. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Jun 29 19:18:27 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B48798FC51 for ; Mon, 29 Jun 2015 19:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3083B1EAB for ; Mon, 29 Jun 2015 19:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5TJIR4k079342 for ; Mon, 29 Jun 2015 19:18:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 159294] [em] em watchdog timeouts Date: Mon, 29 Jun 2015 19:18:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 29 Jun 2015 19:18:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=159294 --- Comment #4 from Sean Bruno --- (In reply to Kurt Jaeger from comment #3) I'll try to do the same here with my ATOM test box. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Jun 29 20:49:13 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D8DD9909B3 for ; Mon, 29 Jun 2015 20:49:13 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 08A8B1CC2 for ; Mon, 29 Jun 2015 20:49:12 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DUAACZrpFV/61jaINYA4M0MV8Ggxi6DglxBWYFhTNKAoF4FAEBAQEBAQGBCoQjAQEEAQEBICsgCxACAQgOCgICDRkCAicBCSYCBAgHBAEcBIgODbMYlkcBAQEBAQEBAQEBAQEBAQEBAQEBAQEXgSGKKYQ0AQEcJBAHEYIcDC8SgTEFhVqBKoUYh2iDel+EMYQFQpJig1sCJmOBJIIPIjEBAQWBBTqBAgEBAQ X-IronPort-AV: E=Sophos;i="5.15,372,1432612800"; d="scan'208";a="220906425" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 29 Jun 2015 16:49:12 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id CA31E15F533; Mon, 29 Jun 2015 16:49:11 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id sVSsMTdHTvaQ; Mon, 29 Jun 2015 16:49:11 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 32CD515F538; Mon, 29 Jun 2015 16:49:11 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BYMPwDnAfVKJ; Mon, 29 Jun 2015 16:49:11 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 1987915F533; Mon, 29 Jun 2015 16:49:11 -0400 (EDT) Date: Mon, 29 Jun 2015 16:49:11 -0400 (EDT) From: Rick Macklem To: Scott Larson Cc: freebsd-net@freebsd.org, carsten aulbert , Gerrit =?utf-8?B?S8O8aG4=?= Message-ID: <716312459.1492862.1435610951085.JavaMail.zimbra@uoguelph.ca> In-Reply-To: References: <20150625145238.12cf9da3b368ef0b9a30f193@aei.mpg.de> <1629011632.413406.1435365728977.JavaMail.zimbra@uoguelph.ca> <20150629091958.af9720d478a8903ab28adc1d@aei.mpg.de> <1542755683.900028.1435580547450.JavaMail.zimbra@uoguelph.ca> Subject: Re: NFS on 10G interface terribly slow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.12] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: NFS on 10G interface terribly slow Thread-Index: rxB4/LLCssngG4Vps3yd1jST4Tl4zw== X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 20:49:13 -0000 Scott Larson wrote: > 82599 in our case. One problem I do have is the stack likes to blow up > on occasion with the right combo of high load and high throughput while TSO > is enabled, possibly relating to the 10.x driver issue you've pointed out. > But when it comes to the throughput they'll blast 10G with no problem. > Thanks for the info. So long as your mbuf cluster pool is large enough, I think the m_defrag() calls will just result in increased CPU overheads and probably don't introduce much delay. I have no idea why the stack would blow up sometimes. If you can catch the backtrace for one of these and post it, it might become obvious. (Or you could just try increasing KSTACK_PAGES in sys/amd64/include/param.h and see if the stack still blows up. Alternately, I think you can set KSTACK_PAGES in your kernel config file.) rick > > *[image: userimage]Scott Larson[image: los angeles] > Lead > Systems Administrator[image: wdlogo] [image: > linkedin] [image: facebook] > [image: twitter] > [image: instagram] > T 310 823 8238 x1106 > <310%20823%208238%20x1106> | M 310 904 8818 <310%20904%208818>* > > On Mon, Jun 29, 2015 at 5:22 AM, Rick Macklem wrote: > > > Gerrit Kuhn wrote: > > > On Fri, 26 Jun 2015 20:42:08 -0400 (EDT) Rick Macklem > > > wrote about Re: NFS on 10G interface terribly > > slow: > > > > > > RM> Btw, can you tell us what Intel chip(s) you're using? > > > > > > I have > > > > > > ix0@pci0:5:0:0: class=0x020000 card=0x00028086 chip=0x15288086 rev=0x01 > > > hdr=0x00 vendor = 'Intel Corporation' > > > device = 'Ethernet Controller 10-Gigabit X540-AT2' > > > class = network > > > subclass = ethernet > > > > > Yea, I don't know how to decode this either. I was actually interested in > > what chip Scott was using and getting wire speed. > > As noted in the other reply, since disabling TSO didn't help, you probably > > aren't affected by this issue. > > > > rick > > > > > RM> For example, from the "ix" driver: > > > RM> #define IXGBE_82598_SCATTER 100 > > > RM> #define IXGBE_82599_SCATTER 32 > > > > > > Hm, I cannot find out into which chipset number this translates for my > > > device... > > > > > > RM> Btw, it appears that the driver in head/current now sets > > > RM> if_hw_tsomaxsegcount, but the driver in stable/10 does not. This > > means > > > RM> that the 82599 chip will end up doing the m_defrag() calls for 10.x. > > > > > > So the next step could even be updating to -current... > > > OTOH, I get the same (bad) resulsts, no matter if TSO is enabled or > > > disabled on the interface. > > > > > > > > > cu > > > Gerrit > > > _______________________________________________ > > > freebsd-net@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Mon Jun 29 23:34:29 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBFB4990EC9 for ; Mon, 29 Jun 2015 23:34:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F28119AE; Mon, 29 Jun 2015 23:34:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igrv9 with SMTP id v9so39978551igr.1; Mon, 29 Jun 2015 16:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=L15epDo6F1U6QNn5qu11+4rsvB9IHaAC1wr2PWBdENA=; b=WiKNjwgHlQw0iYhWPwP3X8qkcPPZVuj+lFqNwCkatT81uwkY0XadG6dG3Hpxo9AAH8 IxYCU/Eoo39JOIC2bNsp9VhME+DHWFkQTk4ETjfcJLbCKBIDxue+4H572ELEG61xAzgU FA5W8gwriYPru7nyMdo+3EzTBA1Wsz8kz31qW63r4aIJq8rCaeWAI1D6rlSXU4mqahJA gpaTLyupQNFTkQhCwhdsFyhEPvIQ1rzRq0cl9DPanNkC1Hjx1ptCNjoq9eMyC6oiN93y ziHt1//hCQ6Q/dQ2WLFa7R1aT/h164altlBf7ojLpkOobsWBsPQWj83zlkRlfpXSHuNi VHQA== MIME-Version: 1.0 X-Received: by 10.42.176.8 with SMTP id bc8mr20966434icb.22.1435620868876; Mon, 29 Jun 2015 16:34:28 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Mon, 29 Jun 2015 16:34:28 -0700 (PDT) In-Reply-To: <20150629191110.GK1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> <20150629191110.GK1647@zxy.spb.ru> Date: Mon, 29 Jun 2015 16:34:28 -0700 Message-ID: Subject: Re: netmap custom RSS and custom packet info From: Adrian Chadd To: Slawa Olhovchenkov Cc: Navdeep Parhar , FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Jun 2015 23:34:30 -0000 On 29 June 2015 at 12:11, Slawa Olhovchenkov wrote: > On Mon, Jun 29, 2015 at 10:29:14AM -0700, Adrian Chadd wrote: > >> Hi, >> >> Turns out there are a class of symmetric RSS Toeplitz keys. Use google >> to find the paper. :) > > Do someone work on using different RSS keys and hash fields (selecting > L2/L3/L4 or just L3 hash for example) in FreeBSD? The -HEAD RSS stuff has a global set of (compiled in) config options that say whether L2/L3 RSS hashing is enabled. It's more complicated than that, as the alignment of RSS NIC config, expected RSS hash info and the tcp/udp pcb table hashing has to align, or weird stuff happens. It still needs a bunch more work. Unfortunately it's not in my "would be useful for work" right at the moment, so other things are taking priority. -adrian From owner-freebsd-net@freebsd.org Tue Jun 30 04:50:39 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3190F99058E for ; Tue, 30 Jun 2015 04:50:39 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0106.outbound.protection.outlook.com [65.55.169.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFCD01257 for ; Tue, 30 Jun 2015 04:50:38 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) by BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) with Microsoft SMTP Server (TLS) id 15.1.201.16; Tue, 30 Jun 2015 04:36:18 +0000 Received: from BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) by BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) with mapi id 15.01.0201.000; Tue, 30 Jun 2015 04:36:18 +0000 From: Wei Hu To: Paul S. , "freebsd-net@freebsd.org" Subject: RE: Same NIC name to MAC mapping on FreeBSD Thread-Topic: Same NIC name to MAC mapping on FreeBSD Thread-Index: AdCyPHakiDAz9QSeSiWXpzUhT/R8GAAJbhsAACLNfNA= Date: Tue, 30 Jun 2015 04:36:18 +0000 Message-ID: References: <559131AC.6010304@winterei.se> In-Reply-To: <559131AC.6010304@winterei.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: winterei.se; dkim=none (message not signed) header.d=none; x-originating-ip: [167.220.232.8] x-microsoft-exchange-diagnostics: 1; BY1PR03MB1434; 5:2vSsZZ5Iu3KDOYWqCCmawHba3tar8t/wbQnu+yATjFd7LGNUWCYwPJ5wfaCGv7qmS8l87bv7jSnv6gcLJSb8Q0AXdPz6PODDteaIAb8FdNlLu5RzymWa7opC624tu3ccGzgimOEUAjr37ZQGbqOuoQ==; 24:LHPxBuhzcz10+DJmsIpvzcmM8jTGTMhVkdZh9lYEa5a2H7uTFemeJyRfcFgxJRFwAWH0zb+H4filLq5uP9cD3ELKgGo7Hirnnzq1GwGQKjE=; 20:w2PX3nvyz9aXvFiGx4ompkhHcpDF58iJ1F+TXuhVOimwUigLT7SMVz+LxsBgd4xnJD50TvAgUVJyS9R0dW7xWA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1434; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY1PR03MB1434; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1434; x-forefront-prvs: 06237E4555 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(164054003)(377454003)(13464003)(102836002)(86612001)(54356999)(2501003)(189998001)(2950100001)(62966003)(76176999)(40100003)(50986999)(74316001)(19580405001)(19580395003)(5003600100002)(5001770100001)(5001960100002)(77096005)(2900100001)(107886002)(5002640100001)(92566002)(46102003)(86362001)(87936001)(2656002)(99286002)(122556002)(33656002)(77156002)(66066001)(76576001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1434; H:BY1PR03MB1434.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2015 04:36:18.6191 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1434 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 30 Jun 2015 04:50:39 -0000 DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IG93bmVyLWZyZWVic2QtbmV0 QGZyZWVic2Qub3JnIFttYWlsdG86b3duZXItZnJlZWJzZC0NCj4gbmV0QGZyZWVic2Qub3JnXSBP biBCZWhhbGYgT2YgUGF1bCBTLg0KPiBTZW50OiBNb25kYXksIEp1bmUgMjksIDIwMTUgNzo1MyBQ TQ0KPiBUbzogZnJlZWJzZC1uZXRAZnJlZWJzZC5vcmcNCj4gU3ViamVjdDogUmU6IFNhbWUgTklD IG5hbWUgdG8gTUFDIG1hcHBpbmcgb24gRnJlZUJTRA0KPiANCj4gT24gbXkgcHJvZHVjdGlvbiBz eXN0ZW1zLCBJJ3ZlIG5ldmVyIHNlZW4gaXQgZGV2aWF0ZSB3aXRob3V0IGhhcmR3YXJlDQo+IGNo YW5nZXMuDQo+IA0KPiBBcmUgeW91IHNlZWluZyBvdGhlcndpc2U/DQo+IA0KDQpJbiBIeXBlci1W LCBpZiBzYXkgdGhyZWUgTklDcyB3ZXJlIGFzc2lnbmVkIHRvIHRoZSBWTSwgSSBnb3QgZm9sbG93 aW5nIG1hcHBpbmcgDQpJbml0aWFsbHk6DQoNCkhuMCAtPiBNQUMgMA0KSG4xIC0+IE1BQyAxDQpI bjIgLT4gTUFDMg0KDQpUaGVuIGlmIEkgcmVtb3ZlIHRoZSBOSUMgd2l0aCBNQUMgMSBhbmQgcmVi b290LCBJIHdhbnQgdGhlIG90aGVyIHR3byBpbnRlcmZhY2VzIHRvIGtlZXAgdGhlIHNhbWUNCk5h bWVzIGluc3RlYWQgb2YgcmVhc3NpZ25pbmcgaG4xIHRvIE1BQzIuIFRoaXMgaXMgYSByZXF1aXJl bWVudCBmcm9tIHZpcnR1YWwgYXBwbGlhbmNlDQpWZW5kb3IgdG8gcmV0YWluIHN1Y2ggbWFwcGlu Z3MuICBJIGFtIHdvbmRlcmluZyBpZiB0aGVyZSBpcyBhbnkgd2F5IHRvIGRvIHRoaXMgd2l0aG91 dA0KQXNraW5nIGN1c3RvbWVyIG9yIG1hbnVhbGx5IGVkaXRpbmcgYW55IGNvbmZpZyBmaWxlcy4N Cg0KVGhhbmtzLA0KV2VpDQo= From owner-freebsd-net@freebsd.org Tue Jun 30 13:30:34 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9549498FC78 for ; Tue, 30 Jun 2015 13:30:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 81C2010BC for ; Tue, 30 Jun 2015 13:30:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UDUYus008632 for ; Tue, 30 Jun 2015 13:30:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193743] [re] RTL8111/8168B PCI Express Gigabit Ethernet controller: doesn't work properly, problems getting UP automatically Date: Tue, 30 Jun 2015 13:30:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dron_2@ua.fm X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 13:30:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193743 Dron changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dron_2@ua.fm --- Comment #5 from Dron --- Hello. Seems problem exists also in 10.x Can this be backported to 10.x and included in next patchlevel? Thanks. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 15:24:58 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76D2C98FEF7 for ; Tue, 30 Jun 2015 15:24:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EC40185D for ; Tue, 30 Jun 2015 15:24:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UFOw8S051063 for ; Tue, 30 Jun 2015 15:24:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193743] [re] RTL8111/8168B PCI Express Gigabit Ethernet controller: doesn't work properly, problems getting UP automatically Date: Tue, 30 Jun 2015 15:24:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: marius@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: resolution assigned_to flagtypes.name bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 15:24:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193743 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Assignee|freebsd-net@FreeBSD.org |marius@FreeBSD.org Flags| |mfc-stable10? Status|Closed |Open --- Comment #6 from Kubilay Kocak --- Re-open per request and comment #5 and assign to committer who resolved -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 15:30:07 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4390098FFE1 for ; Tue, 30 Jun 2015 15:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29E4B1A89 for ; Tue, 30 Jun 2015 15:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UFU7XC053670 for ; Tue, 30 Jun 2015 15:30:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Tue, 30 Jun 2015 15:30:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity keywords cc short_desc version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 15:30:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Many People Keywords| |feature, needs-patch CC| |freebsd-net@FreeBSD.org, | |koobs@FreeBSD.org Summary|[ipsec] [request] Isn't it |[ipsec] Enable IPSec in |time to enable IPsec in |GENERIC kernel |GENERIC? |configuration Version|7.0-RELEASE |11.0-CURRENT -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 15:50:01 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6049698D4D2 for ; Tue, 30 Jun 2015 15:50:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5E81969 for ; Tue, 30 Jun 2015 15:50:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UFo1cj073541 for ; Tue, 30 Jun 2015 15:50:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Tue, 30 Jun 2015 15:50:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mh@quernus.co.uk X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 15:50:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 Matt Hamilton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mh@quernus.co.uk --- Comment #7 from Matt Hamilton --- I too would also like it in GENERIC (or a loadable module if possible). Having to compile a custom kernel just to get IPSEC is a pain. I've just run freebsd-update on a system and now lost my IPSEC capability :( So I have to choose between either having IPSEC and having to do source upgrades all the time, or not having ISPEC and use the binary update system. Thanks! -Matt -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 15:55:57 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32FC598D712 for ; Tue, 30 Jun 2015 15:55:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FBE31D39 for ; Tue, 30 Jun 2015 15:55:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UFtvhs082201 for ; Tue, 30 Jun 2015 15:55:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Tue, 30 Jun 2015 15:55:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: Jungleboogie0@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 15:55:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 sf(jungleboogie) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Jungleboogie0@gmail.com --- Comment #8 from sf(jungleboogie) --- I'd like to request ipsec be enabled in generic. The depends on is the documentation: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:20:55 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4686C98DAF8 for ; Tue, 30 Jun 2015 16:20:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33CF42829 for ; Tue, 30 Jun 2015 16:20:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGKtkC038654 for ; Tue, 30 Jun 2015 16:20:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Tue, 30 Jun 2015 16:20:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: feld@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 16:20:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 Mark Felder changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |feld@FreeBSD.org --- Comment #9 from Mark Felder --- +1 You'll catch more flies with IPSEC honey I understand there are known performance effects of enabling this, so I think it should be considered a priority to minimize/correct the deficiencies. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:29:42 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D70C698DD82 for ; Tue, 30 Jun 2015 16:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C3F042CAF for ; Tue, 30 Jun 2015 16:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGTghC046045 for ; Tue, 30 Jun 2015 16:29:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193802] tso seems broken on RELENG10 for version 7.4.2 of em driver Date: Tue, 30 Jun 2015 16:29:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 16:29:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193802 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #5 from Sean Bruno --- I've committed and updated enhancements to the watchdog handler and significant error handlers for this specific chipset to em(4). In addition, the EM_MULTIQUEUE kernel conf configuration is available to turn on the 2 queues in the card. If you feel like testing these, let me know. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:33:23 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A80998DF7F for ; Tue, 30 Jun 2015 16:33:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47D57120A for ; Tue, 30 Jun 2015 16:33:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGXNfX053487 for ; Tue, 30 Jun 2015 16:33:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Tue, 30 Jun 2015 16:33:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gnn@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 16:33:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 --- Comment #10 from George V. Neville-Neil --- I am actively looking into this. I will start a round of tests and then see what we need to do to make this work for 11. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:37:08 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F97C990009 for ; Tue, 30 Jun 2015 16:37:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BFF114E6 for ; Tue, 30 Jun 2015 16:37:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGb7ib055165 for ; Tue, 30 Jun 2015 16:37:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 195078] em tx_dma_fails and dropped packets Date: Tue, 30 Jun 2015 16:37:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, easy, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 16:37:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195078 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #3 from Sean Bruno --- This errata has been implemented in the em(4) driver, the watchdog timer has been updated and significant code improvements have been implemented in the 82574 code since this ticket was filed. Can you verify behavior is the same failure case or improved in 10.2r beta/stable 10 or current? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:39:40 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 035C3990053 for ; Tue, 30 Jun 2015 16:39:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4C1E15FF for ; Tue, 30 Jun 2015 16:39:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGddYh056386 for ; Tue, 30 Jun 2015 16:39:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 183271] [em] statistic not updated on em in netmap mode Date: Tue, 30 Jun 2015 16:39:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: sbruno@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 16:39:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183271 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |sbruno@FreeBSD.org --- Comment #5 from Sean Bruno --- assignment to validate on em(4) and lem(4) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:41:53 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E657F990203 for ; Tue, 30 Jun 2015 16:41:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3D321CAC for ; Tue, 30 Jun 2015 16:41:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGfrHv062662 for ; Tue, 30 Jun 2015 16:41:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 187068] [em] network data slow/stops with em driver Date: Tue, 30 Jun 2015 16:41:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 16:41:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187068 --- Comment #2 from Sean Bruno --- This is not happening to me on my test boxes. Can you retest and verify please? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:45:23 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E462990258 for ; Tue, 30 Jun 2015 16:45:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2518A1DE8 for ; Tue, 30 Jun 2015 16:45:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGjNiY066008 for ; Tue, 30 Jun 2015 16:45:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 189234] [em] Big lag with Ethernet Connection I217-V Date: Tue, 30 Jun 2015 16:45: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: 10.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 16:45:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189234 --- Comment #2 from Sean Bruno --- I see this on my laptop prior to the watchdog improvements to em(4) in current and 10/stable. Can you retest? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 16:52:13 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DCAE9903D8 for ; Tue, 30 Jun 2015 16:52:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A7071219 for ; Tue, 30 Jun 2015 16:52:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UGqCKB075243 for ; Tue, 30 Jun 2015 16:52:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 142518] [em] [lagg] Problem on 8.0-STABLE with em and lagg Date: Tue, 30 Jun 2015 16:52:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 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, 30 Jun 2015 16:52:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=142518 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --- Comment #7 from Sean Bruno --- This is no longer an issue in my environment. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:14:11 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09A9B9909DB for ; Tue, 30 Jun 2015 17:14:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB18C14A9 for ; Tue, 30 Jun 2015 17:14:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHEAUc031755 for ; Tue, 30 Jun 2015 17:14:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 167500] [em] [panic] Kernel panics in em driver Date: Tue, 30 Jun 2015 17:14: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: 8.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:14:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=167500 --- Comment #2 from Sean Bruno --- I am no longer seeing this happen with pf based firewalls on freebsd 10.2r or current. Can you retest this and see what your results are? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:18:17 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9011C990A7E for ; Tue, 30 Jun 2015 17:18:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C3CD169C for ; Tue, 30 Jun 2015 17:18:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHIHGC033403 for ; Tue, 30 Jun 2015 17:18:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 152828] [em] poor performance on 8.1, 8.2-PRE Date: Tue, 30 Jun 2015 17:18:17 +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: 8.2-PRERELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:18:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=152828 --- Comment #3 from Sean Bruno --- This looks sounds like some features missing between if_em.c and if_lem.c Is this still happening in your tests? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:27:19 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74CBA990C1E for ; Tue, 30 Jun 2015 17:27:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6185F1F27 for ; Tue, 30 Jun 2015 17:27:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHRJtL042383 for ; Tue, 30 Jun 2015 17:27:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 161277] [em] [patch] BMC cannot receive IPMI traffic after loading or enabling the if_em driver Date: Tue, 30 Jun 2015 17:27:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:27:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161277 --- Comment #2 from Sean Bruno --- I see no evidence that the subject of this issue has been resolved. Is this still an issue that is testable on 10.2r or -current? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:31:12 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71B3A990DCC for ; Tue, 30 Jun 2015 17:31:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EAF41191 for ; Tue, 30 Jun 2015 17:31:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHVCRo046717 for ; Tue, 30 Jun 2015 17:31:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 164495] [igb] connect double head igb to switch cause system to halt Date: Tue, 30 Jun 2015 17:31:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:31:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164495 --- Comment #2 from Sean Bruno --- This is a common configuration for my workplace using igb(4) on stable/10. We don't see this issue. Is this testable for you? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:32:38 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56D80990E18 for ; Tue, 30 Jun 2015 17:32:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43BBE12D4 for ; Tue, 30 Jun 2015 17:32:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHWcCP049854 for ; Tue, 30 Jun 2015 17:32:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 155680] [multicast] problems with multicast Date: Tue, 30 Jun 2015 17:32: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: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:32:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=155680 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Overcome By Events --- Comment #2 from Sean Bruno --- em(4) or igb(4) would be your best bet here. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:34:46 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D04D8990E69 for ; Tue, 30 Jun 2015 17:34:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD52414AF for ; Tue, 30 Jun 2015 17:34:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHYkWx050597 for ; Tue, 30 Jun 2015 17:34:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 153308] [em] em interface use 100% cpu Date: Tue, 30 Jun 2015 17:34:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 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, 30 Jun 2015 17:34:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=153308 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|In Progress |Closed --- Comment #4 from Sean Bruno --- No feedback from submitter in over 4 years. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:47:59 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09EC59900F5 for ; Tue, 30 Jun 2015 17:47:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA7921CF0 for ; Tue, 30 Jun 2015 17:47:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHlwdB062251 for ; Tue, 30 Jun 2015 17:47:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 183920] [ixgbe] [patch] Incorrect ifconfig media on INTEL X520-T2 10G Dual-port Ethernet Server Adapter, RJ45/2 Date: Tue, 30 Jun 2015 17:47:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:47:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183920 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |erj@freebsd.org --- Comment #3 from Sean Bruno --- Is this change correct for ixgbe(4) ... it would apply to if_ix.c now. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:51:52 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAC1599036B for ; Tue, 30 Jun 2015 17:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7FC91120 for ; Tue, 30 Jun 2015 17:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHpqXx068341 for ; Tue, 30 Jun 2015 17:51:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 162028] [ixgbe] [patch] misplaced #endif in ixgbe.c Date: Tue, 30 Jun 2015 17:51:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 7.4-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:51:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162028 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |erj@freebsd.org --- Comment #4 from Sean Bruno --- This is now applicable to if_ix.c but seems to still be applicable. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:54:38 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BEAF99047F for ; Tue, 30 Jun 2015 17:54:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 791F71296 for ; Tue, 30 Jun 2015 17:54:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHsclq070571 for ; Tue, 30 Jun 2015 17:54:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 150251] [patch] [ixgbe] Late cable insertion broken Date: Tue, 30 Jun 2015 17:54: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: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:54:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=150251 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |erj@freebsd.org --- Comment #2 from Sean Bruno --- Bugzilla is making it hard to tell where this applies to, but it *should* be applied to if_ix.c ... I think. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 17:58:40 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0513A990546 for ; Tue, 30 Jun 2015 17:58:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5E9514CA for ; Tue, 30 Jun 2015 17:58:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UHwdV2073108 for ; Tue, 30 Jun 2015 17:58:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 153936] [ixgbe] [patch] MPRC workaround incorrectly applied to 82599 Date: Tue, 30 Jun 2015 17:58:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 17:58:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=153936 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |erj@freebsd.org Resolution|--- |FIXED Status|In Progress |Closed --- Comment #2 from Sean Bruno --- Current code now reflects the request in this ticket: if_ix.c: /* * Workaround: mprc hardware is incorrectly counting * broadcasts, so for now we subtract those. */ bprc = IXGBE_READ_REG(hw, IXGBE_BPRC); adapter->stats.pf.bprc += bprc; adapter->stats.pf.mprc += IXGBE_READ_REG(hw, IXGBE_MPRC); if (hw->mac.type == ixgbe_mac_82598EB) adapter->stats.pf.mprc -= bprc; -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 18:02:31 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6AA54990728 for ; Tue, 30 Jun 2015 18:02:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 570811B52 for ; Tue, 30 Jun 2015 18:02:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UI2VT7090728 for ; Tue, 30 Jun 2015 18:02:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 173201] [ixgbe] [patch] Missing / broken ixgbe sysctl's and tunables (patch included) Date: Tue, 30 Jun 2015 18:02:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 18:02:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=173201 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |erj@freebsd.org --- Comment #4 from Sean Bruno --- These are still valid and applicable patches. They no longer apply cleanly(due to splitting of the driver), but they are definitely worth reviewing and updating. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 18:12:39 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82288990A66 for ; Tue, 30 Jun 2015 18:12:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F27E1256 for ; Tue, 30 Jun 2015 18:12:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UICd41061618 for ; Tue, 30 Jun 2015 18:12:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 195924] [patch] IXGBE watchdog bug causes crash. Date: Tue, 30 Jun 2015 18:12: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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 18:12:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195924 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events --- Comment #2 from Sean Bruno --- txr is no longer refenced directly in the watchdog: handler. It is indirectly referenced via the que structure. None of the watchdog: calls access the que data structure in an out of bounds condition. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 18:15:02 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7261990B0C for ; Tue, 30 Jun 2015 18:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C3E4F15A8 for ; Tue, 30 Jun 2015 18:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UIF2eZ068398 for ; Tue, 30 Jun 2015 18:15:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 168414] [ixgbe] [patch] ixgbe commit r234137 introduces code/comment mismatch Date: Tue, 30 Jun 2015 18:15:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 18:15:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168414 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #3 from Sean Bruno --- This code has been fixed in if_ix.c and matches the patch in this ticket. Thanks! -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 18:22:26 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B67D990CDC for ; Tue, 30 Jun 2015 18:22:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15F281AE3 for ; Tue, 30 Jun 2015 18:22:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UIMPbX084527 for ; Tue, 30 Jun 2015 18:22:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 168440] [ixgbe] [patch] ixgbe flow control tunable regression Date: Tue, 30 Jun 2015 18:22:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 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, 30 Jun 2015 18:22:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168440 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|In Progress |Closed --- Comment #2 from Sean Bruno --- flow control is now a loader tuneable in ixv(4) but it is an SYSCTL in ixgbe(4). the "fc" sysctl is what you want here. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 18:28:59 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C94DE990E63 for ; Tue, 30 Jun 2015 18:28:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B58E61F78 for ; Tue, 30 Jun 2015 18:28:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UISxtu087126 for ; Tue, 30 Jun 2015 18:28:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 152853] [em] tftpd (and likely other udp traffic) fails over em(4) unless rxcsum/txcsum disabled [regression] Date: Tue, 30 Jun 2015 18:28:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.2-PRERELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 18:28:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=152853 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #4 from Sean Bruno --- This appears to be applied to if_em.c ... if this is not the case, please correctly reopen this ticket. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 21:49:57 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AC87991427 for ; Tue, 30 Jun 2015 21:49:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3820A15DB for ; Tue, 30 Jun 2015 21:49:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5ULnvTg054551 for ; Tue, 30 Jun 2015 21:49:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Tue, 30 Jun 2015 21:49:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: david.keller@litchis.fr X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 21:49:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 --- Comment #18 from david.keller@litchis.fr --- (In reply to Sean Bruno from comment #17) Just happened again. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 22:50:41 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CB1B991EB7 for ; Tue, 30 Jun 2015 22:50:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59E182614 for ; Tue, 30 Jun 2015 22:50:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5UMof5V051890 for ; Tue, 30 Jun 2015 22:50:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Tue, 30 Jun 2015 22:50:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 30 Jun 2015 22:50:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 --- Comment #19 from Sean Bruno --- (In reply to david.keller from comment #18) ok. What version of FreeBSD is failing? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jun 30 22:56:34 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96C0A990086 for ; Tue, 30 Jun 2015 22:56:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 639132B45 for ; Tue, 30 Jun 2015 22:56:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iecuq6 with SMTP id uq6so22980353iec.2 for ; Tue, 30 Jun 2015 15:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bUJX6ZnL/MHzDHuds3MQyXvAPDLr1uT3bUN3FlpKjoM=; b=u77KZG9yj1PXItqntDKdB6O3h8QPB7vGkC28cW8pOXa/E8Io/4pvhPuEy1uZi/+fWF FlPsCQzSWdN048JOdmt9HPTxzojOGniXbPADCjwIMcYcJ/EanfPA6EfFDUPsoCJFzIZ9 tvQ9NiX7Pzheg+LoGjfOTT5naXqh3h67Vqe0nG1BheZW2+XJf3ZPY0ybPsP2ZJ6kyc0C IuJNcBzXixPHEHAicrn3D8YXz1qaW8Wpqk+5M2oy9JodW4QG7Q1pe3QkeD8fPIycyFBc anvv0sDR5xkhxV84q7mX61JnHZDS02zUucEFa/c2RCICvk+Br95MveCBBdd5InoDf7gg zXng== MIME-Version: 1.0 X-Received: by 10.50.111.167 with SMTP id ij7mr27342549igb.49.1435704993412; Tue, 30 Jun 2015 15:56:33 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Tue, 30 Jun 2015 15:56:33 -0700 (PDT) In-Reply-To: References: <559131AC.6010304@winterei.se> Date: Tue, 30 Jun 2015 15:56:33 -0700 Message-ID: Subject: Re: Same NIC name to MAC mapping on FreeBSD From: Adrian Chadd To: Wei Hu Cc: "Paul S." , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 30 Jun 2015 22:56:34 -0000 Hi, If we don't support this as part of the interface renaming stuff, it would certainly be good to. a- On 29 June 2015 at 21:36, Wei Hu wrote: > >> -----Original Message----- >> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- >> net@freebsd.org] On Behalf Of Paul S. >> Sent: Monday, June 29, 2015 7:53 PM >> To: freebsd-net@freebsd.org >> Subject: Re: Same NIC name to MAC mapping on FreeBSD >> >> On my production systems, I've never seen it deviate without hardware >> changes. >> >> Are you seeing otherwise? >> > > In Hyper-V, if say three NICs were assigned to the VM, I got following mapping > Initially: > > Hn0 -> MAC 0 > Hn1 -> MAC 1 > Hn2 -> MAC2 > > Then if I remove the NIC with MAC 1 and reboot, I want the other two interfaces to keep the same > Names instead of reassigning hn1 to MAC2. This is a requirement from virtual appliance > Vendor to retain such mappings. I am wondering if there is any way to do this without > Asking customer or manually editing any config files. > > Thanks, > Wei > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Jul 1 03:43:01 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 182C1991E62 for ; Wed, 1 Jul 2015 03:43:01 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BCBFC2449 for ; Wed, 1 Jul 2015 03:43:00 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-228-122.lns20.per1.internode.on.net [121.45.228.122]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t613gnGL097265 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 30 Jun 2015 20:42:52 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <559361B3.9030702@freebsd.org> Date: Wed, 01 Jul 2015 11:42:43 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: Same NIC name to MAC mapping on FreeBSD References: <559131AC.6010304@winterei.se> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 03:43:01 -0000 On 7/1/15 6:56 AM, Adrian Chadd wrote: > Hi, > > If we don't support this as part of the interface renaming stuff, it > would certainly be good to. > > > a- > > > On 29 June 2015 at 21:36, Wei Hu wrote: >>> -----Original Message----- >>> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- >>> net@freebsd.org] On Behalf Of Paul S. >>> Sent: Monday, June 29, 2015 7:53 PM >>> To: freebsd-net@freebsd.org >>> Subject: Re: Same NIC name to MAC mapping on FreeBSD >>> >>> On my production systems, I've never seen it deviate without hardware >>> changes. >>> >>> Are you seeing otherwise? >>> >> In Hyper-V, if say three NICs were assigned to the VM, I got following mapping >> Initially: >> >> Hn0 -> MAC 0 >> Hn1 -> MAC 1 >> Hn2 -> MAC2 >> >> Then if I remove the NIC with MAC 1 and reboot, I want the other two interfaces to keep the same >> Names instead of reassigning hn1 to MAC2. This is a requirement from virtual appliance >> Vendor to retain such mappings. I am wondering if there is any way to do this without >> Asking customer or manually editing any config files. do interface arrivals show up in devd? if so they could be renamed on arrival I vaguely remember being able to do this some years ago but I can't remember the details. >> >> Thanks, >> Wei >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@freebsd.org Wed Jul 1 04:40:47 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 909D59918E0 for ; Wed, 1 Jul 2015 04:40:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57B481CA3 for ; Wed, 1 Jul 2015 04:40:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by oift81 with SMTP id t81so23628215oif.3 for ; Tue, 30 Jun 2015 21:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=TF3OPQAQqmBD2BgnrwrloLThVhiaSwP5o7vrBH5c3Xc=; b=SgQosHvqa6wVZxnD0vBPFJTDta6ffk4iKtfPXUN21nMKN6HjKPVDCPN0pxyymV6CAk QBGqTcNwuG+jfW0vRjxdxGjSNXhPNp6xo3VNsDwOH+4Jy1PLoKCeCW63d8mvP93E4iyi kFtfbHXcIcJixM6yKbwqBKvZhhfO2CUdPUU2BTQgFWZTB2QCQBAuOeSKVHbo8zZfKOp+ wrmV73o9B71fRDLx8I2ZWHxLXYmHEj0b9+yF6O33L2xwNFGC38ZhQnwiAo3l/00ZntfW 8AtUpjpmXzn0HNk5RqpcSrBTCJ8zlT9yRzD48XFcpuxFh/RW1UlMdv6tsiyk8tRFbghU YemA== MIME-Version: 1.0 X-Received: by 10.202.214.20 with SMTP id n20mr14930569oig.91.1435725647032; Tue, 30 Jun 2015 21:40:47 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.202.221.69 with HTTP; Tue, 30 Jun 2015 21:40:46 -0700 (PDT) In-Reply-To: <20150701002949.GA79350@neutralgood.org> References: <20150701002949.GA79350@neutralgood.org> Date: Tue, 30 Jun 2015 21:40:46 -0700 X-Google-Sender-Auth: 7fQ-o3XzbmqRAZXOVWJY8jKru48 Message-ID: Subject: Re: rc settings for ipv6 in 9.3? From: Kevin Oberman To: kpneal@pobox.com Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 04:40:47 -0000 On Tue, Jun 30, 2015 at 5:29 PM, wrote: > I just got a /56 block of ipv6 addresses today and I'm trying to figure > out how to use it. > > Before I go rebooting my server I wanted to ask if the information in the > handbook "https://www.freebsd.org/doc/handbook/network-ipv6.html" is > correct > for 9.3-p14. > > I have a static address for my server and I've been given the static > address of the router. So I should just be able to set (in my rc.conf) > ifconfig_bce0_ipv6 and ipv6_defaultrouter, correct? > > Or do I really need these two lines from the handbook?: > ifconfig_bce0_ipv6="inet6 accept_rtadv" > rtsold_enable="YES" > > Also, can someone translate this statement from my provider for me: > "Note: [provider] is routing 2607:f758:2280::/56 to 2607:f758:2280::4/64" > > BTW, is the term "netmask" ever used in IPv6? I thought "prefixlen" was > the term and "netmask" was for v4 only? > > Thanks for any help! > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > No, If your system has a static address (and a server should have one), you don't need SLAAC or Router Solicitation. You just need to set the address: ifconfig_bce0_ipv6="inet6 2607:f758:2280::n/64" and ipv6_defaultrouter="Router address". Netmasks are obsolete everywhere and really should not be used. CIDR addressing has been the standard for a quarter century. Netmasks really should not be used for either IPv4 or IPv6. I am unable to translate the statement from the provider with certainty. I am guessing that the /64 2607:f758:2280::/64 is used by their router with 2607:f758:2280::4 as the address on their router(s). The remainder of the /56 is yours but I could not swear to that. You will probably want more than one /64 for different purposes. Other than externally accessible servers, you should put systems in a different /64 and spread them at random around that space if they are statically addressed. (I don't recommend for or against statically addressing, though.) -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-net@freebsd.org Wed Jul 1 08:11:06 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1792F98FA48 for ; Wed, 1 Jul 2015 08:11:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 057AD1E9A for ; Wed, 1 Jul 2015 08:11:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t618B5Cs058252 for ; Wed, 1 Jul 2015 08:11:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Wed, 01 Jul 2015 08:11:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: david.keller@litchis.fr X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 08:11:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 --- Comment #20 from david.keller@litchis.fr --- (In reply to Sean Bruno from comment #19) 10.1-RELEASE-p10 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 08:02:29 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F762993E90 for ; Wed, 1 Jul 2015 08:02:29 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (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 C502919AC; Wed, 1 Jul 2015 08:02:28 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id D4C191534C4; Wed, 1 Jul 2015 10:02:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oNEa3pxW8II7; Wed, 1 Jul 2015 10:02:15 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:6501:7945:3e71:f257] (unknown [IPv6:2001:4cb8:3:1:6501:7945:3e71:f257]) by smtp.digiware.nl (Postfix) with ESMTPA id DEEC015344D; Wed, 1 Jul 2015 10:02:15 +0200 (CEST) Message-ID: <55939E88.5090804@digiware.nl> Date: Wed, 01 Jul 2015 10:02:16 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Julian Elischer , freebsd-net@freebsd.org Subject: Re: Same NIC name to MAC mapping on FreeBSD References: <559131AC.6010304@winterei.se> <559361B3.9030702@freebsd.org> In-Reply-To: <559361B3.9030702@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 08:02:29 -0000 On 01/07/2015 05:42, Julian Elischer wrote: > On 7/1/15 6:56 AM, Adrian Chadd wrote: >> Hi, >> >> If we don't support this as part of the interface renaming stuff, it >> would certainly be good to. >> >> >> a- >> >> >> On 29 June 2015 at 21:36, Wei Hu wrote: >>>> -----Original Message----- >>>> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- >>>> net@freebsd.org] On Behalf Of Paul S. >>>> Sent: Monday, June 29, 2015 7:53 PM >>>> To: freebsd-net@freebsd.org >>>> Subject: Re: Same NIC name to MAC mapping on FreeBSD >>>> >>>> On my production systems, I've never seen it deviate without hardware >>>> changes. >>>> >>>> Are you seeing otherwise? >>>> >>> In Hyper-V, if say three NICs were assigned to the VM, I got >>> following mapping >>> Initially: >>> >>> Hn0 -> MAC 0 >>> Hn1 -> MAC 1 >>> Hn2 -> MAC2 >>> >>> Then if I remove the NIC with MAC 1 and reboot, I want the other two >>> interfaces to keep the same >>> Names instead of reassigning hn1 to MAC2. This is a requirement from >>> virtual appliance >>> Vendor to retain such mappings. I am wondering if there is any way >>> to do this without >>> Asking customer or manually editing any config files. > do interface arrivals show up in devd? if so they could be renamed on > arrival > I vaguely remember being able to do this some years ago but I can't > remember the details. This sounds horribly like the Linux solution, where I always have to refind eth0 and eth1 because the assignments in the devd config. Swapping a disk to another system, changes MACs and looses the devices. :( But I've been bitten so often now, that I do know where to look. Bhyve virtualisation and disk image replication is one of the cases where this comes into play. --WjW From owner-freebsd-net@freebsd.org Wed Jul 1 08:07:15 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6481798F50C for ; Wed, 1 Jul 2015 08:07:15 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (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 E7A061BB4 for ; Wed, 1 Jul 2015 08:07:14 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 4319B153416; Wed, 1 Jul 2015 10:07:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pvP7R_uyGyn2; Wed, 1 Jul 2015 10:06:42 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:6501:7945:3e71:f257] (unknown [IPv6:2001:4cb8:3:1:6501:7945:3e71:f257]) by smtp.digiware.nl (Postfix) with ESMTPA id 71A9B15340A; Wed, 1 Jul 2015 09:58:01 +0200 (CEST) Message-ID: <55939D89.4030502@digiware.nl> Date: Wed, 01 Jul 2015 09:58:01 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Kevin Oberman , kpneal@pobox.com CC: "freebsd-net@freebsd.org" Subject: Re: rc settings for ipv6 in 9.3? References: <20150701002949.GA79350@neutralgood.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 08:07:15 -0000 On 01/07/2015 06:40, Kevin Oberman wrote: > On Tue, Jun 30, 2015 at 5:29 PM, wrote: > >> I just got a /56 block of ipv6 addresses today and I'm trying to figure >> out how to use it. >> >> Before I go rebooting my server I wanted to ask if the information in the >> handbook "https://www.freebsd.org/doc/handbook/network-ipv6.html" is >> correct >> for 9.3-p14. >> >> I have a static address for my server and I've been given the static >> address of the router. So I should just be able to set (in my rc.conf) >> ifconfig_bce0_ipv6 and ipv6_defaultrouter, correct? >> >> Or do I really need these two lines from the handbook?: >> ifconfig_bce0_ipv6="inet6 accept_rtadv" >> rtsold_enable="YES" >> >> Also, can someone translate this statement from my provider for me: >> "Note: [provider] is routing 2607:f758:2280::/56 to 2607:f758:2280::4/64" >> >> BTW, is the term "netmask" ever used in IPv6? I thought "prefixlen" was >> the term and "netmask" was for v4 only? >> >> Thanks for any help! >> -- >> Kevin P. Neal http://www.pobox.com/~kpn/ >> > > No, If your system has a static address (and a server should have one), you > don't need SLAAC or Router Solicitation. You just need to set the address: > ifconfig_bce0_ipv6="inet6 2607:f758:2280::n/64" and > ipv6_defaultrouter="Router address". > > Netmasks are obsolete everywhere and really should not be used. CIDR > addressing has been the standard for a quarter century. Netmasks really > should not be used for either IPv4 or IPv6. > > I am unable to translate the statement from the provider with certainty. I > am guessing that the /64 2607:f758:2280::/64 is used by their router with > 2607:f758:2280::4 as the address on their router(s). The remainder of the > /56 is yours but I could not swear to that. > > You will probably want more than one /64 for different purposes. Other than > externally accessible servers, you should put systems in a different /64 > and spread them at random around that space if they are statically > addressed. (I don't recommend for or against statically addressing, though.) This is different from what was usually done in IPv4, because there seperate ip-numbers where used on links... I've even seen ISP use RFC-1918 address on the links. What ISP usually do for IPv6 is assign a block (/48 /56 or /64) to a customer, and then take a smaller block from that to build the link between ISP and customer... The smaller block in this case being 2607:f758:2280::/64 Routing really works in cases like this without much trouble, because IPv6 uses shortes-prefix-first for route selection. Next to the fact that both routers have that smaller block on their interfaces. If the endpoint is actually a server, then forget about the next part, because you're going to terminate the whole block on that server. Now trouble starts if you DID NOT SUBNET behind the customer router, and have more devices on the link between ISP and customer. Then every internal device needs to be told that the linking network needs to go thru the router... Either by starting a route announcement system, on all systems (eg. route6d) or add them manual to the routing table of the client systems. For smaller networks the later is faster, but harder to maintain in case of renumbering. All this is prevented by subnetting the customer network also in /64 blocks... And then things just work, and the customer router does the job. :) The ISP does not have this problem since the full block is routed to the aggregation router te customer is connected to. And that router knows about the smaller linking network. --WjW From owner-freebsd-net@freebsd.org Wed Jul 1 12:05:57 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC5D098F602 for ; Wed, 1 Jul 2015 12:05:57 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1D891157; Wed, 1 Jul 2015 12:05:57 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZAGm2-0000Gp-UQ; Wed, 01 Jul 2015 13:05:54 +0100 Date: Wed, 1 Jul 2015 13:05:54 +0100 From: Gary Palmer To: Julian Elischer Cc: freebsd-net@freebsd.org Subject: Re: Same NIC name to MAC mapping on FreeBSD Message-ID: <20150701120554.GA989@in-addr.com> References: <559131AC.6010304@winterei.se> <559361B3.9030702@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <559361B3.9030702@freebsd.org> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 12:05:58 -0000 On Wed, Jul 01, 2015 at 11:42:43AM +0800, Julian Elischer wrote: > On 7/1/15 6:56 AM, Adrian Chadd wrote: > > Hi, > > > > If we don't support this as part of the interface renaming stuff, it > > would certainly be good to. > > > > > > a- > > > > > > On 29 June 2015 at 21:36, Wei Hu wrote: > >>> -----Original Message----- > >>> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > >>> net@freebsd.org] On Behalf Of Paul S. > >>> Sent: Monday, June 29, 2015 7:53 PM > >>> To: freebsd-net@freebsd.org > >>> Subject: Re: Same NIC name to MAC mapping on FreeBSD > >>> > >>> On my production systems, I've never seen it deviate without hardware > >>> changes. > >>> > >>> Are you seeing otherwise? > >>> > >> In Hyper-V, if say three NICs were assigned to the VM, I got following mapping > >> Initially: > >> > >> Hn0 -> MAC 0 > >> Hn1 -> MAC 1 > >> Hn2 -> MAC2 > >> > >> Then if I remove the NIC with MAC 1 and reboot, I want the other two interfaces to keep the same > >> Names instead of reassigning hn1 to MAC2. This is a requirement from virtual appliance > >> Vendor to retain such mappings. I am wondering if there is any way to do this without > >> Asking customer or manually editing any config files. > do interface arrivals show up in devd? if so they could be renamed on > arrival > I vaguely remember being able to do this some years ago but I can't > remember the details. I believe they do, yes. In fact I seem to remember a discussion on this in the last year and someone shared either a devd or an rc.d script to ensure static NIC names, however searching the web archvies I couldn't find it Regards, Gary From owner-freebsd-net@freebsd.org Wed Jul 1 13:20:50 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E10E59905FA for ; Wed, 1 Jul 2015 13:20:50 +0000 (UTC) (envelope-from oliver@watershed.co.uk) Received: from babbage.watershed.co.uk (babbage.watershed.co.uk [195.10.250.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 830C21EBF for ; Wed, 1 Jul 2015 13:20:50 +0000 (UTC) (envelope-from oliver@watershed.co.uk) Received: from oliver.local.watershed.co.uk (Oliver.local.watershed.co.uk [192.168.128.78]) (authenticated bits=0) by babbage.watershed.co.uk (8.15.1/8.15.1) with ESMTPSA id t61DF9H7083485 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 1 Jul 2015 14:15:10 +0100 (BST) (envelope-from oliver@watershed.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=watershed.co.uk; s=main; t=1435756510; bh=QbbMej0MdJNneFeH67YeIr+chEU/OEfmofINJ9/ImZ4=; h=From:Subject:Date:To; b=dbkOTqwB1LYgFjILLQQuC3N0acLBwSzVhGGuKEkgguOZntutny+Sy1xAsPvj/89hz 6bRZGJnHZ8WrN/wi2Jlt4sQzm5Hz2W4/jKSZivk20F3+eVRtEqE9K60lKhpiP9qK7L 8fkDTWJ0tIsd6GtYZ7t4i/mC95UmWhnWcve/IhFQf2SYePLKj5zlW2I3G3g/gcB6tI /kF9546ekODjaC6RYqBo33/gqE2jmqgHf15m7UfCYJz4g+eYeRHLAC4kqsrSNicNC2 7HI+CAsmA0GicryaDbpi6urZcnreHr7jMWDZS0+J+FSe6w+HtJ5ID6tKZyVSSVd++9 uw1PF7nBD2yTw== From: Oliver Humpage Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: IPFW divert and suricata Message-Id: Date: Wed, 1 Jul 2015 14:15:09 +0100 To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) X-Virus-Scanned: by Sophos X-Scanned-By: MIMEDefang 2.74 on 195.10.250.253 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 13:20:51 -0000 Hello, I hope this is a good list to post this on, I have a feeling the = solution is somewhere obscure in the networking layer. I've set up an IPS system, using: * FreeBSD 10.1 (guest OS, plenty of RAM/CPU) * ESXi 5.5 (host OS, using Intel X520 10Gb cards. Not overloaded, all = graphs show it's got plenty of RAM/CPU spare at all times) * vmxnet3 drivers * ipfw (very small ruleset, basically just a divert rule) * suricata, in ipfw divert mode I'm having a couple of major issues.=20 The first is that every so often, even with relatively little traffic, = the load on the box suddenly spikes and pings to a neighbouring router = (via the divert rule) go from <1ms to >300ms. Generally this resolves = itself after a few minutes, although last night it went on for an hour = until I restarted ipfw and suricata. The second is that if I do a large download, eg a FreeBSD ISO, the = download usually hangs somewhere between 5MB and 100MB through. I can = see traffic trying to get through on neighbouring routers, it's just the = interface with the divert to suricata where they disappear into a black = hole. The connection speed is around 50Mb, btw. Now it's possible it's suricata being weird, but there's nothing = untoward in its events and stats logs, and if I replay the traffic from = a pcap file then suricata processes everything fine (a pcap taken over a = 90s period during a slowdown is processed in under a second). So my = guess is that if suricata takes slightly longer than normal to process a = packet, something in the networking or ipfw divert system is tripping = itself up. Maybe a queue is filling up? I've set net.inet.ip.fw.dyn_buckets=3D16384, and done an ipfw flush, but = net.inet.ip.fw.curr_dyn_buckets is stubbornly sticking at 256: have I = done something wrong? Other tunables I've set are: kern.random.sys.harvest.ethernet=3D0 kern.random.sys.harvest.point_to_point=3D0 kern.random.sys.harvest.interrupt=3D0=20 kern.ipc.soacceptqueue=3D1024=20 Can anyone suggest either tests to see what might be going wrong, or = tunables to help things run smoother? Both myself and a colleague have = used FreeBSD for over 15 years, and never quite seen anything like it. Many thanks, Oliver. From owner-freebsd-net@freebsd.org Wed Jul 1 14:00:36 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BF2D990FF2 for ; Wed, 1 Jul 2015 14:00:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F71E2070 for ; Wed, 1 Jul 2015 14:00:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t61E0XEY045969 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 1 Jul 2015 08:00:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t61E0XPe045966 for ; Wed, 1 Jul 2015 08:00:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 1 Jul 2015 08:00:33 -0600 (MDT) From: Warren Block To: freebsd-net@FreeBSD.org Subject: Re: Same NIC name to MAC mapping on FreeBSD Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 01 Jul 2015 08:00:34 -0600 (MDT) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 14:00:36 -0000 Gary Palmer gpalmer at freebsd.org wrote: > On Wed, Jul 01, 2015 at 11:42:43AM +0800, Julian Elischer wrote: > > I vaguely remember being able to do this some years ago but I can't > > remember the details. > I believe they do, yes. In fact I seem to remember a discussion on > this in the last year and someone shared either a devd or an rc.d > script to ensure static NIC names, however searching the web archvies > I couldn't find it https://lists.freebsd.org/pipermail/freebsd-net/2014-December/040533.html Be sure to read all the way to the end, some things that appeared to work initially... did not. This has come up enough that we should probably add it to the Advanced Networking chapter of the Handbook. From owner-freebsd-net@freebsd.org Wed Jul 1 14:17:16 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04A3C991479 for ; Wed, 1 Jul 2015 14:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5BE12C69 for ; Wed, 1 Jul 2015 14:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t61EHFbb031748 for ; Wed, 1 Jul 2015 14:17:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Wed, 01 Jul 2015 14:17: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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 14:17:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #21 from Sean Bruno --- (In reply to david.keller from comment #20) oh, I see. Changes to em(4) have not propagated to the releng/10.1 branch and won't appear in an installable version until 10.2r https://svnweb.freebsd.org/base/releng/10.1/?view=log vs https://svnweb.freebsd.org/base/stable/10/sys/dev/e1000/?view=log so until 10.2r is out, you could apply r283504 and r284444 to see if the problem goes away for you, and if not apply r284522 and test as well. Is this something you can do? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 14:21:43 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21BB6991649 for ; Wed, 1 Jul 2015 14:21:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E4822F60 for ; Wed, 1 Jul 2015 14:21:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t61ELgDu038876 for ; Wed, 1 Jul 2015 14:21:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 162153] [em] intel em driver 7.2.4 don't compile Date: Wed, 01 Jul 2015 14:21:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 14:21:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162153 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --- Comment #2 from Sean Bruno --- Current em(4) driver version in freebsd *is* "7.4.2" on head and "7.3.7" on the stable/8 branch. These are the most recent versions from Intel that are available for this driver. Hopefully these are working for you. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 14:31:52 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05F709917C8 for ; Wed, 1 Jul 2015 14:31:52 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 61BC41901 for ; Wed, 1 Jul 2015 14:31:51 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by lbnk3 with SMTP id k3so14120426lbn.1 for ; Wed, 01 Jul 2015 07:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=VA6S0zvHWL75nFZSHisaRbUgzAgEmRPUshDJ7C4Wvg4=; b=fXATJbrl9eTPcGDUzoGGA36H4N9yYfEzYO84d3SvB17x3rw8FokysND988BHCPIlP0 mAQ4uqwTASU6bwQaq0Lcw2r8xqionarcDuLGX+xkxqsOrOWzJhWKf4LNJLhS0bOOdueN u+OGyV1qKOI5dGXa/V8tPKg6Q+sJehTT2/EVTe9LWVZFRdIWYMitkNHwtPv5Oj5ciKU8 2JbzzpxCXe+GNKnwzRoWcXa9bsS6ZQdrsFqUO25FudpxYlKt/gsIFTiw+r6/vLimWGla LlbY5Vw91mtAN9Qak1isa09t2Vm0WdtzTEEjeK5Gp2uS3orWjcfw4VnPl+bTalbvzbbL omTg== MIME-Version: 1.0 X-Received: by 10.112.220.7 with SMTP id ps7mr2145181lbc.72.1435761109201; Wed, 01 Jul 2015 07:31:49 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.230.103 with HTTP; Wed, 1 Jul 2015 07:31:49 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Jul 2015 16:31:49 +0200 X-Google-Sender-Auth: zBqlsdlAj6ToPSF9lW_HsHBK4LM Message-ID: Subject: Re: IPFW divert and suricata From: Luigi Rizzo To: Oliver Humpage Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 14:31:52 -0000 On Wed, Jul 1, 2015 at 3:15 PM, Oliver Humpage wrote: > > Hello, > > I hope this is a good list to post this on, I have a feeling the solution > is somewhere obscure in the networking layer. > > I've set up an IPS system, using: > > * FreeBSD 10.1 (guest OS, plenty of RAM/CPU) > * ESXi 5.5 (host OS, using Intel X520 10Gb cards. Not overloaded, all > graphs show it's got plenty of RAM/CPU spare at all times) > * vmxnet3 drivers > * ipfw (very small ruleset, basically just a divert rule) > * suricata, in ipfw divert mode > > I'm having a couple of major issues. > > The first is that every so often, even with relatively little traffic, th= e > load on the box suddenly spikes and pings to a neighbouring router (via t= he > divert rule) go from <1ms to >300ms. Generally this resolves itself after= a > few minutes, although last night it went on for an hour until I restarted > ipfw and suricata. > =E2=80=8Btypical problems with divert sockets are 1. if the interface has offloads (checksums, tso, etc.) =E2=80=8B =E2=80=8B enabled, packets may be moved up and down with invalid checksums resulting in all sort of odd behaviours 2. likewise if there are huge segments (virtual nics often pass up and down up to 64k in one shot) the divert socket is unable to handle them and either truncates or drops disabling all accelerations and setting the mtu to 1500 or so usually fixes the above two=E2=80=8B. 3. divert probably loses important context on the packets (e.g. incoming or outgoing interface) so when traffic is reinjected bad things occur 4. performancewise, moving traffic back and forth to userspace is a bad idea. For the latter two, you might be better off using netmap on vmxnet3 (in emulated mode, also disabling offloads), and if i remember well a couple of years ago there were efforts to use =E2=80=8Bsuricata on top of netmap. Worst case, you can just use the netmap-enabled libpcap. =E2=80=8B cheers luigi The second is that if I do a large download, eg a FreeBSD ISO, the download > usually hangs somewhere between 5MB and 100MB through. I can see traffic > trying to get through on neighbouring routers, it's just the interface wi= th > the divert to suricata where they disappear into a black hole. The > connection speed is around 50Mb, btw. > > Now it's possible it's suricata being weird, but there's nothing untoward > in its events and stats logs, and if I replay the traffic from a pcap fil= e > then suricata processes everything fine (a pcap taken over a 90s period > during a slowdown is processed in under a second). So my guess is that if > suricata takes slightly longer than normal to process a packet, something > in the networking or ipfw divert system is tripping itself up. Maybe a > queue is filling up? > > I've set net.inet.ip.fw.dyn_buckets=3D16384, and done an ipfw flush, but > net.inet.ip.fw.curr_dyn_buckets is stubbornly sticking at 256: have I don= e > something wrong? Other tunables I've set are: > > kern.random.sys.harvest.ethernet=3D0 > kern.random.sys.harvest.point_to_point=3D0 > kern.random.sys.harvest.interrupt=3D0 > kern.ipc.soacceptqueue=3D1024 > > Can anyone suggest either tests to see what might be going wrong, or > tunables to help things run smoother? Both myself and a colleague have us= ed > FreeBSD for over 15 years, and never quite seen anything like it. > > Many thanks, > > Oliver. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Wed Jul 1 15:10:10 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BBA0991105 for ; Wed, 1 Jul 2015 15:10:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18FEF1685 for ; Wed, 1 Jul 2015 15:10:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t61FA9Zi090242 for ; Wed, 1 Jul 2015 15:10:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 150249] [ixgbe] Media type detection broken Date: Wed, 01 Jul 2015 15:10:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 15:10:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=150249 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |erj@freebsd.org --- Comment #2 from Sean Bruno --- A casual look over ixgbe/if_ix.c seems to show that a lot of changes in the optics detection have been made. I suspect that this ticket is mostly deprecated, but I'm unclear if its been fully resolved. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 15:13:15 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 714B89912E0 for ; Wed, 1 Jul 2015 15:13:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E4C81D58 for ; Wed, 1 Jul 2015 15:13:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t61FDFQC004014 for ; Wed, 1 Jul 2015 15:13:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 170267] [ixgbe] IXGBE_LE32_TO_CPUS is probably an unintentional no-op Date: Wed, 01 Jul 2015 15:13: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: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: erj@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 15:13:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=170267 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |erj@freebsd.org --- Comment #2 from Sean Bruno --- Hrm ... currently, its not even defined to le32dec() in head. ixgbe_osdep.h: /* XXX these need to be revisited */ #define IXGBE_CPU_TO_LE32 htole32 #define IXGBE_LE32_TO_CPUS(x) #define IXGBE_CPU_TO_BE16 htobe16 #define IXGBE_CPU_TO_BE32 htobe32 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 16:06:16 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF98A991FC8 for ; Wed, 1 Jul 2015 16:06:16 +0000 (UTC) (envelope-from oliver@watershed.co.uk) Received: from babbage.watershed.co.uk (babbage.watershed.co.uk [195.10.250.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F7F310C0 for ; Wed, 1 Jul 2015 16:06:15 +0000 (UTC) (envelope-from oliver@watershed.co.uk) Received: from oliver.local.watershed.co.uk (Oliver.local.watershed.co.uk [192.168.128.78]) (authenticated bits=0) by babbage.watershed.co.uk (8.15.1/8.15.1) with ESMTPSA id t61G69Gl006407 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 1 Jul 2015 17:06:10 +0100 (BST) (envelope-from oliver@watershed.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=watershed.co.uk; s=main; t=1435766770; bh=ixKvh6Bv4UxIlrccfXWxNLn4QNMxoiwLreX/islnwVc=; h=Subject:From:In-Reply-To:Date:References:To; b=4tldAY0n6zF1uPRb7FLBW3it5gms4tuAhrjgPWYLA5Hr7G5BuzOZ1xNTP5446SCuG qOtkU3ByXtz1CSmlxvLwBehoSLXGJVP1ixMsW/o9mnhM3f2SOd1bVgiB9mnW4YxUVk +Xp1rDViD7GuXnDcDcYHvu4qrvM+5M7QXDbcNBaSGC/kunV+KhYJ0N5y1UJDAgCwUK MQy+8cd0Y+ryiXE5Bvhlr4VeG+8ui30j/e+2px4Eb7t9OXmILKt0p8xSO9Aly3giNK lOIZokfYfQqP1rW2J7JfSNNFGZ0PxEKgOGJzqmoGCpqU3n6HPATBmUFTAzkV/NitDD 2yZE6P2Zlp9AA== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: IPFW divert and suricata From: Oliver Humpage In-Reply-To: Date: Wed, 1 Jul 2015 17:06:09 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "freebsd-net@freebsd.org" X-Mailer: Apple Mail (2.1510) X-Virus-Scanned: by Sophos X-Scanned-By: MIMEDefang 2.74 on 195.10.250.253 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 16:06:16 -0000 On 1 Jul 2015, at 15:31, Luigi Rizzo wrote: > For the latter two, you might be better off using netmap > on vmxnet3 (in emulated mode, also disabling offloads), > and if i remember well a couple of years ago there were > efforts to use =E2=80=8Bsuricata on top of netmap. > Worst case, you can just use the netmap-enabled libpcap. Looks like netmap support has been finished and will be in version 2.1 = of Suricata, so that's promising. For now I'll try turning off all the hardware offloads and see what = happens. > 3. divert probably loses important context on the packets > (e.g. incoming or outgoing interface) so when traffic is > reinjected bad things occur Would specifying a reinject rule (eg a "pass all") help, do you think? = And/or having different divert rules for incoming/outgoing? I had = assumed it wouldn't, but I'm not an expert. Many thanks for replying, Oliver.= From owner-freebsd-net@freebsd.org Wed Jul 1 16:12:23 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 279E19920DE for ; Wed, 1 Jul 2015 16:12:23 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A85C415B0; Wed, 1 Jul 2015 16:12:22 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([37.6.23.86]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M3S2C-1YswIF16FE-00qyKv; Wed, 01 Jul 2015 18:12:19 +0200 Message-ID: <55941147.7040601@gmx.com> Date: Wed, 01 Jul 2015 19:11:51 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: bugzilla-noreply@freebsd.org, freebsd-net@FreeBSD.org CC: Kristof Provost Subject: Re: [Bug 200210] adding vtnet to bridge results to kernel panic References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:fNTS6fvUTwn3UwjhLJY2KwYS3hVD1+C/+hoUNXWXE/4XKQsbbcp zZIEv1L9Qwo/63I0iLE6PiH1fLcewY3vbUPEkJjuNSM85iz6Dj4u4T1AkyzC1J8WmjXtJV8 zcR+1ZhWyoCAO/JWZ0vIooV+Cm+YzS8WP6z3yRAdMQsp7cfh2eTdRFr+52j/qKJAe4Eor5L iMEHne7TSkG6cyrkAl7Mw== X-UI-Out-Filterresults: notjunk:1;V01:K0:1agM+IgU804=:PqTRxKA6jb2RKYlu+CDCSL QePa7aPts61QLmncx9Hxb1BlKWApb8F/sc+4ql7/vFTFPb7vvZK8Nl8QU47Fs+r3pqkfcujL8 d/hir3+l1pAgU8yvr1Oom8vXuVw2+uN7KwdUsQfTbqpdU98rlMXAK48GlDhvbEA3E2e2NxIfV sUOtTEBPe5HcE2woFkyW/s3LxkwFUZBXGaTDhEkJvWEAZym5pyOn+R0Th5dMYR4UG+JRsXvgS 8JSppyYCtaZQ1KV/7hG7fImLjgU6yJ4DgX+K55BsOTpM1HIsGA29QDr1byCWWgI3ZKU1SuvDY BIC82b6e00VUU8FgJHRLpA/deYw/POKVRKBZcFB1Fsoujbmk1Jt9uih7lZgz0qCjgNy6lMIC2 48wrKtcGXNHvb7PdM2uXL4GBgVWYyn+iDBDPN9kiRtOZg6Wwu41/Zn3iYNgSDUFQBitWXcFcb 9EqqxKqDbHlkjNRgcchWO1b2w1RtOqhQMLhx2KIjamZTOvwqvaKhub1sSlGsHWVSFHYVxLPf8 KtFcjOJAmJTs0Ubxxz0Fc+ULPIEHM6zpbrEFgx2/VRrdsAlZvZshHhkdMg1FB7K0V8ziie2Yb A2ezmcOUjMhYBdoe9rpCN7k2Gro/UJ8wC0XBYaJlW2Cew7PnqsV8pkBvmIbhbCQFe6WZM5QjI gBMSIVNdQAFzuN1X957dNcFsov9FB/ffAeIMATrugA4y3xbRyB4joLa7Bikx0KecxCYU= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 16:12:23 -0000 Hi Kristof, Thanks for fixing this! Could you MFC the fix? On 06/13/15 22:39, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200210 > > --- Comment #1 from commit-hook@freebsd.org --- > A commit references this bug: > > Author: kp > Date: Sat Jun 13 19:39:22 UTC 2015 > New revision: 284348 > URL: https://svnweb.freebsd.org/changeset/base/284348 > > Log: > Fix panic when adding vtnet interfaces to a bridge > > vtnet interfaces are always in promiscuous mode (at least if the > VIRTIO_NET_F_CTRL_RX feature is not negotiated with the host). if_promisc() > on > a vtnet interface returned ENOTSUP although it has IFF_PROMISC set. This > confused the bridge code. Instead we now accept all enable/disable > promiscuous > commands (and always keep IFF_PROMISC set). > > There are also two issues with the if_bridge error handling. > > If if_promisc() fails it uses bridge_delete_member() to clean up. This tries > to > disable promiscuous mode on the interface. That runs into an assert, because > promiscuous mode was never set in the first place. (That's the panic reported > in > PR 200210.) > We can only unset promiscuous mode if the interface actually is promiscuous. > This goes against the reference counting done by if_promisc(), but only the > first/last if_promic() calls can actually fail, so this is safe. > > A second issue is a double free of bif. It's already freed by > bridge_delete_member(). > > PR: 200210 > Differential Revision: https://reviews.freebsd.org/D2804 > Reviewed by: philip (mentor) > > Changes: > head/sys/dev/virtio/network/if_vtnet.c > head/sys/net/if_bridge.c > From owner-freebsd-net@freebsd.org Wed Jul 1 17:34:19 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5785D992ED6 for ; Wed, 1 Jul 2015 17:34:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 447EF25C4 for ; Wed, 1 Jul 2015 17:34:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t61HYJTE092313 for ; Wed, 1 Jul 2015 17:34:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 175864] [re] Intel MB D510MO, onboard ethernet not working after update to 9.1 [regression] Date: Wed, 01 Jul 2015 17:34: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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 17:34:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=175864 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbruno@FreeBSD.org, | |yongari@FreeBSD.org --- Comment #3 from Sean Bruno --- This card should be working now as far as I know. Adding Pyun for commentary. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 18:01:31 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B54839927CC for ; Wed, 1 Jul 2015 18:01:31 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (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 A203410F8 for ; Wed, 1 Jul 2015 18:01:31 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id 002E6D2279; Wed, 1 Jul 2015 11:01:26 -0700 (PDT) Date: Wed, 1 Jul 2015 11:01:26 -0700 From: hiren panchasara To: Jean-Francois HREN Cc: freebsd-net@freebsd.org, Damien DEVILLE , Fabien Thomas Subject: Re: Sequence number handling issue with TCP data and FIN flag with a transient error Message-ID: <20150701180126.GG50964@strugglingcoder.info> References: <1180135344.2814172.1434546351593.JavaMail.zimbra@stormshield.eu> <1176517609.2815392.1434546629748.JavaMail.zimbra@stormshield.eu> <20150617183734.GA53336@strugglingcoder.info> <20150622200756.GP37728@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ewQ5hdP4CtoTt3oD" Content-Disposition: inline In-Reply-To: <20150622200756.GP37728@strugglingcoder.info> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 18:01:31 -0000 --ewQ5hdP4CtoTt3oD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Created https://reviews.freebsd.org/D2970 to get faster closure on this issue. Cheers, Hiren ps: To comment, you need to sign up for an account. :-( I am not a fan of the whole thing but people seem to respond faster on reviews.freebsd.org so I went with it. --ewQ5hdP4CtoTt3oD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVlCr2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lqtIH/0gHQGT3RWu8BcTcd72KR3RR kkby3ggcBrFhUnt6NWrWxOywjrTWRp2rOty66yn+BZnOBx3Pay74j8LuIoUlwMg0 THp3VwukjkGroZHalH8TmaoX5XqmEY3qgphiO0G/7AkaG1YCsu2Gi5wWGfXAqYO1 3tlS+ixBRvN5vLdqwv+1E1v3JUHOgEQxM34LOd77oB5MGW2dIXaVQDOeLhqLz7F2 vpZa/TjRVZlBJhhJ7jcz10HA4P+UhEjCJIEGo0UorxvrDCcfrsMs0/M9kLEdFqBl EDHLw4EqxeDH0t5glzKSU5grkcP6/0rprIxEctFA16gLhGI6lah3HRlaQ0ms2ag= =9NSl -----END PGP SIGNATURE----- --ewQ5hdP4CtoTt3oD-- From owner-freebsd-net@freebsd.org Wed Jul 1 21:21:55 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAF7D992F4B for ; Wed, 1 Jul 2015 21:21:55 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B36F52612 for ; Wed, 1 Jul 2015 21:21:55 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [10.0.2.164] (94-224-12-229.access.telenet.be [94.224.12.229]) by venus.codepro.be (Postfix) with ESMTPSA id C9A318455; Wed, 1 Jul 2015 23:21:52 +0200 (CEST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: [Bug 200210] adding vtnet to bridge results to kernel panic From: Kristof Provost In-Reply-To: <55941147.7040601@gmx.com> Date: Wed, 1 Jul 2015 23:22:22 +0200 Cc: freebsd-net@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <55941147.7040601@gmx.com> To: Nikos Vassiliadis X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 21:21:56 -0000 Done in r285016. Regards, Kristof > On 01 Jul 2015, at 18:11, Nikos Vassiliadis wrote: >=20 > Hi Kristof, >=20 > Thanks for fixing this! Could you MFC the fix? >=20 > On 06/13/15 22:39, bugzilla-noreply@freebsd.org wrote: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200210 >>=20 >> --- Comment #1 from commit-hook@freebsd.org --- >> A commit references this bug: >>=20 >> Author: kp >> Date: Sat Jun 13 19:39:22 UTC 2015 >> New revision: 284348 >> URL: https://svnweb.freebsd.org/changeset/base/284348 >>=20 >> Log: >> Fix panic when adding vtnet interfaces to a bridge >>=20 >> vtnet interfaces are always in promiscuous mode (at least if the >> VIRTIO_NET_F_CTRL_RX feature is not negotiated with the host). = if_promisc() >> on >> a vtnet interface returned ENOTSUP although it has IFF_PROMISC set. = This >> confused the bridge code. Instead we now accept all enable/disable >> promiscuous >> commands (and always keep IFF_PROMISC set). >>=20 >> There are also two issues with the if_bridge error handling. >>=20 >> If if_promisc() fails it uses bridge_delete_member() to clean up. = This tries >> to >> disable promiscuous mode on the interface. That runs into an = assert, because >> promiscuous mode was never set in the first place. (That's the = panic reported >> in >> PR 200210.) >> We can only unset promiscuous mode if the interface actually is = promiscuous. >> This goes against the reference counting done by if_promisc(), but = only the >> first/last if_promic() calls can actually fail, so this is safe. >>=20 >> A second issue is a double free of bif. It's already freed by >> bridge_delete_member(). >>=20 >> PR: 200210 >> Differential Revision: https://reviews.freebsd.org/D2804 >> Reviewed by: philip (mentor) >>=20 >> Changes: >> head/sys/dev/virtio/network/if_vtnet.c >> head/sys/net/if_bridge.c >>=20 >=20 From owner-freebsd-net@freebsd.org Wed Jul 1 21:22:06 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A8A8992F61 for ; Wed, 1 Jul 2015 21:22:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77925269F for ; Wed, 1 Jul 2015 21:22:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t61LM63e080939 for ; Wed, 1 Jul 2015 21:22:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200210] adding vtnet to bridge results to kernel panic Date: Wed, 01 Jul 2015 21:22:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 21:22:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200210 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Wed Jul 1 21:21:15 UTC 2015 New revision: 285016 URL: https://svnweb.freebsd.org/changeset/base/285016 Log: MFC r284348: Fix panic when adding vtnet interfaces to a bridge vtnet interfaces are always in promiscuous mode (at least if the VIRTIO_NET_F_CTRL_RX feature is not negotiated with the host). if_promisc() on a vtnet interface returned ENOTSUP although it has IFF_PROMISC set. This confused the bridge code. Instead we now accept all enable/disable promiscuous commands (and always keep IFF_PROMISC set). There are also two issues with the if_bridge error handling. If if_promisc() fails it uses bridge_delete_member() to clean up. This tries to disable promiscuous mode on the interface. That runs into an assert, because promiscuous mode was never set in the first place. (That's the panic reported in PR 200210.) We can only unset promiscuous mode if the interface actually is promiscuous. This goes against the reference counting done by if_promisc(), but only the first/last if_promic() calls can actually fail, so this is safe. A second issue is a double free of bif. It's already freed by bridge_delete_member(). PR: 200210 Changes: _U stable/10/ stable/10/sys/dev/virtio/network/if_vtnet.c stable/10/sys/net/if_bridge.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 23:06:39 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98325992F84 for ; Wed, 1 Jul 2015 23:06:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84DED1119 for ; Wed, 1 Jul 2015 23:06:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t61N6dwS049860 for ; Wed, 1 Jul 2015 23:06:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Wed, 01 Jul 2015 23:06: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: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: david.keller@litchis.fr X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 23:06:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 --- Comment #22 from david.keller@litchis.fr --- (In reply to Sean Bruno from comment #21) Sure, I'running now a releng 10.1 kernel with dev/e1000/ from r284444. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 1 23:24:39 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2D8099223B for ; Wed, 1 Jul 2015 23:24:38 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6EC81C36 for ; Wed, 1 Jul 2015 23:24:38 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by oiax193 with SMTP id x193so43679483oia.2 for ; Wed, 01 Jul 2015 16:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=YAkHz1kfrSqvuHRJjES8kJG1qkiAgVJf7Zs7Sp+Y9ks=; b=wlr2tAz+HrFO1oFwFhe46Kpkrju743TDz+KEWvpP0TGvgRUJDziAjP57XOrhGQZhwF C3pCMYdMYxGf3JcqmVOl2DMWXDSqF4Idb7Hyn0kSBSgGz78TO686JIUHmkxbsEpZ3JLw 05oHKnW8diNRhjavqniHlZjfs39uYBh8bj/J5oVuZZTnfx0DoM5bQQfT9c18C20jkC5I madCR/P6CUTCm+rD2SShYxI96unb322IDLuabof2/ruyAN5VpVJpjnVixiwXEgjIKo3B UuVc43jWx1HX1XWfYMnfa6sKuxDzzzBGlZ7YAcJhQLZmZ3eroaoPaaXXKlHW/aabdWqz IMXw== MIME-Version: 1.0 X-Received: by 10.202.188.139 with SMTP id m133mr26235240oif.73.1435793077880; Wed, 01 Jul 2015 16:24:37 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.202.221.69 with HTTP; Wed, 1 Jul 2015 16:24:37 -0700 (PDT) In-Reply-To: <20150701151709.GB40789@neutralgood.org> References: <20150701002949.GA79350@neutralgood.org> <20150701151709.GB40789@neutralgood.org> Date: Wed, 1 Jul 2015 16:24:37 -0700 X-Google-Sender-Auth: 8HR-b3IdJlTypd6dvLGOx7thPl0 Message-ID: Subject: Re: rc settings for ipv6 in 9.3? From: Kevin Oberman To: kpneal@pobox.com Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 23:24:39 -0000 On Wed, Jul 1, 2015 at 8:17 AM, wrote: > On Tue, Jun 30, 2015 at 09:40:46PM -0700, Kevin Oberman wrote: > > On Tue, Jun 30, 2015 at 5:29 PM, <[1]kpneal@pobox.com> wrote: > > > > I just got a /56 block of ipv6 addresses today and I'm trying to > > figure > > out how to use it. > > Before I go rebooting my server I wanted to ask if the information > > in the > > handbook "[2]https://www.freebsd.org/doc/handbook/network-ipv6.htm= l > " > > is correct > > for 9.3-p14. > > I have a static address for my server and I've been given the stat= ic > > address of the router. So I should just be able to set (in my > > rc.conf) > > ifconfig_bce0_ipv6 and ipv6_defaultrouter, correct? > > Or do I really need these two lines from the handbook?: > > ifconfig_bce0_ipv6=3D"inet6 accept_rtadv" > > rtsold_enable=3D"YES" > > Also, can someone translate this statement from my provider for me= : > > "Note: [provider] is routing 2607:f758:2280::/56 to > > 2607:f758:2280::4/64" > > BTW, is the term "netmask" ever used in IPv6? I thought "prefixlen= " > > was > > the term and "netmask" was for v4 only? > > Thanks for any help! > > -- > > Kevin P. Neal=C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3= =82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 > > [3]http://www.pobox.com/~kpn/ > > > > No, If your system has a static address (and a server should have > one), > > you don't need SLAAC or Router Solicitation. You just need to set th= e > > address: > > =C3=82 ifconfig_bce0_ipv6=3D"inet6 2607:f758:2280::n/64" and > > ipv6_defaultrouter=3D"Router address". > > Excellent. Thanks! > > > I am unable to translate the statement from the provider with > > certainty. I am guessing that the /64 2607:f758:2280::/64=C3=82 is = used by > > their router with 2607:f758:2280::4 as the address on their > > router(s).=C3=82 The remainder of the /56 is yours but I could not = swear > to > > that. > > You will probably want more than one /64 for different purposes. Oth= er > > than externally accessible servers, you should put systems in a > > different /64 and spread them at random around that space if they ar= e > > statically addressed. (I don't recommend for or against statically > > addressing, though.) > > Wouldn't each /64 need a router, then? I've got most of the /56 to myself= , > but there's only one router address. So how can it work to use different > /64 subnets? > > Sorry, this is my first time playing with IPv6. I do appreciate your help= . > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "A pig's gotta fly." - Crimson Pig > Each interface on an IPv6 capable router will get one or more IPv6 addresses. IPv6 mandates that any interface on a host or router may have many addresses. You will need an IPv6 capable router to do this. So you put a different /64 on(for several reasons, you really should stick to using /64s until/unless you have multiple routers. Prefixes longer than /64 have a lot of problems, though they theoretically can work. In practice, they don't. Also, you will need to adjust any firewalls to allow NDP (Neighbor Discovery Protocol) which replaces ARP for IPv6. This is usually the default, but not always.In general, IPv6 will just work aslong as your system can find the gateway/router and the gateway/router can find your system. Since your addresses are public, you do need a stateful firewall. With IPv4 and NAT, you get one automatically as NAT won't work without one. IPv6 does not have such a requirement. Almost all IPv6 capable CPE routers include a stateful firewall, but a few don't and ISPs generally don't provide this capability unless they also provide the customer edge hardware. If you really want to learn about IPv6, you might want to look at "IPv6 for IPv4 Experts" available in PDF from The Internet Society at http://www.internetsociety.org/deploy360/resources/ebook-ipv6-for-ipv4-expe= rts-available-in-english-and-russian/. It's really a book at around 700 pages. (It came out after I retired and I'll have to admit that I have only skimmed it, but it looked good and it's free!) -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-net@freebsd.org Thu Jul 2 00:42:35 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C1D69920B9 for ; Thu, 2 Jul 2015 00:42:35 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-vn0-x229.google.com (mail-vn0-x229.google.com [IPv6:2607:f8b0:400c:c0f::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F09131BFA for ; Thu, 2 Jul 2015 00:42:34 +0000 (UTC) (envelope-from lichray@gmail.com) Received: by vnbg1 with SMTP id g1so8569738vnb.7 for ; Wed, 01 Jul 2015 17:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HvfV5xgjS60UHyNjXYBHM5HgfehQtwYbXkxqYMwRzAk=; b=L9rG+SEyONTwFZCzy3fkDnOtKPAlMEQwypjt4uVLaAlpK5kwN7EewVOo8CIHMrzrB6 uTZ0l9FvrBadOQeUKGifiaY/EWTXl1g7lWY5iWtRlHiI+yVVe00pKEiJKRqik7U3mrf/ ksPjJQCq+7YEZt7sc465CrNxGYIObNjVvhVH3K9qSTNjtK/2x5qVcifTttgjIQ55CBuw L2Hc+63eUH+VX8LJq4K8CeT4Leqq4RcWRAza1Oq7u17nwCGtvrhBbzV3e/6Vgdhxq+t/ 3ZZOe9LQKlnae3ukmBUJy78EfPmea7lpEil4xiLcTPDikjaTlM1oBAUVIMWewaFnO4gM e7fw== MIME-Version: 1.0 X-Received: by 10.52.52.133 with SMTP id t5mr28450012vdo.56.1435797753767; Wed, 01 Jul 2015 17:42:33 -0700 (PDT) Received: by 10.31.99.7 with HTTP; Wed, 1 Jul 2015 17:42:33 -0700 (PDT) Date: Wed, 1 Jul 2015 19:42:33 -0500 Message-ID: Subject: strongswan ikev2 slow on FreeBSD (DigitalOcean) From: Zhihao Yuan To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 00:42:35 -0000 It might be hypervisor's problem because they use KVM, but here are some information I have: DO smallest instance. > uname -a FreeBSD megashadow2 10.2-PRERELEASE FreeBSD 10.2-PRERELEASE #3 r284996: Wed Jul 1 17:58:13 UTC 2015 freebsd@megashadow2:/usr/obj/usr/src/sys/DOIPSEC amd64 cryptotest w/wo -p -- 2Gb/s, 400Mb/s, aesni, cryptodev present. strongswan ipsec.conf: ike=aes256-sha1-modp1024! esp=aes256-sha1! NAT done through one simple pf rule. natstat -inw1 shows no error, no drop, just very small packets (10K-30K) even for large data. Top two functions in pmcstat -TS instructions -w1 are kernel rijndaelEncrypt and sha1_step are the top two consuming function, 10%-20% for each. TSO, IPSEC_DEBUG do not matter. Boost performance is same as Ubuntu 15 (300kb/s in ssh, downloading to my laptop), but most of the time is < 100kb/s, and overall speed is 50% slower. Uploading is good. -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://bit.ly/blog4bsd From owner-freebsd-net@freebsd.org Thu Jul 2 04:13:46 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72036992E8C for ; Thu, 2 Jul 2015 04:13:46 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CDB51E3B for ; Thu, 2 Jul 2015 04:13:45 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-238-82.lns20.per1.internode.on.net [121.45.238.82]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t624DRWn002896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 1 Jul 2015 21:13:32 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <5594BA61.2070501@freebsd.org> Date: Thu, 02 Jul 2015 12:13:21 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Luigi Rizzo , Oliver Humpage CC: "freebsd-net@freebsd.org" Subject: Re: IPFW divert and suricata References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 04:13:46 -0000 On 7/1/15 10:31 PM, Luigi Rizzo wrote: > On Wed, Jul 1, 2015 at 3:15 PM, Oliver Humpage > wrote: > >> Hello, >> >> I hope this is a good list to post this on, I have a feeling the solution >> is somewhere obscure in the networking layer. >> >> I've set up an IPS system, using: >> >> * FreeBSD 10.1 (guest OS, plenty of RAM/CPU) >> * ESXi 5.5 (host OS, using Intel X520 10Gb cards. Not overloaded, all >> graphs show it's got plenty of RAM/CPU spare at all times) >> * vmxnet3 drivers >> * ipfw (very small ruleset, basically just a divert rule) >> * suricata, in ipfw divert mode >> >> I'm having a couple of major issues. >> >> The first is that every so often, even with relatively little traffic, the >> load on the box suddenly spikes and pings to a neighbouring router (via the >> divert rule) go from <1ms to >300ms. Generally this resolves itself after a >> few minutes, although last night it went on for an hour until I restarted >> ipfw and suricata. >> > ​typical problems with divert sockets are > 1. if the interface has offloads (checksums, tso, etc.) > ​ ​ > enabled, packets may be > moved up and down with invalid checksums resulting in > all sort of odd behaviours > 2. likewise if there are huge segments (virtual nics often > pass up and down up to 64k in one shot) the divert socket > is unable to handle them and either truncates or drops > > disabling all accelerations and setting the mtu to 1500 or so > usually fixes the above two​. > > 3. divert probably loses important context on the packets > (e.g. incoming or outgoing interface) so when traffic is > reinjected bad things occur actually this is one that it tries to keep. the interface name is in the sockaddr (ipv4) hidden at the end. If you use the same sockaddr that the packet arrived with, you will pass the interface back again.. (actually in the man page I think). > 4. performancewise, moving traffic back and forth to userspace > is a bad idea. > > For the latter two, you might be better off using netmap > on vmxnet3 (in emulated mode, also disabling offloads), > and if i remember well a > couple of years ago there were > efforts to use > ​suricata on top of netmap. > Worst case, you can just use the netmap-enabled libpcap. > ​ > cheers > luigi > > The second is that if I do a large download, eg a FreeBSD ISO, the download >> usually hangs somewhere between 5MB and 100MB through. I can see traffic >> trying to get through on neighbouring routers, it's just the interface with >> the divert to suricata where they disappear into a black hole. The >> connection speed is around 50Mb, btw. >> >> Now it's possible it's suricata being weird, but there's nothing untoward >> in its events and stats logs, and if I replay the traffic from a pcap file >> then suricata processes everything fine (a pcap taken over a 90s period >> during a slowdown is processed in under a second). So my guess is that if >> suricata takes slightly longer than normal to process a packet, something >> in the networking or ipfw divert system is tripping itself up. Maybe a >> queue is filling up? >> >> I've set net.inet.ip.fw.dyn_buckets=16384, and done an ipfw flush, but >> net.inet.ip.fw.curr_dyn_buckets is stubbornly sticking at 256: have I done >> something wrong? Other tunables I've set are: >> >> kern.random.sys.harvest.ethernet=0 >> kern.random.sys.harvest.point_to_point=0 >> kern.random.sys.harvest.interrupt=0 >> kern.ipc.soacceptqueue=1024 >> >> Can anyone suggest either tests to see what might be going wrong, or >> tunables to help things run smoother? Both myself and a colleague have used >> FreeBSD for over 15 years, and never quite seen anything like it. >> >> Many thanks, >> >> Oliver. >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > > From owner-freebsd-net@freebsd.org Thu Jul 2 05:40:32 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74D5B992AE7 for ; Thu, 2 Jul 2015 05:40:32 +0000 (UTC) (envelope-from vrock28@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5702A2B12 for ; Thu, 2 Jul 2015 05:40:32 +0000 (UTC) (envelope-from vrock28@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 56423992AE6; Thu, 2 Jul 2015 05:40:32 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BC70992AE5 for ; Thu, 2 Jul 2015 05:40:32 +0000 (UTC) (envelope-from vrock28@gmail.com) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CEE722B11 for ; Thu, 2 Jul 2015 05:40:31 +0000 (UTC) (envelope-from vrock28@gmail.com) Received: by wgjx7 with SMTP id x7so53212029wgj.2 for ; Wed, 01 Jul 2015 22:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=uwi8kNxxeiUY3wwF4xbNGkhnFEr8ormj0k2zJbg1VMI=; b=skrqQ96FQM/2W3nwlUWHS85/pG+UY2mtEgZhq07QDadX6X27G33G758HAxzCEPBJHY Qye/zZTs8Vm9nzjofz0d+99ReGbAvWMc1pW41SczLNKhkAUmJ2QqXeXjmv18bWvS/bu/ EK4i12fjB1X6+YiyrxtO8i1pQjq5MUJeym3ZENo7yx2SQvZ57MOFSaWE95iw7GcLIyII OZWsB56UJaoApEjKiesCX3AJiiUsfV0OxuEkhZ+yp8SDtzK4pxqyTTK5JAE8xEJK8v9E cIqOejMpqvHKzDb+ja00dcTttm2svIazVHd4Srty0Dew0vswVCeQ9ECiotVoOqmHslPT 7oAQ== X-Received: by 10.194.81.67 with SMTP id y3mr54087202wjx.7.1435815630196; Wed, 01 Jul 2015 22:40:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.85.48 with HTTP; Wed, 1 Jul 2015 22:40:10 -0700 (PDT) In-Reply-To: References: From: Rakshith Venkatesh Date: Thu, 2 Jul 2015 11:10:10 +0530 Message-ID: Subject: Fwd: Integrating OpenSSL app with NetMap [Help needed] To: net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 05:40:32 -0000 Hi , As we all know, OpenSSL community moved away from the kernel implementation to a user-space one not so long ago. Now trying to port the latest OpenSSL code into FreeBSD kernel is one of the items i was looking at and after having exhaustive rounds of discussion with relavent stake-holders, we decided not to pursue the path of porting the whole user-space OpenSSL code into kernel. Now we have decided to retain openSSL library in user-space but i wanted to integrate NetMAP API's so that known system overheads such as context switches etc are eliminated and we could get good performance. Now the workflow that i have in mind is that the encrypted packet gets pulled in from the MMAP'd region and OpenSSL code in user-space goes about doing the de-cryption part. But before that, i wanted to know which library can be used to actually do the TCP/IP packet processing in user-space. The next part is how to push the decrypted packets back to kernel for services in kernel to consume. Can NetMap API's push the decrypted packets down to lets say another MMAP'd region so that kernel services/components can act on the de-crypted packet to proceed with execution further? Your inputs and Giudance would be really helpful. Thanks! From owner-freebsd-net@freebsd.org Thu Jul 2 06:12:37 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 167609920F9 for ; Thu, 2 Jul 2015 06:12:37 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C71A4196E for ; Thu, 2 Jul 2015 06:12:36 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by ykdv136 with SMTP id v136so59902716ykd.0 for ; Wed, 01 Jul 2015 23:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=BZ3CKIcnL/woSwhKg0l9whzHxHgUlGPnd19/BhSNJ1E=; b=u9MmeHld8pIm5UY89QKeDdFvqlJZGOXH6yzq/wy+GqLqlAXnTZ7i4xQgFg/DipyN+c O9ZytEP7c2RyT6CaRmzrm1AA5S808I3ZMYi3BOpsdZ2NFOg/7do0gy4L4xqmDr/LMILE ldzbdrpC38OW1YjWI2KmQ/qt8vEwae/s3TicZLwVhpcS0NhHUIk40LMRmnj0J1MpICRS mbpG75G+6SvfpYfnbMjsjJXWhEjzEsGmvBgIQYYdd/GI4E88weAc1Rc4f5M6+IOJLUd8 gLveEdV2P05rfG97vDtzSF1AvfUY9gEXNPKKD09M3N5NOOTgl9UdhaZnQRHXc4tBBdMG lrLw== MIME-Version: 1.0 X-Received: by 10.129.79.4 with SMTP id d4mr28976480ywb.15.1435817555877; Wed, 01 Jul 2015 23:12:35 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.129.83.139 with HTTP; Wed, 1 Jul 2015 23:12:35 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Jul 2015 08:12:35 +0200 X-Google-Sender-Auth: eC-oi4Mfb-Pndgk0Ln_lVaKpHx8 Message-ID: Subject: Re: strongswan ikev2 slow on FreeBSD (DigitalOcean) From: =?UTF-8?Q?Ermal_Lu=C3=A7i?= To: Zhihao Yuan Cc: freebsd-net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 06:12:37 -0000 AESNI is not hooked yet to the IPsec stack. On Thu, Jul 2, 2015 at 2:42 AM, Zhihao Yuan wrote: > It might be hypervisor's problem because they use KVM, but here are > some information I have: > > DO smallest instance. > > > uname -a > FreeBSD megashadow2 10.2-PRERELEASE FreeBSD 10.2-PRERELEASE #3 > r284996: Wed Jul 1 17:58:13 UTC 2015 > freebsd@megashadow2:/usr/obj/usr/src/sys/DOIPSEC amd64 > > cryptotest w/wo -p -- 2Gb/s, 400Mb/s, aesni, cryptodev present. > > strongswan ipsec.conf: > > ike=aes256-sha1-modp1024! > esp=aes256-sha1! > > NAT done through one simple pf rule. > > natstat -inw1 shows no error, no drop, just very small packets (10K-30K) > even > for large data. > > Top two functions in pmcstat -TS instructions -w1 are kernel > rijndaelEncrypt and sha1_step are the top two consuming function, > 10%-20% for each. > > TSO, IPSEC_DEBUG do not matter. > > Boost performance is same as Ubuntu 15 (300kb/s in ssh, downloading to > my laptop), but most of the time is < 100kb/s, and overall speed is > 50% slower. Uploading is good. > > -- > Zhihao Yuan, ID lichray > The best way to predict the future is to invent it. > ___________________________________________________ > 4BSD -- http://bit.ly/blog4bsd > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > -- > Ermal > From owner-freebsd-net@freebsd.org Thu Jul 2 13:34:39 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 775CD9933F6 for ; Thu, 2 Jul 2015 13:34:39 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 044681E09; Thu, 2 Jul 2015 13:34:39 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.43.83]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MP1PX-1Z5PiL2hEN-006NfL; Thu, 02 Jul 2015 15:09:50 +0200 Message-ID: <55953806.6070200@gmx.com> Date: Thu, 02 Jul 2015 16:09:26 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Kristof Provost CC: freebsd-net@FreeBSD.org Subject: Re: [Bug 200210] adding vtnet to bridge results to kernel panic References: <55941147.7040601@gmx.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:zYQWQnMq7Gggb3x+8Z8X6iVBcQWUfwE5t3IklHNc+tpI4kmmfa0 lmF/4yGQZm2Wcrpa6BrAAsV8wEN84HbrKJWAgWQhOD3AJJsDyvDSd4MuGVcAPIE79+roNKs ZvV9fysniJpXGvWwLq6UUgPkVXqi9HgW+JzVv8CjfhzI9nNXuxI3COdTbWnjSXOnPzJyZ/p 1EXdiDycxDrCmLOVh4Q4w== X-UI-Out-Filterresults: notjunk:1;V01:K0:JXaLCf8uVLo=:vlL1TarRH6voWbUg0hPHtZ jsLTh4R9aZ2dZK0/QO54RO60gjoKIxhJuw+LMbIpag6KaFKaUxjLNti357fQIqYwrG5JTLPkL 7ITaIdOCldy7yxLXJr7PaYT9vaHnU9jyDbylbbSMuOFLlBZa5t3CqNifZIDEOcnkkJaWGvvgv kf6Ynz6WUA0CkeTNiO2k2ErknhN1BGtH2JJii5JwZiDN81z7K0ewWHE/CSjUz6Il5RXRS2Wky cV4HlmDlooJu6+pp8k7sc3Sroy1HfxfkzqCtBKweIbKxrsx99uiZZE+QkbYbK3FURNXgXf5t/ FG4tFD7nCJhJkiC9c5Eq3NWHRKVP+iO9/KePfwSWBSd1ZnzEf1uBB8Sa3we7muWmkoa06wTko Oit7QGFGlFQGr/pIo6UEotH4YLUlNPPQ3GqQ2h93+cO6JgHyi7g+UfjE/TRGP0VdXe+m6kpit K00M6aRTvweEM1iS5usOORUcPa98ur/YZgHjNxBPpFNgZIUWOn/i5M4/Rl/jNJcBrMkrrBsOr 3j7dzHl5GfEsEGmRpvXDr73R0s5xZ/1xVi0Ia3isk1NKTL3h6glbal7h+2OZNTo+nps9DLo2M DYKLhs5yr9IYlkAPXIkzg13E/L8kOx6gaFsj0arv3C5Hm4DiIFTyDZdheKd0xZa8f+OZd9td2 bqodnSNLUISEXS+uFQjQEysP6kGz5EUxIUc1up0Cwo5RPRtNbS4LDKJZ/7n2dqLj3DQM= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 13:34:39 -0000 Thank u! On 07/02/15 00:22, Kristof Provost wrote: > Done in r285016. > > Regards, > Kristof > >> On 01 Jul 2015, at 18:11, Nikos Vassiliadis wrote: >> >> Hi Kristof, >> >> Thanks for fixing this! Could you MFC the fix? >> >> On 06/13/15 22:39, bugzilla-noreply@freebsd.org wrote: >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200210 >>> >>> --- Comment #1 from commit-hook@freebsd.org --- >>> A commit references this bug: >>> >>> Author: kp >>> Date: Sat Jun 13 19:39:22 UTC 2015 >>> New revision: 284348 >>> URL: https://svnweb.freebsd.org/changeset/base/284348 >>> >>> Log: >>> Fix panic when adding vtnet interfaces to a bridge >>> >>> vtnet interfaces are always in promiscuous mode (at least if the >>> VIRTIO_NET_F_CTRL_RX feature is not negotiated with the host). if_promisc() >>> on >>> a vtnet interface returned ENOTSUP although it has IFF_PROMISC set. This >>> confused the bridge code. Instead we now accept all enable/disable >>> promiscuous >>> commands (and always keep IFF_PROMISC set). >>> >>> There are also two issues with the if_bridge error handling. >>> >>> If if_promisc() fails it uses bridge_delete_member() to clean up. This tries >>> to >>> disable promiscuous mode on the interface. That runs into an assert, because >>> promiscuous mode was never set in the first place. (That's the panic reported >>> in >>> PR 200210.) >>> We can only unset promiscuous mode if the interface actually is promiscuous. >>> This goes against the reference counting done by if_promisc(), but only the >>> first/last if_promic() calls can actually fail, so this is safe. >>> >>> A second issue is a double free of bif. It's already freed by >>> bridge_delete_member(). >>> >>> PR: 200210 >>> Differential Revision: https://reviews.freebsd.org/D2804 >>> Reviewed by: philip (mentor) >>> >>> Changes: >>> head/sys/dev/virtio/network/if_vtnet.c >>> head/sys/net/if_bridge.c >>> >> > From owner-freebsd-net@freebsd.org Thu Jul 2 20:11:47 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85B2A993F43 for ; Thu, 2 Jul 2015 20:11:47 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E553214F; Thu, 2 Jul 2015 20:11:47 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [IPv6:2a02:1811:2419:4e02:c060:1bf7:9ab0:74fe] (unknown [IPv6:2a02:1811:2419:4e02:c060:1bf7:9ab0:74fe]) by venus.codepro.be (Postfix) with ESMTPSA id 826ED944D; Thu, 2 Jul 2015 22:11:44 +0200 (CEST) From: Kristof Provost Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: radvd issue on CURRENT Date: Thu, 2 Jul 2015 22:12:18 +0200 Message-Id: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> Cc: ae@FreeBSD.org To: freebsd-net@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) X-Mailer: Apple Mail (2.2102) X-Mailman-Approved-At: Thu, 02 Jul 2015 21:19:35 +0000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 20:11:47 -0000 Hi, In the process of setting up my TPLink device (Thanks Allan!) I ran into = problems getting radvd to work. It fails while processing the IPV6_PKTINFO options in ip6_setpktopt(). = Specifically, it fails one of the extra checks added in = r271396(https://svnweb.freebsd.org/base?view=3Drevision&revision=3D271396)= . The check 'ia =3D in6ifa_ifpwithaddr(ifp, &pktinfo->ipi6_addr);=E2=80=99 = (i.e. does the address exist on the interface?) fails, even though radvd = sets a correct address. The cause of that is that radvd picks a link-local address. Those = don=E2=80=99t match because the kernel keeps a =E2=80=98zoneid=E2=80=99 = in the link-local addresses. See for example in6_setscope(). That turns 'fe80::304d:b0ff:fe2e:9b88=E2=80=99 in userspace into = 'fe80:13::304d:b0ff:fe2e:9b88=E2=80=99 in the kernel, so the addresses = appear to be different. I=E2=80=99m a little uncertain about what the best fix for that would = be. I could mask out the =E2=80=98zoneid=E2=80=99 for link-local = addresses in in6fa_ifpwithaddr(), but that might break other things. Regards, Kristof= From owner-freebsd-net@freebsd.org Fri Jul 3 03:23:10 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C8D79944F6 for ; Fri, 3 Jul 2015 03:23:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 195EA161A for ; Fri, 3 Jul 2015 03:23:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t633N9vJ014708 for ; Fri, 3 Jul 2015 03:23:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201144] [ixgbe] [xl] 82599es-based card Supermicro AOC-STGN-i2S is not working Date: Fri, 03 Jul 2015 03:23:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 03:23:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201144 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org Keywords| |patch -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Jul 3 03:31:34 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09C3A9946CF for ; Fri, 3 Jul 2015 03:31:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB25A1BE5 for ; Fri, 3 Jul 2015 03:31:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t633VXdJ027587 for ; Fri, 3 Jul 2015 03:31:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200860] Failed do-not-fragment ping when using PPPoE over FTTX connection Date: Fri, 03 Jul 2015 03:31:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 03:31:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200860 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Jul 3 04:35:31 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 534DE994FF2 for ; Fri, 3 Jul 2015 04:35:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 406E31875 for ; Fri, 3 Jul 2015 04:35:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t634ZV90051378 for ; Fri, 3 Jul 2015 04:35:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 175864] [re] Intel MB D510MO, onboard ethernet not working after update to 9.1 [regression] Date: Fri, 03 Jul 2015 04:35:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yongari@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 04:35:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=175864 --- Comment #4 from Pyun YongHyeon --- It seems the ethernet controller is RealTek RTL8168D and re(4) should support that. If recent FreeBSD releases still does not work for the controller, please let us know. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Jul 3 05:10:17 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 777ED99367A for ; Fri, 3 Jul 2015 05:10:17 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46CAE22B6; Fri, 3 Jul 2015 05:10:17 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by paceq1 with SMTP id eq1so51307408pac.3; Thu, 02 Jul 2015 22:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=9uLSHx5MbmItAPAYHydGvFo98CsB17zwDDnpyZk3X8s=; b=bKbXbKD2OlZac5SFHdFq/gsB59zomfmvrwPgp/KVDt8utccLNP83sbj7SahR9rKy00 4saJlN+0vgWcCAribFjBLuTKOG40DfbFQA1wQ1khQiIWX/LNgF66ieiMJdsbrhfjj0OT P7zE1OVdInp6V57hMv1Gn2BBv9nRpbe2Id/hkCQDapVJK3EY8QIHARkD6RCw6eculdR7 6DIMakMx5aa8LWuObjHmv0xh/YjWuKzSXqr80BN5Y4ttIzYKeoILr+c5AiKIJvLnxozA a9DWOlOe8Rujojf4mI11/ERlyjNPWBxYldbqCVP2LTA4ApLtr4sNrYaP2Aq1JPqrFXBb qbuQ== X-Received: by 10.68.246.1 with SMTP id xs1mr73125156pbc.53.1435900216680; Thu, 02 Jul 2015 22:10:16 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01::1? (2001-44b8-31ae-7b01-0000-0000-0000-0001.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01::1]) by mx.google.com with ESMTPSA id p1sm7497950pdb.3.2015.07.02.22.10.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2015 22:10:15 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: radvd issue on CURRENT References: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> To: Kristof Provost , freebsd-net@FreeBSD.org Cc: ae@FreeBSD.org From: Kubilay Kocak Message-ID: <5596192F.2050802@FreeBSD.org> Date: Fri, 3 Jul 2015 15:10:07 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 05:10:17 -0000 On 3/07/2015 6:12 AM, Kristof Provost wrote: > Hi, > > In the process of setting up my TPLink device (Thanks Allan!) I ran > into problems getting radvd to work. > Just for clarity, what TP-Link device? pciconf -lvc output would be handy (for me, possibly others and google) I'm also interested because I have a TP-Link T8E PCI NIC here and a TP-Link Archer D9 router ./koobs From owner-freebsd-net@freebsd.org Fri Jul 3 07:32:25 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E8D89941F4 for ; Fri, 3 Jul 2015 07:32:25 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0123.outbound.protection.outlook.com [207.46.100.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 411B7265D for ; Fri, 3 Jul 2015 07:32:24 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) by BY1PR03MB1433.namprd03.prod.outlook.com (10.162.127.151) with Microsoft SMTP Server (TLS) id 15.1.201.16; Fri, 3 Jul 2015 06:57:21 +0000 Received: from BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) by BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) with mapi id 15.01.0201.000; Fri, 3 Jul 2015 06:57:22 +0000 From: Wei Hu To: Warren Block , "freebsd-net@FreeBSD.org" Subject: RE: Same NIC name to MAC mapping on FreeBSD Thread-Topic: Same NIC name to MAC mapping on FreeBSD Thread-Index: AQHQtAZLiDAz9QSeSiWXpzUhT/R8GJ3JUdBA Date: Fri, 3 Jul 2015 06:57:21 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: wonkity.com; dkim=none (message not signed) header.d=none; x-originating-ip: [167.220.232.8] x-microsoft-exchange-diagnostics: 1; BY1PR03MB1433; 5:GpJ/j/UJfienBN9cXkH9fCDpBnpxkQEZALPvJ0wxvZ2BAIdPOIdRtd/874zNLzbQDlNG5Z1thJ98rSLlBl+MMRnxQdlrw2xQDasyVuAA5W7/UafvPjAaXNrGxSPCSgZlL9OSaulFlDMh+lg4+TanKg==; 24:RLInQ/0ExqhJZie85yYMNTsmcOJdVzKMtFe+k/IjqcX1WQQ1N6lIbv3/8wNZSqkKDHMirrR1fcVm0gFph9Sdd6O5ectHcj/QXTc4DjhLzxM=; 20:oTn6QmUI9CTytdthY8zeyZ4V+sNefYSzw1d6zD9SWysmwaKkQ+rdt1jAMdxzvt9j1L/41eY+H+UbTG2hofRbHQ== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1433; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY1PR03MB1433; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1433; x-forefront-prvs: 0626C21B10 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(24454002)(51704005)(377454003)(50986999)(54356999)(2656002)(87936001)(76176999)(2950100001)(189998001)(15975445007)(86612001)(77096005)(102836002)(33656002)(5001960100002)(107886002)(2900100001)(66066001)(76576001)(40100003)(122556002)(5003600100002)(46102003)(5001770100001)(92566002)(2501003)(86362001)(106116001)(5002640100001)(77156002)(62966003)(99286002)(74316001)(19580405001)(19580395003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1433; H:BY1PR03MB1434.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jul 2015 06:57:21.7051 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1433 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 07:32:25 -0000 > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > net@freebsd.org] On Behalf Of Warren Block > Sent: Wednesday, July 1, 2015 10:01 PM > To: freebsd-net@FreeBSD.org > Subject: Re: Same NIC name to MAC mapping on FreeBSD >=20 > Gary Palmer gpalmer at freebsd.org wrote: > > On Wed, Jul 01, 2015 at 11:42:43AM +0800, Julian Elischer wrote: > > > I vaguely remember being able to do this some years ago but I can't > > > remember the details. >=20 > > I believe they do, yes. In fact I seem to remember a discussion on > > this in the last year and someone shared either a devd or an rc.d > > script to ensure static NIC names, however searching the web archvies > > I couldn't find it >=20 > https://lists.freebsd.org/pipermail/freebsd-net/2014- > December/040533.html >=20 > Be sure to read all the way to the end, some things that appeared to work > initially... did not. >=20 This seems to be a good solution for now. Thanks so much! Wei From owner-freebsd-net@freebsd.org Fri Jul 3 07:59:48 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09EFE99461E for ; Fri, 3 Jul 2015 07:59:48 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:1900:2254:206a::19:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.freebsd.org", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7DB42D77; Fri, 3 Jul 2015 07:59:47 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from butcher-nb.yandex.net (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id BB7FE3A66; Fri, 3 Jul 2015 07:59:46 +0000 (UTC) (envelope-from ae@FreeBSD.org) Message-ID: <55964040.4050809@FreeBSD.org> Date: Fri, 03 Jul 2015 10:56:48 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Kristof Provost , koobs@FreeBSD.org CC: freebsd-net@FreeBSD.org Subject: Re: radvd issue on CURRENT References: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> <5596192F.2050802@FreeBSD.org> <4BA4AF18-6CC7-48A9-8035-22B3E209257A@FreeBSD.org> In-Reply-To: <4BA4AF18-6CC7-48A9-8035-22B3E209257A@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MKL5sLqn29imwKfkiMEWksS4wa9jt8Wt2" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 07:59:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MKL5sLqn29imwKfkiMEWksS4wa9jt8Wt2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03.07.2015 09:31, Kristof Provost wrote: Hi Kristof, can you test this patch instead: Index: ip6_output.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- ip6_output.c (revision 284791) +++ ip6_output.c (working copy) @@ -2189,12 +2189,13 @@ ip6_getpcbopt(struct ip6_pktopts *pktopt, int opt= n switch (optname) { case IPV6_PKTINFO: - if (pktopt && pktopt->ip6po_pktinfo) - optdata =3D (void *)pktopt->ip6po_pktinfo; - else { + optdata =3D (void *)&null_pktinfo; + if (pktopt && pktopt->ip6po_pktinfo) { + bcopy(pktopt->ip6po_pktinfo, &null_pktinfo, sizeof(null_pktinfo)); + in6_clearscope(&null_pktinfo.ipi6_addr); + } else { /* XXX: we don't have to do this every time... */ bzero(&null_pktinfo, sizeof(null_pktinfo)); - optdata =3D (void *)&null_pktinfo; } optdatalen =3D sizeof(struct in6_pktinfo); break; @@ -2566,6 +2567,7 @@ ip6_setpktopt(int optname, u_char *buf, int len, s !IN6_IS_ADDR_UNSPECIFIED(&pktinfo->ipi6_addr)) { struct in6_ifaddr *ia; + in6_setscope(&pktinfo->ipi6_addr, ifp); ia =3D in6ifa_ifpwithaddr(ifp, &pktinfo->ipi6_addr); if (ia =3D=3D NULL) return (EADDRNOTAVAIL); --=20 WBR, Andrey V. Elsukov --MKL5sLqn29imwKfkiMEWksS4wa9jt8Wt2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVlkBBAAoJEAHF6gQQyKF6u74IAIEzgv6275Af/00fWuvi8C1p 1cBYIrcq0EkxFUyFIhad/WwLk+jPu2mXqchxCEUggBm649W9dfWZnz2ZEiGrKt0E pGZRUJts2vFKguJutqZF5qWnuCXhrdOFm/4+kpvk5By8NP0rFEQ9dB6iAPbSIG/0 xMuViCzVht0tcQiNPB4dfSHxahfRc3YoE0OUxFRVpvScaIBykxsIWKrqUPLEya1r Vvi6Xe4RRDC0RHNEg/ffIlWWkAWaZ2gUuAxi+T1sg8PkgGUgpXu78g5VsmpmLtIz chV+67wcAIWVQ38FqGHcwV9bQvUi669jQKXnN7JVsYdfF3TXhwj3hWZCDwax2E4= =WhGz -----END PGP SIGNATURE----- --MKL5sLqn29imwKfkiMEWksS4wa9jt8Wt2-- From owner-freebsd-net@freebsd.org Fri Jul 3 09:10:29 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22F52993E15 for ; Fri, 3 Jul 2015 09:10:29 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE9E0118D; Fri, 3 Jul 2015 09:10:28 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [IPv6:2001:470:d39b:1f80:94b9:93c6:fed5:7b3] (unknown [IPv6:2001:470:d39b:1f80:94b9:93c6:fed5:7b3]) by venus.codepro.be (Postfix) with ESMTPSA id E52809DAC; Fri, 3 Jul 2015 11:10:23 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: radvd issue on CURRENT From: Kristof Provost In-Reply-To: <55964040.4050809@FreeBSD.org> Date: Fri, 3 Jul 2015 11:10:25 +0200 Cc: koobs@FreeBSD.org, freebsd-net@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <5FBA0180-76F6-43A3-A6C7-860E74FB4682@FreeBSD.org> References: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> <5596192F.2050802@FreeBSD.org> <4BA4AF18-6CC7-48A9-8035-22B3E209257A@FreeBSD.org> <55964040.4050809@FreeBSD.org> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 09:10:29 -0000 > On 03 Jul 2015, at 09:56, Andrey V. Elsukov wrote: > can you test this patch instead: I=E2=80=99ll test it when I get home this evening. At first glance that looks like it=E2=80=99d fix things too. > Index: ip6_output.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- ip6_output.c (revision 284791) > +++ ip6_output.c (working copy) > @@ -2566,6 +2567,7 @@ ip6_setpktopt(int optname, u_char *buf, int len, = s > !IN6_IS_ADDR_UNSPECIFIED(&pktinfo->ipi6_addr)) { > struct in6_ifaddr *ia; >=20 > + in6_setscope(&pktinfo->ipi6_addr, ifp); That=E2=80=99ll have to be in6_setscope(&pktinfo->ipi6_addr, ifp, NULL); =E2=80=94=20 Kristof= From owner-freebsd-net@freebsd.org Fri Jul 3 06:31:20 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAB6C9927C9 for ; Fri, 3 Jul 2015 06:31:20 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8573B2CB1; Fri, 3 Jul 2015 06:31:20 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [IPv6:2a02:1811:2419:4e02:3d64:dd41:15e2:5934] (unknown [IPv6:2a02:1811:2419:4e02:3d64:dd41:15e2:5934]) by venus.codepro.be (Postfix) with ESMTPSA id 8C4C69A86; Fri, 3 Jul 2015 08:31:16 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: radvd issue on CURRENT From: Kristof Provost In-Reply-To: <5596192F.2050802@FreeBSD.org> Date: Fri, 3 Jul 2015 08:31:52 +0200 Cc: freebsd-net@FreeBSD.org, ae@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <4BA4AF18-6CC7-48A9-8035-22B3E209257A@FreeBSD.org> References: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> <5596192F.2050802@FreeBSD.org> To: koobs@FreeBSD.org X-Mailer: Apple Mail (2.2102) X-Mailman-Approved-At: Fri, 03 Jul 2015 11:33:15 +0000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 06:31:20 -0000 > On 03 Jul 2015, at 07:10, Kubilay Kocak wrote: >=20 > On 3/07/2015 6:12 AM, Kristof Provost wrote: >> Hi, >>=20 >> In the process of setting up my TPLink device (Thanks Allan!) I ran >> into problems getting radvd to work. >>=20 >=20 > Just for clarity, what TP-Link device? It=E2=80=99s a TL-WDR3600. > pciconf -lvc output would be handy (for me, possibly others and = google) # pciconf -lvc ath1@pci0:0:0:0: class=3D0x028000 card=3D0xa120168c = chip=3D0x0033168c rev=3D0x01 hdr=3D0x00 class =3D network cap 01[40] =3D powerspec 3 supports D0 D1 D3 current D0 cap 05[50] =3D MSI supports 4 messages, 64 bit, vector masks cap 10[70] =3D PCI-Express 2 endpoint max data 128(128) link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected ecap 0002[140] =3D VC 1 max VC0 ecap 0003[300] =3D Serial 1 0000000000000000 It=E2=80=99s not a hardware issue though, it=E2=80=99s a bug in the ip6 = stack. This fixes it for me, but I=E2=80=99m not sure it=E2=80=99s the best = approach. I=E2=80=99ll look at it some more over the weekend to see if I can come = up with something better: diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index d667903..bcca2fa 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -2565,10 +2565,30 @@ ip6_setpktopt(int optname, u_char *buf, int len, = struct ip6_pktopts *opt, if (ifp !=3D NULL && !IN6_IS_ADDR_UNSPECIFIED(&pktinfo->ipi6_addr)) { struct in6_ifaddr *ia; - - ia =3D in6ifa_ifpwithaddr(ifp, = &pktinfo->ipi6_addr); - if (ia =3D=3D NULL) + struct in6_addr in6; + + bcopy(&pktinfo->ipi6_addr, &in6, sizeof(in6)); + in6_setscope(&in6, ifp, NULL); + + ia =3D in6ifa_ifpwithaddr(ifp, &in6); + if (ia =3D=3D NULL) { =E2=80=94=20 Kristof= From owner-freebsd-net@freebsd.org Fri Jul 3 13:34:55 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 248199941F0 for ; Fri, 3 Jul 2015 13:34:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11368128B for ; Fri, 3 Jul 2015 13:34:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t63DYs6Y054100 for ; Fri, 3 Jul 2015 13:34:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201144] [ixgbe] [xl] 82599es-based card Supermicro AOC-STGN-i2S is not working Date: Fri, 03 Jul 2015 13:34: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: 11.0-CURRENT X-Bugzilla-Keywords: IntelNetworking, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 13:34:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201144 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |IntelNetworking CC| |erj@freebsd.org, | |sbruno@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Jul 3 15:08:43 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2CCF99353D for ; Fri, 3 Jul 2015 15:08:43 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA792A60; Fri, 3 Jul 2015 15:08:43 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [IPv6:2a02:1811:2419:4e02:cd1b:51ea:e540:5b95] (unknown [IPv6:2a02:1811:2419:4e02:cd1b:51ea:e540:5b95]) by venus.codepro.be (Postfix) with ESMTPSA id 88E338451; Fri, 3 Jul 2015 17:08:40 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: radvd issue on CURRENT From: Kristof Provost In-Reply-To: <5FBA0180-76F6-43A3-A6C7-860E74FB4682@FreeBSD.org> Date: Fri, 3 Jul 2015 17:09:17 +0200 Cc: freebsd-net@FreeBSD.org, koobs@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <237E38F8-ECD8-4103-98B1-EDAF72A7F162@FreeBSD.org> References: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> <5596192F.2050802@FreeBSD.org> <4BA4AF18-6CC7-48A9-8035-22B3E209257A@FreeBSD.org> <55964040.4050809@FreeBSD.org> <5FBA0180-76F6-43A3-A6C7-860E74FB4682@FreeBSD.org> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 15:08:43 -0000 > On 03 Jul 2015, at 11:10, Kristof Provost wrote: >=20 >=20 >> On 03 Jul 2015, at 09:56, Andrey V. Elsukov wrote: >> can you test this patch instead: > I=E2=80=99ll test it when I get home this evening. > At first glance that looks like it=E2=80=99d fix things too. The patch (with the build fix below) works. >> Index: ip6_output.c >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- ip6_output.c (revision 284791) >> +++ ip6_output.c (working copy) >> @@ -2566,6 +2567,7 @@ ip6_setpktopt(int optname, u_char *buf, int = len, s >> !IN6_IS_ADDR_UNSPECIFIED(&pktinfo->ipi6_addr)) { >> struct in6_ifaddr *ia; >>=20 >> + in6_setscope(&pktinfo->ipi6_addr, ifp); > That=E2=80=99ll have to be in6_setscope(&pktinfo->ipi6_addr, ifp, = NULL); Regards, Kristof= From owner-freebsd-net@freebsd.org Fri Jul 3 16:00:05 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8056D993DA6 for ; Fri, 3 Jul 2015 16:00:05 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 598A42292 for ; Fri, 3 Jul 2015 16:00:05 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-224-92.lns20.per1.internode.on.net [121.45.224.92]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id t63Fxxsb009874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 3 Jul 2015 09:00:03 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <5596B179.7020008@freebsd.org> Date: Fri, 03 Jul 2015 23:59:53 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Wei Hu , Warren Block , "freebsd-net@FreeBSD.org" Subject: Re: Same NIC name to MAC mapping on FreeBSD References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 16:00:05 -0000 On 7/3/15 2:57 PM, Wei Hu wrote: > >> -----Original Message----- >> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- >> net@freebsd.org] On Behalf Of Warren Block >> Sent: Wednesday, July 1, 2015 10:01 PM >> To: freebsd-net@FreeBSD.org >> Subject: Re: Same NIC name to MAC mapping on FreeBSD >> >> Gary Palmer gpalmer at freebsd.org wrote: >>> On Wed, Jul 01, 2015 at 11:42:43AM +0800, Julian Elischer wrote: >>>> I vaguely remember being able to do this some years ago but I can't >>>> remember the details. >>> I believe they do, yes. In fact I seem to remember a discussion on >>> this in the last year and someone shared either a devd or an rc.d >>> script to ensure static NIC names, however searching the web archvies >>> I couldn't find it >> https://lists.freebsd.org/pipermail/freebsd-net/2014- >> December/040533.html >> >> Be sure to read all the way to the end, some things that appeared to work >> initially... did not. >> > This seems to be a good solution for now. Thanks so much! If you work out a general solution, can you report back what you did? (so others can find it and save time). > Wei > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@freebsd.org Fri Jul 3 18:57:12 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A2B4994EF2 for ; Fri, 3 Jul 2015 18:57:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46EFA167F for ; Fri, 3 Jul 2015 18:57:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t63IvCmu099092 for ; Fri, 3 Jul 2015 18:57:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201144] [ixgbe] [xl] 82599es-based card Supermicro AOC-STGN-i2S is not working Date: Fri, 03 Jul 2015 18:57:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: IntelNetworking, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 18:57:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201144 Eric Joyner changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #2 from Eric Joyner --- Hi Denis, I'm closing this because this isn't a driver problem. No Intel 10G device has a device ID of "0x0001", so this is a problem with your cards. You need to go back to whoever you purchased the cards from and either return it or work with them to get a correct EEPROM for your cards. However, if you get that resolved and the lock order reversal still occurs, that would be a valid bug to put in a new ticket. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Jul 4 07:40:37 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59F9C99429F for ; Sat, 4 Jul 2015 07:40:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E7551AAF for ; Sat, 4 Jul 2015 07:40:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t647ebBR037115 for ; Sat, 4 Jul 2015 07:40:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 04 Jul 2015 07:40:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd@monerjan.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 07:40:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 freebsd@monerjan.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd@monerjan.com --- Comment #11 from freebsd@monerjan.com --- +1 IPSEC should really be part of the GENERIC kernel. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Sat Jul 4 11:02:05 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17BE698C7 for ; Sat, 4 Jul 2015 11:02:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03ED81B94 for ; Sat, 4 Jul 2015 11:02:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t64B24P7077169 for ; Sat, 4 Jul 2015 11:02:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Sat, 04 Jul 2015 11:02:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: david.keller@litchis.fr X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 11:02:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 --- Comment #23 from david.keller@litchis.fr --- Still hanging with r284444. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Jul 4 17:37:51 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB0A39B49 for ; Sat, 4 Jul 2015 17:37:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6EDB164C for ; Sat, 4 Jul 2015 17:37:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t64Hbpx4013328 for ; Sat, 4 Jul 2015 17:37:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 04 Jul 2015 17:37:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 17:37:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 --- Comment #12 from commit-hook@freebsd.org --- A commit references this bug: Author: gnn Date: Sat Jul 4 17:37:03 UTC 2015 New revision: 285142 URL: https://svnweb.freebsd.org/changeset/base/285142 Log: Enable IPSEC in all GENERIC kernels. Universe and kernel build tests passed 4 July 2015 PR: 128030 Sponsored by: Rubicon Communications (Netgate) Changes: head/sys/amd64/conf/GENERIC head/sys/arm64/conf/GENERIC head/sys/i386/conf/GENERIC head/sys/pc98/conf/GENERIC head/sys/powerpc/conf/GENERIC head/sys/sparc64/conf/GENERIC -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Sat Jul 4 17:39:46 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B46999BCE for ; Sat, 4 Jul 2015 17:39:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A07111A7C for ; Sat, 4 Jul 2015 17:39:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t64HdkDe014233 for ; Sat, 4 Jul 2015 17:39:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 04 Jul 2015 17:39:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gnn@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 17:39:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030 George V. Neville-Neil changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug.