From owner-freebsd-stable@FreeBSD.ORG Mon Apr 12 14:46:00 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41BAD16A4CF; Mon, 12 Apr 2004 14:46:00 -0700 (PDT) Received: from out009.verizon.net (out009pub.verizon.net [206.46.170.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7B7743D45; Mon, 12 Apr 2004 14:45:59 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([68.160.247.127]) by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040412214433.LDVR29216.out009.verizon.net@mac.com>; Mon, 12 Apr 2004 16:44:33 -0500 Message-ID: <407B0D9C.5030107@mac.com> Date: Mon, 12 Apr 2004 17:43:56 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov , stable@FreeBSD.ORG References: <20040410222112.GA23046@ip.net.ua> <20040411023124.A83988@xorpc.icir.org> <20040411140445.GA38033@ip.net.ua> <20040412090307.GA378@ip.net.ua> In-Reply-To: <20040412090307.GA378@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [68.160.247.127] at Mon, 12 Apr 2004 16:44:33 -0500 Subject: Re: Per-interface polling(4) controls X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 21:46:00 -0000 Ruslan Ermilov wrote: > I've backported my patches that implement per-interface polling(4) > controls. The RELENG_4 patchset for testing is available here: > > http://people.FreeBSD.org/~ru/patches/polling.patch > > The patchset also includes an updated vr(4) driver with polling(4) > support. Yay! I was able to build and boot a system using this patch, giving the following "ifconfig -m" output: fxp0: flags=18843 mtu 1500 options=40 capability list: =40 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::2a0:c9ff:fede:ca0e%fxp0 prefixlen 64 scopeid 0x1 ether 00:a0:c9:de:ca:0e media: Ethernet autoselect (100baseTX ) status: active supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP media 100baseTX mediaopt hw-loopback sis0: flags=8843 mtu 1500 options=40 capability list: =40 inet 10.1.3.2 netmask 0xffffff00 broadcast 10.1.3.255 inet6 fe80::2a0:ccff:fe75:9729%sis0 prefixlen 64 scopeid 0x2 ether 00:a0:cc:75:97:29 media: Ethernet autoselect (none) status: no carrier supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP media none faith0: flags=8002 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 Note that the second interface (sis0) isn't connected at the moment-- I'd havta swap some cables around (2nd NIC I mainly use for testing). But I was able to beat on the fxp0 interface for a while and things look good: 28-sec# ping -f -s 1000 prime PING prime.local (192.168.1.3): 1000 data bytes .^. --- prime.local ping statistics --- 58200 packets transmitted, 58199 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.434/0.462/6.063/0.143 ms -- -Chuck