Re: diff for wireguard examples on faq17.html

2021-05-02 Thread Jim Hoffman
I'll work a diff for wg(4). Thanks, Jim On Sun, May 02, 2021 at 09:57:33AM -0600, Theo de Raadt wrote: > If the manual page is weak, it should be improved. > > The FAQ cannot make up for it. The FAQ requires online interaction > and far fewer people read it. > >

Re: diff for wireguard examples on faq17.html

2021-05-02 Thread Jim Hoffman
Sorry accidently replied directly to Theo instead of the list. Yes to both of your questions. Sorry if this is noise or spam. Section of manpage: EXAMPLES Create two wg interfaces in separate rdomain(4)s, which is of no practical use but demonstrates two interfaces on the same machine:

diff for wireguard examples on faq17.html

2021-05-02 Thread Jim Hoffman
Hi, There has been a lot of interest in WireGuard on the OpenBSD subreddit. So here is a patch that provides a few basic examples for usage. Thanks, Jim Index: www/faq/faq17.html === RCS file: /cvs/www/faq/faq17.html,v retrieving

fix for re(4) with 7k jumbos

2015-04-08 Thread Jim Smith
hello, below is a diff to fix a regression on re chips which have 7k jumbo support (RL_JUMBO_MTU_7K) as reported by daniel jakots and emilio perea. the regression was caused because RL_JUMBO_FRAMELEN was changed to 9k and i missed fixing up the RL_JUMBO_MTU_7K macro. Index: rtl81x9reg.h =

Re: re(4) reads the pci-e max packet size wrongly

2015-02-18 Thread Jim Smith
On Wed, Feb 18, 2015 at 11:23:15AM +1000, David Gwynne wrote: > it looks like it reads the DCSR register and then keeps everything > except the MPS field. > > this might cause it to erronously consider the mps to be much bigger > than 2048, which in turn could prevent it from setting it correctly.

Re: enable jumbos on newer re(4) devices

2015-02-17 Thread Jim Smith
On Fri, Jan 23, 2015 at 11:26:53AM +1000, David Gwynne wrote: > a compromise could be to advertise checksum offload to the stack, > pass it on to the hardware for small frames but have the driver do > it in software for the big ones? greetings, below are two diffs. the first allows re(4) chips to

Re: enable jumbos on newer re(4) devices

2015-01-28 Thread Jim Smith
On Thu, Jan 22, 2015 at 08:52:25PM +, Stuart Henderson wrote: > some minor things I spotted: > > slight KNF issues, some of the new lines are > 80 columns. > > + case RL_HWREV_8168E: > + CSR_WRITE_1(sc, RL_CFG4, CSR_READ_1(sc, RL_CFG4) | 0x01); > + break; > + d

state the 80 column knf rule in style(9)

2015-01-22 Thread Jim Smith
doesn't look like the 80 column rule is mentioned in style(9). this diff puts the sentence around the same place as osx's style(9) as it was the only example i could find and it seems like a reasonable place. Index: style.9 === RCS fi

enable jumbos on newer re(4) devices

2015-01-21 Thread Jim Smith
m the freebsd re(4) driver. feedback welcome, hope this helps someone. cheers, jim Index: re.c === RCS file: /cvs/src/sys/dev/ic/re.c,v retrieving revision 1.173 diff -u -r1.173 re.c --- re.c21 Jan 2015 10:00:42 -

Re: massage volume control task

2015-01-16 Thread Jim Smith
On 2 Jan 2015, at 4:15 pm, David Gwynne wrote: > can someone test this? > > it allocates storage for the volume change details rather than cast > arguments to a single global task. > > adds some safety while there if audio0 is a hotplug device. > > ok? The keyboard audio controls on my X120e

Re: mfi(4) vs WT and WB

2014-06-12 Thread Jim Giannoules
On Tue, Jun 10, 2014 at 10:05:56PM +0200, Mark Kettenis wrote: > > Date: Tue, 10 Jun 2014 21:55:04 +0200 > > From: Otto Moerbeek > > > > On Tue, Jun 10, 2014 at 09:52:23PM +0200, Mark Kettenis wrote: > > > > > > Date: Tue, 10 Jun 2014 21:34:56 +0200 > > > > From: Otto Moerbeek > > > > > > > >

Re: mfi(4) vs WT and WB

2014-06-06 Thread Jim
On Fri, Jun 06, 2014 at 11:45:49AM +0200, Otto Moerbeek wrote: > Hi, > > I have an PERC 6/i Integrated adapter here: > > mfi0 at pci2 dev 0 function 0 "Symbios Logic SAS1078" rev 0x04: apic 1 int 0 > mfi0: "PERC 6/i Integrated", firmware 6.2.0-0013, 256MB cache > > Which has an OK battery but st

Re: RFC: changes to ports infrastructure

2010-08-19 Thread Jim Razmus
th symlinks, so I don't > care too much. > > Did I miss anything ? > FWIW, I'm ok with this change. I reviewed the contents of each directory and have no concerns. Best regards, jim@

Re: phrase 'log rotation' in newsyslog.8

2009-11-23 Thread Jim Razmus
ust my 2c. > > these are pretty much my thoughts. so unless anyone comes up with a > compelling reason not to, i'll change it to "rotate log files". > > jmc > FWIW, I agree too. jim