From owner-freebsd-net@FreeBSD.ORG Sun Sep 21 17:10:52 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 959D416A4B3 for ; Sun, 21 Sep 2003 17:10:52 -0700 (PDT) Received: from phoenix.gargantuan.com (rrcs-se-24-73-171-238.biz.rr.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8093C43FCB for ; Sun, 21 Sep 2003 17:10:51 -0700 (PDT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 065012FD for ; Sun, 21 Sep 2003 20:10:50 -0400 (EDT) Received: from cyclops.gargantuan.com (cyclops.gargantuan.com [IPv6:3ffe:c00:8034:a00::18]) by phoenix.gargantuan.com (Postfix) with ESMTP id 9CF7A235 for ; Sun, 21 Sep 2003 20:10:38 -0400 (EDT) From: "Michael W. Oliver" Date: Sun, 21 Sep 2003 20:10:29 -0400 User-Agent: KMail/1.5.3 To: freebsd-net@freebsd.org X-Personal-Email: michael@gargantuan.com X-WWW-Site: http://michael.gargantuan.com X-GPG-Public-Key: $WWW-Site/gnupg/pubkey.asc X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Home-Address: 8008 Apache Lane, Lakeland, FL, US 33810-2172 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_83jb/P/LTypmOxM"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200309212010.36939.michael@gargantuan.com> X-Spam-Status: No, hits=-102.8 required=5.0 tests=FWD_MSG,PGP_SIGNATURE_2,USER_AGENT_KMAIL,USER_IN_WHITELIST autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Fwd: ipfw, pipes, queues, and IPv6 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: michael@gargantuan.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 00:10:52 -0000 --Boundary-02=_83jb/P/LTypmOxM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline [Folks, I posted this to ipfw@ last week, but had no takers over there. =20 Anyone here want to take a stab at it? Thanks in advance!] I am looking for a little sanity check here. I have a gif tunnel set up fo= r=20 IPv6, and I am passing protocol 41 through the ipfw pipe/queue mechanism=20 to/from my tunnel provider (part of a grander pipe/queue scheme due to my=20 new Vonage service :). A couple of questions: 1) Am I correct in assuming that all IPv6 traffic that I am permitting via ip6fw is governed by the pipe/queue rules that I have configured for=20 protocol 41 in ipfw? 2) If #1 is true, is there a way for me to use pipes/queues within ip6fw itself to discriminate by type of IPv6 traffic? Thanks for the info! =2D-=20 Mike perl -e 'print unpack("u","88V]N=3D&%C=3D\"!I;F9O(&EN(&AE861E Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5157D16A4B3 for ; Sun, 21 Sep 2003 22:39:18 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A1D843FBD for ; Sun, 21 Sep 2003 22:39:16 -0700 (PDT) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82])h8M5d315008533 for ; Mon, 22 Sep 2003 13:39:07 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Message-ID: <3F6E8A95.159F7970@kuzbass.ru> Date: Mon, 22 Sep 2003 13:37:25 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: net@freebsd.org Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Subject: strange 4.8-STABLE routing table behavour X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Sep 2003 05:39:18 -0000 Hi! netstat says me there are no routes through 172.20.2.105: # netstat -rn | fgrep 172.20.2.105 172.20.2.105 00:60:94:23:da:43 UHLS 10 8062 rl1 # ifconfig rl1 rl1: flags=89c3 mtu 1500 inet 172.20.2.75 netmask 0xffffff00 broadcast 172.20.2.255 inet 172.20.2.77 netmask 0xffffffff broadcast 172.20.2.77 ether 00:50:ba:5d:09:24 media: Ethernet autoselect (100baseTX ) status: active But route says there are: # route -n get 172.20.100.45 route to: 172.20.100.45 destination: 172.20.100.45 gateway: 172.20.2.105 interface: rl1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 22 17 0 1500 0 And kernel really tries to send packets through 172.20.2.105 that has static ARP entry but is down. How this can be? Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Sun Sep 21 23:14:28 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F89316A4B3 for ; Sun, 21 Sep 2003 23:14:28 -0700 (PDT) Received: from frenchfries.net (lsanca1-ar14-4-60-145-009.lsanca1.dsl-verizon.net [4.60.145.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AC9D43FF9 for ; Sun, 21 Sep 2003 23:14:25 -0700 (PDT) (envelope-from pherman@frenchfries.net) Received: by frenchfries.net (Postfix, from userid 1000) id BAF3D4B89; Sun, 21 Sep 2003 23:14:23 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by frenchfries.net (Postfix) with ESMTP id 787A24A65 for ; Sun, 21 Sep 2003 23:14:23 -0700 (PDT) Date: Sun, 21 Sep 2003 23:14:23 -0700 (PDT) From: Paul Herman X-X-Sender: pherman@mammoth.eat.frenchfries.net To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <20030922061423.BAF3D4B89@frenchfries.net> Subject: Question on TCP segment sizes X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Sep 2003 06:14:28 -0000 Hi -net, While pondering sending large files across a jumbo frame network using FreeBSD, I decided to first see how well the loopback interface does. Using ttcp on the same machine: ttcp -s -r & ttcp -s -t 127.0.0.1 I noticed that although the MSS is 16k, I don't ever see a full 16k segment. In fact, 16k packets in the form of one 2k packet and one 14k packet are sent, as the following tcpdump output shows: .706018 127.0.0.1.1026 > 127.0.0.1.5001: S 3254883299:3254883299(0) win 57344 (DF) .706108 127.0.0.1.5001 > 127.0.0.1.1026: S 2952251081:2952251081(0) ack 3254883300 win 57344 (DF) .706140 127.0.0.1.1026 > 127.0.0.1.5001: . ack 1 win 57344 (DF) .707454 127.0.0.1.1026 > 127.0.0.1.5001: P 1:8193(8192) ack 1 win 57344 (DF) .708308 127.0.0.1.1026 > 127.0.0.1.5001: P 8193:22529(14336) ack 1 win 57344 (DF) .708346 127.0.0.1.5001 > 127.0.0.1.1026: . ack 22529 win 43008 (DF) .708375 127.0.0.1.1026 > 127.0.0.1.5001: P 22529:24577(2048) ack 1 win 57344 (DF) .708508 127.0.0.1.1026 > 127.0.0.1.5001: P 24577:38913(14336) ack 1 win 57344 (DF) .708530 127.0.0.1.5001 > 127.0.0.1.1026: . ack 38913 win 43008 (DF) .708549 127.0.0.1.1026 > 127.0.0.1.5001: P 38913:40961(2048) ack 1 win 57344 (DF) .708617 127.0.0.1.1026 > 127.0.0.1.5001: P 40961:55297(14336) ack 1 win 57344 (DF) .708638 127.0.0.1.5001 > 127.0.0.1.1026: . ack 55297 win 43008 (DF) [...repeats...] The same happens phenomenon with FTP so I don't think there's any voodoo going on with ttcp. Interestingly enough, raising the MTU on lo0 above 16k changes nothing. Also, IPv6 (FTP) shows similar behavior: .449842 ::1.1036 > ::1.49153: P 92161:93185(1024) ack 1 win 57344 .449992 ::1.1036 > ::1.49153: P 93185:107521(14336) ack 1 win 57344 .450018 ::1.49153 > ::1.1036: . ack 107521 win 43008 [flowlabel 0x645a7] .450099 ::1.1036 > ::1.49153: P 107521:108545(1024) ack 1 win 57344 .450250 ::1.1036 > ::1.49153: P 108545:122881(14336) ack 1 win 57344 .450275 ::1.49153 > ::1.1036: . ack 122881 win 43008 [flowlabel 0x645a7] .450354 ::1.1036 > ::1.49153: P 122881:123905(1024) ack 1 win 57344 .450504 ::1.1036 > ::1.49153: P 123905:138241(14336) ack 1 win 57344 So the question is, why don't we get two full sized 16344 (or at least two 14336) sized segments? It seems it would be more efficient that way, no? 4.9-PRERELEASE from yesterday, all sysctls are system defaults... -Paul. From owner-freebsd-net@FreeBSD.ORG Mon Sep 22 11:02:03 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BEFF16A4B3 for ; Mon, 22 Sep 2003 11:02:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E36D43FBD for ; Mon, 22 Sep 2003 11:01:41 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8MI1fFY010260 for ; Mon, 22 Sep 2003 11:01:41 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8MI1eMb010254 for freebsd-net@freebsd.org; Mon, 22 Sep 2003 11:01:40 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 22 Sep 2003 11:01:40 -0700 (PDT) Message-Id: <200309221801.h8MI1eMb010254@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Sep 2003 18:02:03 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/04] kern/37761 net process exits but socket is still ESTABLI 1 problem total. From owner-freebsd-net@FreeBSD.ORG Mon Sep 22 14:28:50 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6501D16A4B3 for ; Mon, 22 Sep 2003 14:28:50 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 508F243FFD for ; Mon, 22 Sep 2003 14:28:49 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id h8MLSjsd057948; Mon, 22 Sep 2003 14:28:45 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id h8MLSf0c057945; Mon, 22 Sep 2003 14:28:41 -0700 (PDT) (envelope-from rizzo) Date: Mon, 22 Sep 2003 14:28:41 -0700 From: Luigi Rizzo To: "Michael W. Oliver" Message-ID: <20030922142840.A56211@xorpc.icir.org> References: <200309212010.36939.michael@gargantuan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200309212010.36939.michael@gargantuan.com>; from michael@gargantuan.com on Sun, Sep 21, 2003 at 08:10:29PM -0400 cc: freebsd-net@freebsd.org Subject: Re: Fwd: ipfw, pipes, queues, and IPv6 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Sep 2003 21:28:50 -0000 ipfw/ipfw2 will only see non-ipv4 packets at the layer2 level, i.e. if you have net.link.ether.bridge.ipfw=1 or net.link.ether.ipfw=1 So you cannot do much classification except for the protocol type. Re. ipv6 and pipes, i do not see any dummynet hooks in netinet6/ so almost surely it won't work. The long term plan is to add ipv6-specific instructions to ipfw2 so you can replace ip6_fw with ipfw2, and then you "only" need to add the post-ipfw processing from netinet/ip_{input,output}.c in the corresponding netinet6/ files. cheers luigi On Sun, Sep 21, 2003 at 08:10:29PM -0400, Michael W. Oliver wrote: Content-Description: signed data > [Folks, I posted this to ipfw@ last week, but had no takers over there. > Anyone here want to take a stab at it? Thanks in advance!] > > I am looking for a little sanity check here. I have a gif tunnel set up for > IPv6, and I am passing protocol 41 through the ipfw pipe/queue mechanism > to/from my tunnel provider (part of a grander pipe/queue scheme due to my > new Vonage service :). A couple of questions: > > 1) Am I correct in assuming that all IPv6 traffic that I am permitting via > ip6fw is governed by the pipe/queue rules that I have configured for > protocol 41 in ipfw? > > 2) If #1 is true, is there a way for me to use pipes/queues within ip6fw > itself to discriminate by type of IPv6 traffic? > > Thanks for the info! > > -- > Mike > perl -e 'print unpack("u","88V]N=&%C=\"!I;F9O(&EN(&AE861E > From owner-freebsd-net@FreeBSD.ORG Mon Sep 22 20:09:34 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2E3716A4BF for ; Mon, 22 Sep 2003 20:09:33 -0700 (PDT) Received: from athenas.yan.com.br (athenas.yan.com.br [200.202.253.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BF8E43FE5 for ; Mon, 22 Sep 2003 20:09:32 -0700 (PDT) (envelope-from ddg@yan.com.br) Received: (qmail 12087 invoked by uid 1023); 23 Sep 2003 00:08:12 -0300 Received: from unknown (HELO pegasus) (ddg@200.202.253.166) by athenas.yan.com.br with SMTP; 23 Sep 2003 00:08:12 -0300 Date: Mon, 22 Sep 2003 22:34:46 -0300 From: Daniel Dias Goncalves To: freebsd-net@freebsd.org Message-Id: <20030922223446.5232286a.ddg@yan.com.br> X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i386--netbsdelf) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-hackers@freebsd.org Subject: SMC 2602W PCI Wireless X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Sep 2003 03:09:34 -0000 The device SMC 2602W PCI works in the FreeBSD? # uname -rs FreeBSD 5.1-RELEASE # pciconf -l -v ... none2@pci0:10:0: class=3D0x028000 card=3D0x260210b8 chip=3D0x8201131= 7 rev=3D0x11 hdr=3D0x00 vendor =3D 'Admtek Inc' class =3D network ... # kernel configuration: device cbb # cardbus (yenta) bridge device pcic # ExCA ISA and PCI bridges=20 device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus =20 device wlan # 802.11 support device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. wi* not work Any idea ? []s Daniel Dias Gon=E7alves f22@netbsd.com.br From owner-freebsd-net@FreeBSD.ORG Mon Sep 22 22:05:19 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BACA316A4B3; Mon, 22 Sep 2003 22:05:19 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC3B43FEC; Mon, 22 Sep 2003 22:05:18 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9p1/8.12.3) with ESMTP id h8N55EGA051344; Mon, 22 Sep 2003 23:05:16 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 22 Sep 2003 23:05:15 -0600 (MDT) Message-Id: <20030922.230515.112077084.imp@bsdimp.com> To: ddg@yan.com.br From: "M. Warner Losh" In-Reply-To: <20030922223446.5232286a.ddg@yan.com.br> References: <20030922223446.5232286a.ddg@yan.com.br> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: SMC 2602W PCI Wireless X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Sep 2003 05:05:19 -0000 In message: <20030922223446.5232286a.ddg@yan.com.br> Daniel Dias Goncalves writes: : The device SMC 2602W PCI works in the FreeBSD? : vendor = 'Admtek Inc' unlikely. The adm wireless driver is still being ported. Warner From owner-freebsd-net@FreeBSD.ORG Tue Sep 23 15:24:03 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88B8416A4BF for ; Tue, 23 Sep 2003 15:24:03 -0700 (PDT) Received: from web40309.mail.yahoo.com (web40309.mail.yahoo.com [66.218.78.88]) by mx1.FreeBSD.org (Postfix) with SMTP id BC3AA43FBD for ; Tue, 23 Sep 2003 15:24:02 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030923222402.54131.qmail@web40309.mail.yahoo.com> Received: from [66.35.239.94] by web40309.mail.yahoo.com via HTTP; Tue, 23 Sep 2003 15:24:02 PDT Date: Tue, 23 Sep 2003 15:24:02 -0700 (PDT) From: Maksim Yevmenkin To: current@freebsd.org, net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Bluetooth patch X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Sep 2003 22:24:03 -0000 Dear Hackers, I have prepared Bluetooth mega patch for FreeBSD source tree. This patch updates FreeBSD sources to the most recent snapshot. The patch is quite extensive - it adds two new libraries (libbluetooth and libsdp) as well as puts some files into /etc/bluetooth and modifies quite a few other files. I also have modified Makefile's to add new libraries and usr.{s}bin/bluetooth to the build. I've sent it to Julian and Ruslan, but they do not have free time to look at it. If anyone wants to review the patch please do so and let me know if i missed/forget anything. The patch could be downloaded from http://www.geocities.com/m_evmenkin/patch/bluetooth20030914.diff.gz thanks, max __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From owner-freebsd-net@FreeBSD.ORG Wed Sep 24 00:28:09 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6E3116A4B3 for ; Wed, 24 Sep 2003 00:28:09 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F01243F3F for ; Wed, 24 Sep 2003 00:28:08 -0700 (PDT) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82])h8O7S3Tr015494 for ; Wed, 24 Sep 2003 15:28:05 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Message-ID: <3F71471E.B92E7DF9@kuzbass.ru> Date: Wed, 24 Sep 2003 15:26:22 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: net@freebsd.org Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Subject: routed(8) strangeness in 4.8-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 24 Sep 2003 07:28:10 -0000 Hi! I run routed(8) on a multihomed machine (3 NICs up and running). In that cases routed will not inject route from its RIP trable into the kernel (kernel does not have more general route through the same inteface)? For example, consider route to 172.20.11.1/32: # rtquery -n | fgrep 172.20.11 172.20.11.16/29 metric 1 172.20.11.0/27 metric 3 nhop=172.20.15.66 That's right, RIPv2 has the route. # route -n get 172.20.15.66 route to: 172.20.15.66 destination: 172.20.15.66 interface: rl1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 611 And gateway is reachable. # route -n get 172.20.11.1 route to: 172.20.11.1 destination: default mask: default gateway: 172.20.2.101 interface: fxp0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 But kernel does not have specific route and uses default that is wrong. I run it as routed -s, here is my /etc/gateways: ripv2 rdisc_interval=45 no_ag no_super_ag redirect_ok Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Wed Sep 24 01:14:20 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85ADB16A4B3 for ; Wed, 24 Sep 2003 01:14:20 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 230EE43FF3 for ; Wed, 24 Sep 2003 01:14:19 -0700 (PDT) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82])h8O8EGTr024653 for ; Wed, 24 Sep 2003 16:14:17 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Message-ID: <3F7151F3.74D7E506@kuzbass.ru> Date: Wed, 24 Sep 2003 16:12:35 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: net@freebsd.org References: <3F71471E.B92E7DF9@kuzbass.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Subject: Re: routed(8) strangeness in 4.8-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 24 Sep 2003 08:14:20 -0000 Eugene Grosbein wrote: > I run routed(8) on a multihomed machine (3 NICs up and running). > In that cases routed will not inject route from its RIP trable In what cases, I want to ask. Eugene From owner-freebsd-net@FreeBSD.ORG Thu Sep 25 01:35:47 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD80116A4B3 for ; Thu, 25 Sep 2003 01:35:47 -0700 (PDT) Received: from postel.libkvm.org (euclyde.cwglobal.ch [144.85.7.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0EF04400B for ; Thu, 25 Sep 2003 01:35:45 -0700 (PDT) (envelope-from freebsd@libkvm.org) Received: from postel.libkvm.org (localhost [127.0.0.1]) by postel.libkvm.org (8.12.9/8.12.9) with ESMTP id h8P8aA11001266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Sep 2003 10:36:11 +0200 (CEST) (envelope-from freebsd@libkvm.org) Received: (from jma@localhost) by postel.libkvm.org (8.12.9/8.12.9/Submit) id h8P8aAxA001265 for freebsd-net@freebsd.org; Thu, 25 Sep 2003 10:36:10 +0200 (CEST) Date: Thu, 25 Sep 2003 10:36:10 +0200 From: julien mabillard To: freebsd-net@freebsd.org Message-ID: <20030925083610.GD757@postel.libkvm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: ipsec tunnel with same subnet in A and B X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Sep 2003 08:35:47 -0000 hi, i have some questions regarding an ipsec tunnel which i want to setup between to hosts (A, B), but I want A and B to be in the same subnet. what are the possiblilities? also, i might meet the following situation: a) A 10.0.0.10 <==> ipsec_gw <==> routers <==> ipsec_gw <===> B 10.0.0.1 b) A 10.0.0.10 <==> ipsec_gw <==> Layer-2(switches) <==> ipsec_gw <===> B 10.0.0.1 can anyone give me a clue on the 2 stiuations? in (a), i just want an ip sec tunnel, but the endpoint hosts being in the same subnet. in (b), same situation but i don't have routing between the ipsec boxes, only switching. can i tweak some bridging and netgraph setup for that? thank you very much. -- Key fingerprint = C549 46E1 1B75 116E 3321 BC0A E502 9457 319E B340 From owner-freebsd-net@FreeBSD.ORG Thu Sep 25 14:35:39 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2EC116A4B3 for ; Thu, 25 Sep 2003 14:35:39 -0700 (PDT) Received: from vsmtp12.tin.it (vsmtp12.tin.it [212.216.176.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FEFE43FB1 for ; Thu, 25 Sep 2003 14:35:37 -0700 (PDT) (envelope-from NateBSD@libero.it) Received: from LapBSD (80.182.195.236) by vsmtp12.tin.it (7.0.019) id 3F72F5FF000442D3 for freebsd-net@freebsd.org; Thu, 25 Sep 2003 23:35:36 +0200 From: Nate Grey Organization: Curious Net Group To: freebsd-net@freebsd.org Date: Fri, 26 Sep 2003 01:35:10 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200309260135.35787.NateBSD@libero.it> Subject: Realtek 8139 + Acer Laptop X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Sep 2003 21:35:39 -0000 -----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.3 (FreeBSD) hQEOA4SxdFJncfudEAQAisaq9M0Q4YQP7qCWtVO3IwmiANkZ4Qaji6A42Dl6dzwB MT7NOwovB5BY0klePtuOtCpELeD1tP2kyW9hEpLA2OECYpeSmM3p/wy2AUyTsl8b 6gQzxUEQimZkbqXkEnAyvxA4O2w3KT5LVtgVjcaJMf5nss/CeC1nf+03YLvMxYEE AIkqDTvKkV+BhZoUvHprzbdvGUkb8YgV9oGep1CgArGRLh1gKLHK5C7kSWxdDZoW vclA7fZPQW5+oXaqK+GqwmqtTI/tCh18A5gkU7wJtcUhd3pq7NvJUr+7xASQ5r7u 7UnsvoHEcumMu6Kfmhkg8SFKG1IVjmhl0lCgBVexC3NB0sDXAZAkKnScu4kQktek uhwxi4qv/ISvNYyZp/BsyBD0X4lLn3T/odLUPO9zg6Sm8o9W3z/+aTWyVw91sHIm lDaXXooXbxHw9ztS3kV8a40kGwvXY/fV0tKSDZpQp/0UECqrhdiQQApuolnTYDn9 MPgH9r+2LPzMUh3DSrB7COeMd+rD82EkWg5wsUVm7LTPY6BWPM15psmjHDMR/Alq fZ/wwqCGkNf00LlHxzKwhIcTAJeYA4j15vMk0g1Ccb8a2hJXUWG16PoE+NnIH9d9 Znheuz0axO6vKANPRMrTpFQsm0dOlQYc2QuTB6Qyr/UzsKtvIbnHnxs80xOJ+Lk+ bI/1Uq9Ez0x/DLUNqTMe2FXjE6VjA8hIQzGcTbLVCQceaMkI5VmmL61bbOzskZaF B70LbWnRZFlBQXYAWsVw2++BEvDSUKUZn16j34foDc6J2T6Yrsfi+PiZnrEIUT+o 78e0SQ7+aKKxC4LDU/iMRUudU5H9GaReJG02qY8OxwgUHSZQsd9dHh++0vlb/99t QM5OFoTehjDcEmA= =+U7K -----END PGP MESSAGE----- From owner-freebsd-net@FreeBSD.ORG Thu Sep 25 14:42:56 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA04C16A4B3 for ; Thu, 25 Sep 2003 14:42:56 -0700 (PDT) Received: from vsmtp12.tin.it (vsmtp12.tin.it [212.216.176.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CE1D43FCB for ; Thu, 25 Sep 2003 14:42:55 -0700 (PDT) (envelope-from NateBSD@libero.it) Received: from LapBSD (80.182.195.236) by vsmtp12.tin.it (7.0.019) id 3F72F5FF00044F5F for freebsd-net@freebsd.org; Thu, 25 Sep 2003 23:42:54 +0200 From: Nate Grey Organization: Curious Net Group To: freebsd-net@freebsd.org Date: Fri, 26 Sep 2003 01:42:44 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200309260142.51593.NateBSD@libero.it> Subject: Realtek 8139 + Acer Laptop X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Sep 2003 21:42:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mhmh how many nice buttons in kmail... (I'm sorry). Ok. Probably I'm not a lucky boy.....Why? Just read below. - - The laptop is Acer Aspire 1601L. - - The ethernet card is a Realtek 8139: - - All the linux distribution find it; - - OpenBSD find it; - - NetBSD find it; - - FreeBSD doesn't find it... I'm on a 5.1-RELEASE-p8... Could I have any chance using -CURRENT? Any tip? Thank you. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/c314qf0d+v9JLRgRAswwAKCSkRuM1sHOxk14bny7MQqNqlFKJwCgiJjX gYgUVlzQuqAoZdhGK6U8kL0= =ewU6 -----END PGP SIGNATURE----- From owner-freebsd-net@FreeBSD.ORG Thu Sep 25 14:50:29 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 190D816A4B3 for ; Thu, 25 Sep 2003 14:50:29 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9BDE43FF2 for ; Thu, 25 Sep 2003 14:50:23 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.9/8.12.3) with ESMTP id h8PLoJgg006576; Thu, 25 Sep 2003 14:50:19 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h8PLoI4x006575; Thu, 25 Sep 2003 14:50:18 -0700 Date: Thu, 25 Sep 2003 14:50:18 -0700 From: Brooks Davis To: Nate Grey Message-ID: <20030925215018.GA4364@Odin.AC.HMC.Edu> References: <200309260142.51593.NateBSD@libero.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <200309260142.51593.NateBSD@libero.it> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-net@freebsd.org Subject: Re: Realtek 8139 + Acer Laptop X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Sep 2003 21:50:29 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 26, 2003 at 01:42:44AM +0200, Nate Grey wrote: > Ok. Probably I'm not a lucky boy.....Why? Just read below. >=20 > - - The laptop is Acer Aspire 1601L. > - - The ethernet card is a Realtek 8139: > - - All the linux distribution find it; > - - OpenBSD find it; > - - NetBSD find it; > - - FreeBSD doesn't find it... >=20 > I'm on a 5.1-RELEASE-p8... > Could I have any chance using -CURRENT? > Any tip? Support for some additional 8139 chips was added and then split out into the re driver after 5.1 so you may need to upgrade. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/c2MYXY6L6fI4GtQRAqx5AJ9buLKbOYrMwEsNrbePI2qv6Q3JgwCg0BJU 1rowGksqbFlxPTLWJfk7CQA= =KuOH -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY-- From owner-freebsd-net@FreeBSD.ORG Thu Sep 25 16:12:28 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2486E16A4BF for ; Thu, 25 Sep 2003 16:12:28 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76A9243FE9 for ; Thu, 25 Sep 2003 16:12:27 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.9/8.12.3) with ESMTP id h8PNCNgg025713 for ; Thu, 25 Sep 2003 16:12:23 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h8PNCNj1025710 for net@freebsd.org; Thu, 25 Sep 2003 16:12:23 -0700 Date: Thu, 25 Sep 2003 16:12:23 -0700 From: Brooks Davis To: net@freebsd.org Message-ID: <20030925231223.GA19202@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Subject: proposal adding device_t* to struct if_net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Sep 2003 23:12:28 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'd like to propose that we add a device_t pointer to struct if_net. It would be defined to contain either a pointer to the device associated with this interface or NULL (pseudo-interfaces and interfaces without access to a device_t in their attach routine (COMPAT_OLDISA devices) will have NULL pointers). The motivation for this change is that currently we make the assumption that there is a one to one mapping between if_name values and device drivers (if the interface actually has a physical device associated with it). Three drivers rely on this as do administrators looking at ifconfig output. The current plan is to replace if_name and if_unit with if_xname and to allow the interface to be renamed by the administrator removing any tie between interface names and hardware. The three drivers relying on if_name need to be fixed before if_xname can go in and having a way for administrators to map interfaces to hardware would be useful once renaming is possible. Does anyone see any major problems with doing this? My main concern is that this could have locking implications. -- Brooks P.S. The main example of driver abuse of if_name is in sys/dev/mii/brgphy.c near lines 203 and 617. --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/c3ZWXY6L6fI4GtQRAtz7AJwKnYVOPgri2jpTSOZxumQlSGb4DACg1SEL QKfdN75A4LSlZm0mfiQaF5c= =jB7t -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-net@FreeBSD.ORG Fri Sep 26 01:58:54 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E03B16A4B3 for ; Fri, 26 Sep 2003 01:58:54 -0700 (PDT) Received: from netlx010.civ.utwente.nl (netlx010.civ.utwente.nl [130.89.1.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id B42CF44022 for ; Fri, 26 Sep 2003 01:58:52 -0700 (PDT) (envelope-from r.s.a.vandomburg@student.utwente.nl) Received: from gog (gog.student.utwente.nl [130.89.165.107]) by netlx010.civ.utwente.nl (8.11.4/HKD) with SMTP id h8Q8wox13320 for ; Fri, 26 Sep 2003 10:58:50 +0200 Message-ID: <000501c3840c$6da6ae60$6ba55982@gog> From: "Roderick van Domburg" To: Date: Fri, 26 Sep 2003 10:59:00 +0200 Organization: University of Twente MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean Subject: DEVICE_POLLING together with link0 interrupt offloading? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 26 Sep 2003 08:58:54 -0000 Hello everyone, Just curious: I just noticed that DEVICE_POLLING works perfectly well with the interrupt offloading feature of the fxp driver (link0). In my understanding, both try to improve ``network scheduling'' for lack of better words - especially under load. Also I now understand that DEVICE_POLLING is preferred over interrupt offloading, especially on routers. But just for the sake of curiosity: what does enabling _both_ bring about to the network performancy and latency? I'm thinking that latency would be greatly increased because the poller would often miss the bundled packets. What's your take on this? Regards, Roderick From owner-freebsd-net@FreeBSD.ORG Fri Sep 26 03:20:30 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D91FE16A4B3 for ; Fri, 26 Sep 2003 03:20:30 -0700 (PDT) Received: from xaqua.tel.fer.hr (xaqua.tel.fer.hr [161.53.19.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CB6B44015 for ; Fri, 26 Sep 2003 03:20:29 -0700 (PDT) (envelope-from zec@tel.fer.hr) Received: by xaqua.tel.fer.hr (Postfix, from userid 20006) id 749AC9B646; Fri, 26 Sep 2003 12:20:27 +0200 (CEST) Received: from tel.fer.hr (zg04-034.dialin.iskon.hr [213.191.137.35]) by xaqua.tel.fer.hr (Postfix) with ESMTP id 4FD469B648; Fri, 26 Sep 2003 12:20:09 +0200 (CEST) Message-ID: <3F741269.3A2FF9FC@tel.fer.hr> Date: Fri, 26 Sep 2003 12:18:17 +0200 From: Marko Zec X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Roderick van Domburg References: <000501c3840c$6da6ae60$6ba55982@gog> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_10,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Sanitizer: Advosys mail filter cc: freebsd-net@freebsd.org Subject: Re: DEVICE_POLLING together with link0 interrupt offloading? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 26 Sep 2003 10:20:31 -0000 Roderick van Domburg wrote: > Hello everyone, > > Just curious: I just noticed that DEVICE_POLLING works perfectly well with > the interrupt offloading feature of the fxp driver (link0). In my > understanding, both try to improve ``network scheduling'' for lack of better > words - especially under load. Also I now understand that DEVICE_POLLING is > preferred over interrupt offloading, especially on routers. > > But just for the sake of curiosity: what does enabling _both_ bring about to > the network performancy and latency? I'm thinking that latency would be > greatly increased because the poller would often miss the bundled packets. > > What's your take on this? There's no much sense in enabling both the network interface polling mode and fxp interrupt coalescing microcode at the same time, since the polling code disables all network interface interrupts anyway. Moreover, there wouldn't be any additional latency, since the polling routine would extract all incoming packets from inbound DMA rings as soon as they would arrive. Marko From owner-freebsd-net@FreeBSD.ORG Fri Sep 26 06:42:08 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F402916A4B3 for ; Fri, 26 Sep 2003 06:42:07 -0700 (PDT) Received: from k3.vol.cz (k3.vol.cz [195.122.207.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9D9543FF2 for ; Fri, 26 Sep 2003 06:42:04 -0700 (PDT) (envelope-from jp@devnull.cz) Received: from k3.vol.cz (k3.vol.cz [195.122.207.226]) by k3.vol.cz (8.12.8p2/8.12.8) with ESMTP id h8QDg57W075269 for ; Fri, 26 Sep 2003 15:42:05 +0200 (CEST) (envelope-from jp@devnull.cz) Date: Fri, 26 Sep 2003 15:42:05 +0200 (CEST) From: Jan Pechanec X-X-Sender: jp@k3.vol.cz To: freebsd-net@freebsd.org Message-ID: <20030926153749.I58349@k3.vol.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: dummynet & IPv6 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 26 Sep 2003 13:42:08 -0000 Hi all, I have just searched the web and mail archives and found only a couple of 1-2 years old questions on this topic. It doesn't seem there is an implementation of dummynet for IPv6 (ie. in ip6fw), but does anybody of you know any recent information about this? regards, Jan. -- Jan Pechanec From owner-freebsd-net@FreeBSD.ORG Fri Sep 26 07:23:26 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A17D16A4B3 for ; Fri, 26 Sep 2003 07:23:26 -0700 (PDT) Received: from smtp0.libero.it (smtp0.libero.it [193.70.192.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 532F244025 for ; Fri, 26 Sep 2003 07:23:25 -0700 (PDT) (envelope-from NateBSD@libero.it) Received: from LapBSD (151.24.159.199) by smtp0.libero.it (7.0.020-DD01) id 3F6F1CE700208238 for freebsd-net@freebsd.org; Fri, 26 Sep 2003 16:23:24 +0200 From: Nate Grey Organization: Curious Net Group To: freebsd-net@freebsd.org Date: Fri, 26 Sep 2003 14:23:10 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Message-Id: <200309261420.30230.NateBSD@libero.it> Content-Type: Multipart/Mixed; boundary="Boundary-00=_u+Cd/yMVXb6ZSAM" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Realtek 8139 + Acer Laptop X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 26 Sep 2003 14:23:26 -0000 --Boundary-00=_u+Cd/yMVXb6ZSAM Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Description: clearsigned data Content-Disposition: inline -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dmesg say nothing. According to WinXP system information, the card is "RealTek RTL 8139/810x Family Fast Ethernet NIC". at bus PCI 0 : 7 : 0. Maybe an IRQ conflict? I attach the dmesg & pciconf -lv output. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/dC+xqf0d+v9JLRgRAlxzAJoC6aXzMYh2m/xSrhMiwb69y6RRjwCggHSh VFUGPqHIQDo+RQjQKbudVXI= =H+rw -----END PGP SIGNATURE----- --Boundary-00=_u+Cd/yMVXb6ZSAM Content-Type: text/plain; charset="us-ascii"; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg" Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE-p8 #1: Fri Sep 26 10:34:14 CEST 2003 toor@LapBSD:/usr/obj/usr/src/sys/LapBSD Preloaded elf kernel "/boot/kernel/kernel" at 0xc0465000. Preloaded elf module "/boot/kernel/vesa.ko" at 0xc046526c. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0465318. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc04653c4. Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc0465470. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc046551c. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2390302048 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2390.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 266272768 (253 MB) avail memory = 253800448 (242 MB) Pentium Pro MTRR support enabled VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc03f7442 (1000022) VESA: ATI MOBILITY RADEON 9000 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00fdf40 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND pci1: on pcib1 drm0: port 0xa000-0xa0ff mem 0xec100000-0xec10ffff,0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe8000000 64MB info: [drm] Initialized radeon 1.8.0 20020828 on minor 0 isab0: at device 2.0 on pci0 isa0: on isab0 pci0: at device 2.3 (no driver attached) atapci0: port 0x2000-0x200f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 2.6 (no driver attached) pcm0: port 0x1c80-0x1cff,0x1400-0x14ff irq 11 at device 2.7 on pci0 pcm0: ohci0: mem 0xec001000-0xec001fff irq 11 at device 3.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ohci1: mem 0xec002000-0xec002fff irq 11 at device 3.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0xec003000-0xec003fff irq 11 at device 3.2 on pci0 usb2: OHCI version 1.0, legacy support usb2: on ohci2 usb2: USB revision 1.0 uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 3.3 (no driver attached) cbb0: irq 11 at device 9.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: irq 11 at device 9.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 acpi_ec0: port 0x66,0x62 on acpi0 orm0: