Re: netstat -B "Recv"

2015-11-06 Thread Christian Peron
It needs to get fixed.. let me generate a patch for you and you can test it. > On Nov 5, 2015, at 8:51 AM, el...@sentor.se wrote: > > On Thu, 5 Nov 2015, Alexander V. Chernikov wrote: > >> >> >> 04.11.2015, 19:55, "el...@sentor.se" : >>> Hi! >>> >>> Question: >>> What do the Recv column in '

Re: netstat -B "Recv"

2015-11-04 Thread Christian Peron
Your assumptions are correct, recv count is the number of packets which are received by the bpf peer, match count is the number of packets which matched the bpf filter that is active.. this shouldn’t be happening. Are you running netstat during the tcpreplay run or after it completed? Also can y

Re: bpf hold buffer in-use flag

2013-01-11 Thread Christian Peron
I meant "nops" for the regular buffer mode… On 2013-01-11, at 5:48 PM, Christian Peron wrote: > Guy, > > Can you please describe the race and how to reproduce it? When we introduced > zerocopy-bpf, we also introduced bpf_bufheld() and bpf_bufreclaimed() which > are

Re: bpf hold buffer in-use flag

2013-01-11 Thread Christian Peron
Guy, Can you please describe the race and how to reproduce it? When we introduced zerocopy-bpf, we also introduced bpf_bufheld() and bpf_bufreclaimed() which are effectively hops for the regular buffer mode. Maybe we could maintain state there as well? In any case, I would like to understand th

[heads-up] zero-copy bpf enabled by default

2009-03-02 Thread Christian Peron
This is a heads up that we have flipped the switch to enable zerocopy bpf by default in head. If there are any issues let myself or rwatson@ know. Cheers! ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To

Re: [heads-up] zero-copy bpf enabled by default

2009-03-02 Thread Christian Peron
I probably should have mentioned: To disable zero-copy: sysctl net.bpf.zerocopy_enable=0 Also, it is only enabled for processes which use libpcap. On Mon, Mar 02, 2009 at 01:46:06PM -0600, Christian Peron wrote: > This is a heads up that we have flipped the switch to enable > zerocopy

[patch] link state notifications for tun(4)

2008-12-09 Thread Christian Peron
I would like to propose a change for tun(4) but before I do, I would like to read any feedback this list might have. Basically we have a situation where we need to manually configure tunnel interfaces when a process opens them. We would like to hook into devd(8) for this. i.e. when we see tunX "l