Re: Making Netgraph compile with LLVM

2009-03-01 Thread Ed Schouten
correctness by looking at objdump. -- Ed Schouten WWW: http://80386.nl/ pgp6oMmrAIF7A.pgp Description: PGP signature

Re: Making Netgraph compile with LLVM

2009-03-01 Thread Ed Schouten
* Julian Elischer wrote: > Ed Schouten wrote: >> Hello all, >> >> It turns out Netgraph uses a language construct that is only allowed >> with GCC, but not with LLVM. According to the specs, LLVM's behaviour is >> correct. It is not allowed to do this: >&g

Making Netgraph compile with LLVM

2009-03-01 Thread Ed Schouten
but I think this is the only way to do this safely. Diane and I also compared the output of objdump and they seem to be equivalent, except for some reordering. Objections before I commit this to SVN? -- Ed Schouten WWW: http://80386.nl/ pgpjvUBGUgMif.pgp Description: PGP signature

Re: Post-MPSAFE TTY import task: fixing up line disciplines (Netgraph)

2008-08-21 Thread Ed Schouten
* Julian Elischer <[EMAIL PROTECTED]> wrote: > got a p4 pointer? Yes. It's just in //depot/projects/mpsafetty/..., just like where the MPSAFE TTY code used to live. -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://80386.nl/ pgp0H7hcpoTEP.pgp Description: PGP signature

Post-MPSAFE TTY import task: fixing up line disciplines (Netgraph)

2008-08-21 Thread Ed Schouten
I've already got a prototype of the ttyhook interface stored at: http://people.FreeBSD.org/~ed/mpsafetty/ The diffs as of August 21 should just apply on top of SVN. It includes a patched snp(4). Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://80386.nl/ pgpEAQwDeR3mb.pgp Description: PGP signature

Re: HEAD UP: non-MPSAFE network drivers to be disabled (was: 8.0 network stack MPsafety goals (fwd))

2008-05-27 Thread Ed Schouten
the device drivers. I still haven't had time to add the CAN_BYPASS_L_RINT functionality back. I was thinking about adding the actual copying to the buffers inside the TTY layer, which means we can finally remove all that redundant code from the drivers. But this is still on my TODO list. ;-) -

Re: FAST_IPSEC is now IPSEC, please be advised...

2007-07-13 Thread Ed Schouten
w to guess which one we should use. You could use the __FreeBSD_version definition to detect what version of FreeBSD people are using. I guess it has been bumped after the IPSEC import. -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/ pgpmtpGBTzgye.pgp Description: PGP signature

Re: icsphy(4) for nfe(4) - better Microsoft Xbox support

2007-02-07 Thread Ed Schouten
just compiled and installed a kernel with the new nfe(4) driver and DEVICE_POLLING enabled. Below are the results of some scp(1) transfers: stock nfe(4): 2.5 MB/sec new nfe(4): 3.7 MB/sec polling:4.1 MB/sec The driver is a lot better than the stock nfe(4). Are there any plans to add th

icsphy(4) for nfe(4) - better Microsoft Xbox support

2007-02-06 Thread Ed Schouten
voila: it works. I can now boot my Xbox without plugging around all the time. The CRC/alignment errors have also vanished. http://g-rave.nl/junk/freebsd-icsphy.diff Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/ pgpoBA5kMO1Nz.pgp Description: PGP signature

Re: re(4) needs promisc to work properly

2006-12-02 Thread Ed Schouten
init_rxcfg() function. I took a look at vge(4) and xl(4) and added `re_if_flags` to the softc to backup the original ifp->if_flags. Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/ --- sys/dev/re/if_re.c Sat Dec 2 00:05:44 2006 +++ sys/dev/re/if_re.c Sat Dec 2

Re: re(4) needs promisc to work properly

2006-12-01 Thread Ed Schouten
ng the box. When I run tcpdump, the box doesn't freeze and enters promiscuous mode (suddenly the ping6 starts to work then). What do you think about this patch? Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/ --- sys/dev/re/if_re.c Fri Dec 1 17:01:48 2006 +++ sys

Re: re(4) needs promisc to work properly

2006-11-30 Thread Ed Schouten
a lot. I still have some other minor issues with my network interface by the way: - Switching from and to promiscuous mode takes 7 seconds. All packets are dropped in the mean time. - Fetching 100 Mbit through FTP uses a lot of interrupts (almost thousands). Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/ pgpFgqzKq48CX.pgp Description: PGP signature

re(4) needs promisc to work properly

2006-11-28 Thread Ed Schouten
owing command: $ ifconfig re0 promisc Is this a known issue about these NICs? Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/ pgpaQTqUAU50B.pgp Description: PGP signature

Re: nd6_lookup prints bogus messages with point to point devices

2006-05-22 Thread Ed Schouten
* JINMEI Tatuya <[EMAIL PROTECTED]> wrote: > Could you try the patch attached below? It's for 6.1-RELEASE, but I > guess it's pretty easy to apply to CURRENT. I've applied it on my CURRENT box at home and it works. Hooray! :) Yours, -- Ed Schouten <[EMAIL PROT

Re: nd6_lookup prints bogus messages with point to point devices

2006-05-07 Thread Ed Schouten
t home: | gif0: flags=8051 mtu 1280 | tunnel inet 83.181.147.170 --> 193.109.122.244 | inet6 fe80::202:a5ff:fe58:4927%gif0 prefixlen 64 scopeid 0x7 | inet6 2001:7b8:310::1 --> 2001:7b8:2ff:a4::1 prefixlen 128 As far as I know, the latest FreeBSD releases show an error messag

nd6_lookup prints bogus messages with point to point devices

2006-05-06 Thread Ed Schouten
aling with point to point devices, so I write a patch[2] for nd6_lookup() to make it print the message when not dealing with IFF_POINTOPOINT devices. Should I open a PR for this patch? Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/ [1] http://www.il.fontys.nl/ [2] http: