Re: xe(4) MPSAFE patch

From: Ian FREISLICH <ianf_at_clue.co.za>
Date: Sun, 01 Jun 2008 00:26:38 +0200
John Baldwin wrote:
> I have a patch to make xe(4) MPSAFE.  I do not have hardware to test this, 
> however.  Please test this, or the driver will be removed.
> 
> http://www.FreeBSD.org/~jhb/patches/xe.patch

Compile tests and runs ok:

xe0: <Xircom RealPort Ethernet 10/100 + Modem 56> at port 0x2e8-0x2ef irq 11 function 0 config 39 on pccard0
xe0: version 0x55/0x05, 100Mbps capable, with modem
xe0: Ethernet address: 00:10:a4:b6:0a:32
xe0: [ITHREAD]

I don't have heavy network load, but I do have 

net.inet.ip.forwarding=1
net.inet.ip.fastforwarding=1

set and it's terminating vpn connections and firewalling.

Stats since boot (9 minutes):

[router.freislich] ~ # netstat -ni
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll
lo0   16384 <Link#1>                               0     0        0     0     0
lo0   16384 127.0.0.0/8   127.0.0.1                0     -        0     -     -
xe0    1500 <Link#2>      00:10:a4:b6:0a:32     3919     0     3380    21     0
xe0    1500 41.204.212.16 41.204.212.165        2662     -     1605     -     -
tun0   1500 <Link#3>                            1577     0     1041     0     0
tun0   1500 10.0.4.0/24   10.0.4.1                 0     -        0     -     -

Thanks for your hard work.

Ian

--
Ian Freislich
Received on Sat May 31 2008 - 20:27:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC