Re: null pointer panic in bpf_peers_present

2012-06-03 Thread Alexander V. Chernikov
On 04.06.2012 02:22, Andriy Gapon wrote: on 03/06/2012 23:56 Andriy Gapon said the following: I wonder if anybody else is seeing this and if there is a fix... This is very recent (today's) FreeBSD head with pretty dull network configuration. During boot I run into the following panic: <118>Se

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Lawrence Stewart
On 06/04/12 13:33, Colin Percival wrote: On 06/03/12 20:14, Lawrence Stewart wrote: On 06/04/12 02:51, Colin Percival wrote: I've attached a new patch which: 1. adds a IFCAP_TSO_MSS "capability" and a if_tx_tso_mss field to struct ifnet, A minor thing, but I don't like the overloading of the

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Colin Percival
On 06/03/12 20:14, Lawrence Stewart wrote: > On 06/04/12 02:51, Colin Percival wrote: >> I've attached a new patch which: >> 1. adds a IFCAP_TSO_MSS "capability" and a if_tx_tso_mss field to struct >> ifnet, > > A minor thing, but I don't like the overloading of the term MSS. Perhaps > s/MSS/CHUN

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Lawrence Stewart
On 06/04/12 02:51, Colin Percival wrote: On 05/30/12 08:30, Andrew Gallatin wrote: On 05/30/12 10:59, Colin Percival wrote: The Xen virtual network interface has an issue (ok, really the issue is with the linux back-end, but that's what most people are using) where it can't handle scatter-gathe

Re: Major performance hit with ToS setting

2012-06-03 Thread Lawrence Stewart
On 06/03/12 15:18, Kevin Oberman wrote: On Fri, Jun 1, 2012 at 2:48 AM, Lawrence Stewart wrote: On 05/31/12 13:33, Kevin Oberman wrote: [snip] I used SIFTR at the suggestion of Lawrence Stewart who headed the project to bring plugable congestion algorithms to FreeBSD and found really odd con

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Colin Percival
On 06/03/12 15:56, Bjoern A. Zeeb wrote: > On 3. Jun 2012, at 16:51 , Colin Percival wrote: >> I've attached a new patch which: >> 1. adds a IFCAP_TSO_MSS "capability" and a if_tx_tso_mss field to struct >> ifnet, >> 2. sets these in netfront when the IFCAP_TSO4 flag is set, >> 3. extends tcp_maxm

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Bjoern A. Zeeb
On 3. Jun 2012, at 16:51 , Colin Percival wrote: > On 05/30/12 08:30, Andrew Gallatin wrote: >> On 05/30/12 10:59, Colin Percival wrote: >>> The Xen virtual network interface has an issue (ok, really the issue is with >>> the linux back-end, but that's what most people are using) where it can't >

Re: null pointer panic in bpf_peers_present

2012-06-03 Thread Andriy Gapon
on 03/06/2012 23:56 Andriy Gapon said the following: > > I wonder if anybody else is seeing this and if there is a fix... > This is very recent (today's) FreeBSD head with pretty dull network > configuration. During boot I run into the following panic: > > <118>Setting hostname: x > <118>Sta

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Colin Percival
On 06/03/12 12:05, Andrew Gallatin wrote: > On 06/03/12 12:51, Colin Percival wrote: >> I've attached a new patch which: >> 1. adds a IFCAP_TSO_MSS "capability" and a if_tx_tso_mss field to struct >> ifnet, >> 2. sets these in netfront when the IFCAP_TSO4 flag is set, >> 3. extends tcp_maxmtu to r

null pointer panic in bpf_peers_present

2012-06-03 Thread Andriy Gapon
I wonder if anybody else is seeing this and if there is a fix... This is very recent (today's) FreeBSD head with pretty dull network configuration. During boot I run into the following panic: <118>Setting hostname: x <118>Starting dhclient. Fatal trap 12: page fault while in kernel mode cp

BSD and Darwin routing API questions

2012-06-03 Thread Philip Prindeville
Hi. I'm working on a portable (multiplatform) C library for manipulating routing tables. It will eventually be wrapperized for the C++ Poco toolkit, but the raw C API should be usable directly too. I'm trying to support BSD/MacOSX, Linux, and Win32. My experience with BSD routing tables was cu

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Andrew Gallatin
On 06/03/12 12:51, Colin Percival wrote: On 05/30/12 08:30, Andrew Gallatin wrote: On 05/30/12 10:59, Colin Percival wrote: The Xen virtual network interface has an issue (ok, really the issue is with the linux back-end, but that's what most people are using) where it can't handle scatter-gathe

Re: ixgbe(4) intr and pps problems in at least HEAD

2012-06-03 Thread Adrian Chadd
On 3 June 2012 10:05, Bjoern A. Zeeb wrote: > Hey Jack or anyone on net@, > > having updated my sources of HEAD from Dec/Mar to something of last week > I get a lot of: > > interrupt storm detected on "irq262:"; throttling interrupt source That to me almost sounds like no interrupt mitigation or

Re: Realtek 8111F

2012-06-03 Thread camzal
Thank you for your tutorial. I compiled the three files (64bit) http://shareplace.com/?02715E1729 http://shareplace.com/?02715E1729 and my RTL8111F was detected :) -- View this message in context: http://freebsd.1045724.n5.nabble.com/Realtek-8111F-tp5661828p5714572.html Sent from the freebsd-

ixgbe(4) intr and pps problems in at least HEAD

2012-06-03 Thread Bjoern A. Zeeb
Hey Jack or anyone on net@, having updated my sources of HEAD from Dec/Mar to something of last week I get a lot of: interrupt storm detected on "irq262:"; throttling interrupt source Given Intel's driver REDAME I found online says to update the sysctl to this: hw.intr_storm_threshold=9000 I did

Re: [please review] TSO mbuf chain length limiting patch

2012-06-03 Thread Colin Percival
On 05/30/12 08:30, Andrew Gallatin wrote: > On 05/30/12 10:59, Colin Percival wrote: >> The Xen virtual network interface has an issue (ok, really the issue is with >> the linux back-end, but that's what most people are using) where it can't >> handle scatter-gather writes with lots of pieces, aka.

Re: Major performance hit with ToS setting

2012-06-03 Thread Andrew Gallatin
On 06/03/12 01:18, Kevin Oberman wrote: What can I say but that you are right. When I looked at the interface stats I found that the link overflow drops were through the roof! This confuses me a bit since the traffic is outbound and I woudl assume Indeed, link overflow is incoming traffic that

Re: bin/102701 - ifconfig xx0 inet6 delete always fails

2012-06-03 Thread Bjoern A. Zeeb
On 3. Jun 2012, at 04:53 , Darren Reed wrote: > On 3/06/2012 5:11 AM, Bjoern A. Zeeb wrote: >> >> On 2. Jun 2012, at 15:53 , Darren Reed wrote: >> ... >> Parameters go last as clearly stated in the beginning of the man page and >> that works well: >> >> root@lion3:/home/test # ifconfig lo0 inet6