Re: etherip alignment issues

2016-09-26 Thread Martin Brandenburg
On Mon, 26 Sep 2016, YASUOKA Masahiko wrote: > Hi, > > I could repeat the problem on my octeon. Tested the diff on it. > > ok? > > Use a new mbufs for a tunnel header to make sure it is aligned correctly. I have tested this latest diff and can confirm it also works on sparc64. Martin

Re: etherip alignment issues

2016-09-25 Thread YASUOKA Masahiko
Hi, I could repeat the problem on my octeon. Tested the diff on it. ok? Use a new mbufs for a tunnel header to make sure it is aligned correctly. Index: sys/net/if_etherip.c === RCS file: /cvs/src/sys/net/if_etherip.c,v retrieving

Re: etherip alignment issues

2016-09-24 Thread YASUOKA Masahiko
On Sat, 24 Sep 2016 16:45:09 -0400 (EDT) Martin Brandenburg wrote: > On Sun, 25 Sep 2016, YASUOKA Masahiko wrote: > >> On Sat, 24 Sep 2016 13:08:18 -0400 (EDT) >> Martin Brandenburg wrote: >> > On Sat, 24 Sep 2016, YASUOKA Masahiko wrote: >> >> The problem doesn't repeat on my Octeon. >> >> >> >

Re: etherip alignment issues

2016-09-24 Thread Martin Brandenburg
On Sun, 25 Sep 2016, YASUOKA Masahiko wrote: > On Sat, 24 Sep 2016 13:08:18 -0400 (EDT) > Martin Brandenburg wrote: > > On Sat, 24 Sep 2016, YASUOKA Masahiko wrote: > >> The problem doesn't repeat on my Octeon. > >> > >> Can you try the diff below? > >> > >> - I assume the diff fixes the proble

Re: etherip alignment issues

2016-09-24 Thread YASUOKA Masahiko
On Sat, 24 Sep 2016 13:08:18 -0400 (EDT) Martin Brandenburg wrote: > On Sat, 24 Sep 2016, YASUOKA Masahiko wrote: >> The problem doesn't repeat on my Octeon. >> >> Can you try the diff below? >> >> - I assume the diff fixes the problem >> - A kernel message is added. please let me know if it

Re: etherip alignment issues

2016-09-24 Thread Martin Brandenburg
On Sat, 24 Sep 2016, YASUOKA Masahiko wrote: > Hi, > > The problem doesn't repeat on my Octeon. > > Can you try the diff below? > > - I assume the diff fixes the problem > - A kernel message is added. please let me know if it appears. > > Thanks, > I got the message, but had another panic.

Re: etherip alignment issues

2016-09-24 Thread YASUOKA Masahiko
Hi, The problem doesn't repeat on my Octeon. Can you try the diff below? - I assume the diff fixes the problem - A kernel message is added. please let me know if it appears. Thanks, diff --git a/sys/net/if_etherip.c b/sys/net/if_etherip.c index ad58c52..c0af82e 100644 --- a/sys/net/if_eth

etherip alignment issues

2016-09-23 Thread Martin Brandenburg
Here's another alignment issue. I have configured two machines as follows. ifconfig vether0 inet ... ifconfig etherip0 tunnel ... ... ifconfig bridge0 add vether0 add etherip0 An amd64 machine works fine in this configuration, however armv7 and sparc64 both have trouble. This happens very quickl