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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,POLLING> mtu 1500
options=40<POLLING>
capability list:
=40<POLLING>
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 <full-duplex>)
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=40<POLLING>
capability list:
=40<POLLING>
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<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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