Re: RX checksum offloading problem

2014-05-13 Thread Michael Tuexen
On 13 May 2014, at 07:21, Yonghyeon PYUN wrote: > On Mon, May 12, 2014 at 01:22:03PM +0200, Michael Tuexen wrote: >> On 12 May 2014, at 03:36, Yonghyeon PYUN wrote: >> >>> On Fri, May 09, 2014 at 12:46:48PM +0200, Michael Tuexen wrote: On 09 May 2014, at 03:35, Yonghyeon PYUN wrote:

Re: RX checksum offloading problem

2014-05-12 Thread Yonghyeon PYUN
On Mon, May 12, 2014 at 01:22:03PM +0200, Michael Tuexen wrote: > On 12 May 2014, at 03:36, Yonghyeon PYUN wrote: > > > On Fri, May 09, 2014 at 12:46:48PM +0200, Michael Tuexen wrote: > >> On 09 May 2014, at 03:35, Yonghyeon PYUN wrote: > >> [...] > > Oops, sorry. You're right. Probably I wa

Re: RX checksum offloading problem

2014-05-12 Thread Michael Tuexen
On 12 May 2014, at 03:45, Yonghyeon PYUN wrote: > On Fri, May 09, 2014 at 04:22:36PM +0200, Michael Tuexen wrote: >> >> On 09 May 2014, at 12:46, Michael Tuexen >> wrote: >> >>> On 09 May 2014, at 03:35, Yonghyeon PYUN wrote: >>> On Thu, May 08, 2014 at 08:40:22PM +0200, Michael Tuexen

Re: RX checksum offloading problem

2014-05-09 Thread Michael Tuexen
On 09 May 2014, at 12:46, Michael Tuexen wrote: > On 09 May 2014, at 03:35, Yonghyeon PYUN wrote: > >> On Thu, May 08, 2014 at 08:40:22PM +0200, Michael Tuexen wrote: >>> On 07 May 2014, at 10:37, Yonghyeon PYUN wrote: >>> On Wed, May 07, 2014 at 10:07:09AM +0200, Michael Tuexen wrote:

Re: RX checksum offloading problem

2014-05-09 Thread Michael Tuexen
On 09 May 2014, at 03:35, Yonghyeon PYUN wrote: > On Thu, May 08, 2014 at 08:40:22PM +0200, Michael Tuexen wrote: >> On 07 May 2014, at 10:37, Yonghyeon PYUN wrote: >> >>> On Wed, May 07, 2014 at 10:07:09AM +0200, Michael Tuexen wrote: On 07 May 2014, at 09:56, Yonghyeon PYUN wrote:

Re: RX checksum offloading problem

2014-05-08 Thread Yonghyeon PYUN
On Thu, May 08, 2014 at 08:40:22PM +0200, Michael Tuexen wrote: > On 07 May 2014, at 10:37, Yonghyeon PYUN wrote: > > > On Wed, May 07, 2014 at 10:07:09AM +0200, Michael Tuexen wrote: > >> On 07 May 2014, at 09:56, Yonghyeon PYUN wrote: > >> > >>> On Sat, May 03, 2014 at 11:52:47AM +0200, Micha

Re: RX checksum offloading problem

2014-05-08 Thread Michael Tuexen
On 07 May 2014, at 10:37, Yonghyeon PYUN wrote: > On Wed, May 07, 2014 at 10:07:09AM +0200, Michael Tuexen wrote: >> On 07 May 2014, at 09:56, Yonghyeon PYUN wrote: >> >>> On Sat, May 03, 2014 at 11:52:47AM +0200, Michael Tuexen wrote: On 02 May 2014, at 16:02, Bjoern A. Zeeb wrote:

Re: RX checksum offloading problem

2014-05-07 Thread Yonghyeon PYUN
On Wed, May 07, 2014 at 10:07:09AM +0200, Michael Tuexen wrote: > On 07 May 2014, at 09:56, Yonghyeon PYUN wrote: > > > On Sat, May 03, 2014 at 11:52:47AM +0200, Michael Tuexen wrote: > >> On 02 May 2014, at 16:02, Bjoern A. Zeeb wrote: > >> > >>> > >>> On 02 May 2014, at 10:22 , Michael Tuexe

Re: RX checksum offloading problem

2014-05-07 Thread Michael Tuexen
On 07 May 2014, at 09:56, Yonghyeon PYUN wrote: > On Sat, May 03, 2014 at 11:52:47AM +0200, Michael Tuexen wrote: >> On 02 May 2014, at 16:02, Bjoern A. Zeeb wrote: >> >>> >>> On 02 May 2014, at 10:22 , Michael Tuexen >>> wrote: >>> Dear all, during testing I found that Free

Re: RX checksum offloading problem

2014-05-07 Thread Yonghyeon PYUN
On Sat, May 03, 2014 at 11:52:47AM +0200, Michael Tuexen wrote: > On 02 May 2014, at 16:02, Bjoern A. Zeeb wrote: > > > > > On 02 May 2014, at 10:22 , Michael Tuexen > > wrote: > > > >> Dear all, > >> > >> during testing I found that FreeBSD head (on a raspberry pi) accepts SCTP > >> packet

Re: RX checksum offloading problem

2014-05-03 Thread Michael Tuexen
On 02 May 2014, at 16:02, Bjoern A. Zeeb wrote: > > On 02 May 2014, at 10:22 , Michael Tuexen > wrote: > >> Dear all, >> >> during testing I found that FreeBSD head (on a raspberry pi) accepts SCTP >> packet >> with bad checksums. After debugging this I figured out that this is a >> proble

Re: RX checksum offloading problem

2014-05-03 Thread Michael Tuexen
On 02 May 2014, at 16:02, Bjoern A. Zeeb wrote: > > On 02 May 2014, at 10:22 , Michael Tuexen > wrote: > >> Dear all, >> >> during testing I found that FreeBSD head (on a raspberry pi) accepts SCTP >> packet >> with bad checksums. After debugging this I figured out that this is a >> proble

Re: RX checksum offloading problem

2014-05-02 Thread Bjoern A. Zeeb
On 02 May 2014, at 10:22 , Michael Tuexen wrote: > Dear all, > > during testing I found that FreeBSD head (on a raspberry pi) accepts SCTP > packet > with bad checksums. After debugging this I figured out that this is a problem > with > the csum_flags defined in mbuf.h. > > The SCTP code on

RX checksum offloading problem

2014-05-02 Thread Michael Tuexen
Dear all, during testing I found that FreeBSD head (on a raspberry pi) accepts SCTP packet with bad checksums. After debugging this I figured out that this is a problem with the csum_flags defined in mbuf.h. The SCTP code on its input path checks for CSUM_SCTP_VALID, which is defined in mbuf.h: